unified_texts stringlengths 32 30.1k | OpenStatus_id int64 0 4 | input_ids list | token_type_ids list | attention_mask list |
|---|---|---|---|---|
How to setup Connectivity between the web component and java app
===
I am confused about the approach for application that am writing. I have developed the application jar and will be distributing via java webstart.
Now i need to putup a website supporting my app.
doubts i have
1)Can i pass this username and ... | 0 | [
2,
184,
20,
18161,
24026,
128,
14,
2741,
5912,
17,
8247,
4865,
800,
3726,
3726,
31,
589,
4230,
88,
14,
2141,
26,
3010,
30,
589,
1174,
9,
31,
57,
885,
14,
3010,
5112,
17,
129,
44,
23125,
1197,
8247,
2741,
13680,
9,
130,
31,
376,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
ASP.NET MVC - Multiple models in a form and model binders
===
I have a form which needs to populate 2 models. Normally I use a ModelBinderAttribute on the forms post action i.e.
[Authorize]
[AcceptVerbs("POST")]
public ActionResult Add([GigBinderAttribute]Gig gig, FormCollection formCollec... | 0 | [
2,
28,
306,
9,
2328,
307,
8990,
13,
8,
1886,
2761,
19,
21,
505,
17,
1061,
13,
24200,
18,
800,
3726,
3726,
31,
57,
21,
505,
56,
2274,
20,
1675,
12383,
172,
2761,
9,
4147,
31,
275,
21,
1061,
24200,
721,
14755,
27,
14,
1997,
678,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 read a text file two lines at a time in Java?
===
BufferedReader in;
String line;
while ((line = in.readLine() != null) {
processor.doStuffWith(line);
}
This is how I would process a file line-by-line. In this case, however, I want to send **two** lines of t... | 0 | [
2,
98,
25,
14,
246,
161,
20,
1302,
21,
1854,
3893,
81,
1560,
35,
21,
85,
19,
8247,
60,
800,
3726,
3726,
17497,
69,
10647,
106,
19,
73,
3724,
293,
73,
133,
13,
5,
5,
1143,
800,
19,
9,
10647,
1143,
5,
6,
13,
187,
3726,
16203,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Best visual client for Git on Mac OS X?
===
I'm looking for a nice, Mac OS X-like, client for Git. As an example, I use Versions for Subversion and it's exactly what I'd like to purchase for Git access. Suggestions?
[Versions link][1]
[1]: http://versionsapp.com/ | 4 | [
2,
246,
3458,
6819,
26,
13,
10404,
27,
1572,
13,
759,
993,
60,
800,
3726,
3726,
31,
22,
79,
699,
26,
21,
2210,
15,
1572,
13,
759,
993,
8,
1403,
15,
6819,
26,
13,
10404,
9,
28,
40,
823,
15,
31,
275,
3281,
26,
972,
10898,
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... |
What is the best method to merge two PHP object ?
===
We have two PHP5 objects and would like to merge the content of one into the second. There are no notion of subclasses between them so the solutions described in the following topic cannot apply.
[How do you copy a PHP object into a different object type][1]
... | 0 | [
2,
98,
25,
14,
246,
2109,
20,
12666,
81,
13,
26120,
3095,
13,
60,
800,
3726,
3726,
95,
57,
81,
13,
26120,
264,
3916,
17,
83,
101,
20,
12666,
14,
2331,
16,
53,
77,
14,
153,
9,
80,
50,
90,
7834,
16,
972,
1898,
160,
128,
105,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Most efficient way to sort parallel arrays in a restricted-feature language
===
The environment: I am working in a proprietary scripting language where there is no such thing as a user-defined function. I have various loops and local variables of primitive types that I can create and use.
I have two related arr... | 0 | [
2,
127,
8243,
161,
20,
2058,
3821,
7718,
18,
19,
21,
7079,
8,
26956,
816,
800,
3726,
3726,
14,
2307,
45,
31,
589,
638,
19,
21,
18856,
3884,
68,
816,
113,
80,
25,
90,
145,
584,
28,
21,
4155,
8,
13439,
1990,
9,
31,
57,
617,
19... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
richTextBox question
===
how can i paint in red evry time i meet the letter "A" in RichTextBox ?
thank's for any help | 0 | [
2,
2042,
11969,
5309,
1301,
800,
3726,
3726,
184,
92,
31,
5107,
19,
402,
13,
2443,
622,
85,
31,
1255,
14,
1748,
13,
7,
58,
7,
19,
2042,
11969,
5309,
13,
60,
3531,
22,
18,
26,
186,
448,
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... |
Python 3 development and distribution challenges
===
Suppose I've developed a general-purpose end user utility written in Python. Previously, I had just one version available which was suitable for Python later than version 2.3 or so. It was sufficient to say, "download Python if you need to, then run this script". Th... | 0 | [
2,
20059,
203,
522,
17,
2523,
7595,
800,
3726,
3726,
5787,
31,
22,
195,
885,
21,
297,
8,
12060,
241,
4155,
10082,
642,
19,
20059,
9,
1343,
15,
31,
41,
114,
53,
615,
904,
56,
23,
6445,
26,
20059,
138,
119,
615,
172,
9,
240,
54,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How do you correctly update a databound datagridview from a background thread
===
I have a custom object that implements INotifyPropertyChanged. I have a collection of these objects where the collection is based on BindingList<T>
I have created a binding source for the collection, and set the datasources of the bind... | 0 | [
2,
184,
107,
42,
12044,
11100,
21,
1054,
7410,
1054,
16375,
4725,
37,
21,
2395,
9322,
800,
3726,
3726,
31,
57,
21,
5816,
3095,
30,
8713,
18,
19,
2779,
8612,
10890,
106,
1084,
16229,
43,
9,
31,
57,
21,
1206,
16,
158,
3916,
113,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
MouseEvent.MOUSE_DOWN over mx:TextInput
===
I'm working on a simple flex / AIR application with just a mx.TextInput control and some button. I'm not using the system chrome.
less or more the mxml is this:
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" width="495" height="316"... | 0 | [
2,
7567,
4943,
38,
9,
14002,
62,
1,
2968,
84,
307,
396,
45,
11969,
108,
4881,
800,
3726,
3726,
31,
22,
79,
638,
27,
21,
1935,
14409,
13,
118,
282,
3010,
29,
114,
21,
307,
396,
9,
11969,
108,
4881,
569,
17,
109,
5167,
9,
31,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
SQL Server 2005 Backup strategy
===
I manage a web application for a client with the following specs:
- ASP.net 3.5 running on a Virtual Windows 2003 Web Server
- SQL Server Standard hosting the database
- Database current size of 6Gb, with 1Gb/month growth rate
- One single table is responsible for 98% of t... | 0 | [
2,
4444,
255,
8128,
812,
10119,
4427,
800,
3726,
3726,
31,
4705,
21,
2741,
3010,
26,
21,
6819,
29,
14,
249,
12737,
18,
45,
13,
8,
28,
306,
9,
2328,
203,
9,
264,
946,
27,
21,
6599,
1936,
973,
2741,
8128,
13,
8,
4444,
255,
8128,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Are there O(1) random access data structures that don't rely on contiguous storage?
===
The classic O(1) random access data structure is the array. But an array relies on the programming language being used supporting guaranteed continuous memory allocation (since the array relies on being able to take a simple offset... | 0 | [
2,
50,
80,
635,
5,
165,
6,
5477,
1381,
1054,
3815,
30,
221,
22,
38,
12139,
27,
1065,
8407,
9627,
4326,
60,
800,
3726,
3726,
14,
2732,
635,
5,
165,
6,
5477,
1381,
1054,
1411,
25,
14,
7718,
9,
47,
40,
7718,
19272,
27,
14,
3143,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Fast read/write from file in delphi
===
I am loading a file into a array in binary form this seems to take a while
is there a better faster more efficent way to do this.
i am using a similar method for writing back to the file.
<code>
procedure openfile(fname:string);
var
myfile: file;
filesizevalue,i... | 0 | [
2,
1512,
1302,
118,
23716,
37,
3893,
19,
23030,
800,
3726,
3726,
31,
589,
12797,
21,
3893,
77,
21,
7718,
19,
14171,
505,
48,
2206,
20,
247,
21,
133,
25,
80,
21,
574,
4233,
91,
13,
9039,
49,
5089,
161,
20,
107,
48,
9,
31,
589,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Programmatically copy a cell from Excel using VC++
===
**Without**:
- MFC
- ATL
using **COM**, with **pure C++**, steps taken thus far:
//steps above omitted
_ApplicationPtr application(__uuidof(Excel::Application));
//omitted
const BSTR wcharFileName = SysAllocString(L"...");
... | 0 | [
2,
625,
6732,
1326,
4344,
21,
1667,
37,
20700,
568,
13,
8990,
20512,
800,
3726,
3726,
13,
1409,
14506,
1409,
45,
13,
8,
307,
7061,
13,
8,
35,
255,
568,
13,
1409,
960,
1409,
15,
29,
13,
1409,
21059,
272,
20512,
1409,
15,
2382,
65... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How can I eliminate dead keys on Mac OS X with international keyboard?
===
The keys ^¨~ ´` etc are dead keys on my swedish keyboard on Mac OS X (or half-dead since they start b typing the letter and then wait for the next character until the decision is made).
How can I turn this off to make them fully live? | 0 | [
2,
184,
92,
31,
10628,
828,
5534,
27,
1572,
13,
759,
993,
29,
294,
8896,
60,
800,
3726,
3726,
14,
5534,
13,
1,
13,
1,
13,
1,
2722,
50,
828,
5534,
27,
51,
3061,
8896,
27,
1572,
13,
759,
993,
13,
5,
248,
519,
8,
14260,
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... |
Does PHP feature short hand syntax for objects?
===
In javascript you can easily create objects and Arrays like so:
var aObject = { foo:'bla', bar:2 };
var anArray = ['foo', 'bar', 2];
Are simialar things possible in PHP?
I know that you can easily create an array using the array function, that hardl... | 0 | [
2,
630,
13,
26120,
1580,
502,
224,
22649,
26,
3916,
60,
800,
3726,
3726,
19,
8247,
8741,
42,
92,
2351,
1600,
3916,
17,
7718,
18,
101,
86,
45,
4033,
21,
23793,
800,
13,
1,
4310,
111,
45,
22,
10754,
22,
15,
748,
45,
135,
13,
1,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Having issues with moq
===
I am trying out moq and I'm running into a problem with the following test body:
var child = new Mock<ZooNode>();
var parent = new Mock<ZooNode>();
child.Object.Parent = parent.Object;
parent.Expect(p => p.Children.Contains(child.Object)).Returns(true);
which throws... | 0 | [
2,
452,
1549,
29,
1873,
1251,
800,
3726,
3726,
31,
589,
749,
70,
1873,
1251,
17,
31,
22,
79,
946,
77,
21,
1448,
29,
14,
249,
1289,
358,
45,
4033,
850,
800,
78,
10506,
1,
2500,
218,
8355,
1,
5,
6,
73,
4033,
4766,
800,
78,
105... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Lightweight echo server
===
I'm writing a JavaScript application which should let the user to load & save files in his/her PC. To do so, I need a basic server used only to echo loaded and saved files between the client and the server, since JavaScript doesn't have direct access to files.
What's the most lightweigh... | 0 | [
2,
13613,
8117,
8128,
800,
3726,
3726,
31,
22,
79,
1174,
21,
8247,
8741,
3010,
56,
378,
408,
14,
4155,
20,
6305,
279,
2079,
6488,
19,
33,
118,
1694,
5168,
9,
20,
107,
86,
15,
31,
376,
21,
2125,
8128,
147,
104,
20,
8117,
8572,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Implementing Delegate Pattern in Objective-C
===
I am building a class that handles NSURLConnection requests. To allow other classes to use this class, I would like to allow the main class to call a delegate when connectionDidFinishLoading is fired.
I've looked through lots of documentation, but I can't find anyth... | 0 | [
2,
17333,
11300,
3732,
19,
7038,
8,
150,
800,
3726,
3726,
31,
589,
353,
21,
718,
30,
3053,
18,
13,
103,
4082,
255,
25996,
872,
12279,
9,
20,
1655,
89,
2684,
20,
275,
48,
718,
15,
31,
83,
101,
20,
1655,
14,
407,
718,
20,
645,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Can I host an ASP.NET application in a CAB WinForms application?
===
I have a .NET 2.0 WinForms application that was developed using the Composite Application Block and Smart Client Software Factory.
I'm considering the development of a module that would contain a browser control that would access the ASP.NET websi... | 0 | [
2,
92,
31,
2015,
40,
28,
306,
9,
2328,
3010,
19,
21,
4846,
628,
4190,
18,
3010,
60,
800,
3726,
3726,
31,
57,
21,
13,
9,
2328,
172,
9,
387,
628,
4190,
18,
3010,
30,
23,
885,
568,
14,
12639,
3010,
1921,
17,
3978,
6819,
2306,
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... |
Android : Getting file name from camera?
===
I have run into a small issue with something that I am probably just overlooking.
I want to take a picture from the surface preview of the camera, and save it to the sd_card. This works ALMOST perfectly. I assign it a file name, and for one reason or another, it does not... | 0 | [
2,
13005,
13,
45,
1017,
3893,
204,
37,
3336,
60,
800,
3726,
3726,
31,
57,
485,
77,
21,
284,
1513,
29,
301,
30,
31,
589,
910,
114,
14237,
9,
31,
259,
20,
247,
21,
2151,
37,
14,
1490,
16121,
16,
14,
3336,
15,
17,
2079,
32,
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... |
What is a signal in Unix?
===
This comment confuses me: "kill -l generally lists all signals". I thought that a signal means a quantized amount of energy. | 0 | [
2,
98,
25,
21,
2800,
19,
22540,
60,
800,
3726,
3726,
48,
6484,
26465,
18,
55,
45,
13,
7,
7577,
13,
8,
255,
1469,
7227,
65,
7616,
7,
9,
31,
289,
30,
21,
2800,
1108,
21,
9836,
38,
1333,
2006,
16,
1122,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Why do Rhino.Mocks and Moq say that Bar is a non-overridable member?
===
Could someone explain why both tests using the latest versions of Moq and Rhino.Mocks frameworks fail complaining that Bar is not a virtual/overridable method:
public interface IFoo
{
string Bar();
}
public cl... | 0 | [
2,
483,
107,
18642,
9,
79,
5668,
18,
17,
1873,
1251,
395,
30,
748,
25,
21,
538,
8,
2549,
5175,
579,
322,
60,
800,
3726,
3726,
110,
737,
3271,
483,
156,
4894,
568,
14,
5736,
3281,
16,
1873,
1251,
17,
18642,
9,
79,
5668,
18,
659... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Ajax: Partial refresh of a parent page (update a div) from "lightbox" window
===
Is there a way to update information in a div of a parent page from a pop-up/"lightbox" window. I would like to create a pop up window that contains a form that updates a database (currently i am using php/mysql with prototype).
In ot... | 0 | [
2,
20624,
45,
7284,
24905,
16,
21,
4766,
2478,
13,
5,
576,
8209,
21,
13,
12916,
6,
37,
13,
7,
3130,
5309,
7,
1463,
800,
3726,
3726,
25,
80,
21,
161,
20,
11100,
676,
19,
21,
13,
12916,
16,
21,
4766,
2478,
37,
21,
1675,
8,
576... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 Andrew Koenig`s book "Accelerated c++" still useful for me if I`m not a beginner?
===
I can`t decide whether I need or need not to buy Andrew Koenig book "Accelerated c++"<br>
I do not think I am a beginner, but trying to reach the level I can use boost and STL in my projects.<br> What would you advise? | 0 | [
2,
25,
2376,
1584,
219,
2816,
1,
18,
360,
13,
7,
1738,
19537,
7432,
272,
20512,
7,
174,
4811,
26,
55,
100,
31,
1,
79,
52,
21,
26931,
60,
800,
3726,
3726,
31,
92,
1,
38,
4073,
1472,
31,
376,
54,
376,
52,
20,
3034,
2376,
1584,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Where to find state.sql for sqlserver mode sessionsates?
===
I am looking for the state.sql file provided by the .NET framework to run sessionstates in sqlserver mode. Where can I find the sql file to create the required tables and stored procs. I tried in the FRAMEWORKS/VERSION2.0 folder but I am unable to find it. | 0 | [
2,
113,
20,
477,
146,
9,
18,
22402,
26,
4444,
255,
10321,
106,
3740,
5763,
7759,
60,
800,
3726,
3726,
31,
589,
699,
26,
14,
146,
9,
18,
22402,
3893,
1173,
34,
14,
13,
9,
2328,
6596,
20,
485,
3723,
3859,
18,
19,
4444,
255,
1032... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 determine using reflection the generic parameter of the base class..
===
I have the following structure
public class MyClass : MyBaseClass<System.Int32>
{
}
In a static method and without instantiating a new MyClass instance how do I get the type of the generic parameter used to build the concrete base ... | 0 | [
2,
184,
20,
3746,
568,
9138,
14,
12733,
18906,
16,
14,
1000,
718,
9,
9,
800,
3726,
3726,
31,
57,
14,
249,
1411,
317,
718,
51,
1898,
13,
45,
51,
8436,
1898,
1,
10724,
9,
6391,
3125,
1,
13,
1,
13,
1,
19,
21,
12038,
2109,
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... |
Conflict between avoiding anemic model and allowing serialization
===
In <a href="http://stackoverflow.com/questions/452517/does-this-entity-repository-service-example-fit-into-domain-driven-design#452564">this answer</a> to a <a href="http://stackoverflow.com/questions/452517">recent question</a>, I was advised to <b... | 0 | [
2,
2930,
128,
10298,
40,
62,
5410,
1061,
17,
2719,
5956,
1829,
800,
3726,
3726,
19,
13,
1,
58,
746,
14057,
3726,
7,
21127,
6903,
25325,
2549,
9990,
9,
960,
118,
24652,
18,
13722,
24371,
1053,
118,
10739,
8,
1565,
8,
2291,
856,
8,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
UDP send problem on BlackBerry
===
I am writing network application for Blackberry .This code is correct at simulator but not working at device. When i run my application on simulator, my server recieves the msg but when i run it on handheld, i get Exception (not IOException) that "null".
try
{
byte[] b = msg.... | 0 | [
2,
287,
7431,
2660,
1448,
27,
27367,
800,
3726,
3726,
31,
589,
1174,
982,
3010,
26,
27367,
13,
9,
1565,
1797,
25,
4456,
35,
24565,
47,
52,
638,
35,
3646,
9,
76,
31,
485,
51,
3010,
27,
24565,
15,
51,
8128,
302,
10486,
195,
18,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Is there an application out ther that Generates an HTML form from a PDF?
===
Is there an application out there that Generates an HTML form from a PDF file? Also, it would need to generate the HTML form so that it would be able to submit to the PDF to fill out the fields inside the PDf.
PDF is not so good at valida... | 0 | [
2,
25,
80,
40,
3010,
70,
14,
139,
30,
7920,
18,
40,
13,
15895,
505,
37,
21,
13,
11124,
60,
800,
3726,
3726,
25,
80,
40,
3010,
70,
80,
30,
7920,
18,
40,
13,
15895,
505,
37,
21,
13,
11124,
3893,
60,
67,
15,
32,
83,
376,
20,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Print information in "test mode" but not in "normal execution"
===
I am using an application in c++ that uses a special dprintf function to print information, this is an example:
dprintf(verbose, "The value is: %d", i);
What is doing is when I define verbose for test purposes then I print the information and... | 0 | [
2,
4793,
676,
19,
13,
7,
10543,
3740,
7,
47,
52,
19,
13,
7,
17462,
5769,
7,
800,
3726,
3726,
31,
589,
568,
40,
3010,
19,
272,
20512,
30,
2027,
21,
621,
13,
43,
10299,
410,
1990,
20,
4793,
676,
15,
48,
25,
40,
823,
45,
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... |
what is the function __construct used for?
===
I have been noticing *__construct* a lot with classes. I did a little reading and surfing the web, but I couldn't find an explanation I could understand. I am just beginning with OOP.
I was wondering if someone could give me a general what it is, and then a simple ex... | 0 | [
2,
98,
25,
14,
1990,
13,
1,
1126,
10346,
147,
26,
60,
800,
3726,
3726,
31,
57,
74,
18130,
1637,
1,
1126,
10346,
2483,
21,
865,
29,
2684,
9,
31,
144,
21,
265,
1876,
17,
22449,
14,
2741,
15,
47,
31,
711,
22,
38,
477,
40,
5764,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What's the best way to make sure only one instance of a Perl program is running
===
There are several ways to do this, but I'm not sure which one of them is the best.
Here's what I can think of:
- Look for the process using pgrep.
- Have the script lock itself using flock, and then check if it is locked each ... | 0 | [
2,
98,
22,
18,
14,
246,
161,
20,
233,
562,
104,
53,
4851,
16,
21,
416,
255,
625,
25,
946,
800,
3726,
3726,
80,
50,
238,
2847,
20,
107,
48,
15,
47,
31,
22,
79,
52,
562,
56,
53,
16,
105,
25,
14,
246,
9,
235,
22,
18,
98,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Is using Null to represent a Value Bad Practice ?
===
If I use null as a representation of everything in a database table is that bad practice ?
i.e.
I have the tables: myTable(ID) and myRelatedTable(ID,myTableID)
myRelatedTable.myTableID is a FK of myTable.ID
What I want to accomplish is: if myRelatedTabl... | 0 | [
2,
25,
568,
16203,
20,
3501,
21,
1923,
896,
1345,
13,
60,
800,
3726,
3726,
100,
31,
275,
16203,
28,
21,
5442,
16,
796,
19,
21,
6018,
859,
25,
30,
896,
1345,
13,
60,
31,
9,
62,
9,
31,
57,
14,
7484,
45,
51,
5924,
5,
1340,
6,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
.NET Nested Classes
===
The current class library I am working on will have a base class (Field) with over 50 specific "field" types which will inherit from "Field" and nested for maintain readability. For example...
abstract class Field
{
public int Length { get; set; }
public class Fi... | 0 | [
2,
13,
9,
2328,
5618,
69,
2684,
800,
3726,
3726,
14,
866,
718,
1248,
31,
589,
638,
27,
129,
57,
21,
1000,
718,
13,
5,
1109,
6,
29,
84,
1222,
1903,
13,
7,
1109,
7,
2551,
56,
129,
17569,
37,
13,
7,
1109,
7,
17,
5618,
69,
26,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
A/B testing and stats solutions
===
I've been looking for a good testing framework for months, not finding anything, so I've just been building my own.
This is what I want to do:<br>
- track arbitrary behaviors (e.g. photos viewed, comments posted)<br>
- track correlation between arbitrary variables and those b... | 0 | [
2,
21,
118,
220,
4431,
17,
12819,
18,
6776,
800,
3726,
3726,
31,
22,
195,
74,
699,
26,
21,
254,
4431,
6596,
26,
818,
15,
52,
3007,
602,
15,
86,
31,
22,
195,
114,
74,
353,
51,
258,
9,
48,
25,
98,
31,
259,
20,
107,
45,
1,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Glass look for MDI windows under Vista
===
I am developing a MDI application in C# in VS 2008.
I have noticed that the MDI forms don't have the glass look under Vista.
Is this by design?
Is there a simple way to get the glass look for these windows? | 0 | [
2,
1350,
361,
26,
8138,
49,
1936,
131,
13520,
800,
3726,
3726,
31,
589,
3561,
21,
8138,
49,
3010,
19,
272,
5910,
19,
4611,
570,
9,
31,
57,
2711,
30,
14,
8138,
49,
1997,
221,
22,
38,
57,
14,
1350,
361,
131,
13520,
9,
25,
48,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
External raid / network storage using IDE hard drives
===
Here's the situation: I have numerous old hard drives, all of which are at least 120GB. I'd like to be able to combine these together into a big network share with maybe some kind of RAID option. How best to do this? I've a slightly older PC (about 2GHz) th... | 2 | [
2,
4886,
6847,
13,
118,
982,
4326,
568,
13,
3448,
552,
10396,
800,
3726,
3726,
235,
22,
18,
14,
1858,
45,
31,
57,
1548,
315,
552,
10396,
15,
65,
16,
56,
50,
35,
639,
6029,
11400,
9,
31,
22,
43,
101,
20,
44,
777,
20,
12287,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Hide/Show Column in an HTML Table
===
I have an HTML table with several columns and I need to implement a column chooser using jquery. When a user clicks on a checkbox I want to hide/show the corresponding column in the table. I would like to do this without attaching a class to every td in the table, is there a way... | 0 | [
2,
3077,
118,
9303,
4698,
19,
40,
13,
15895,
859,
800,
3726,
3726,
31,
57,
40,
13,
15895,
859,
29,
238,
7498,
17,
31,
376,
20,
8713,
21,
4698,
3538,
139,
568,
487,
8190,
93,
9,
76,
21,
4155,
10840,
18,
27,
21,
2631,
5309,
31,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
dynamic allocating array of arrays
===
I don't truly understand some basic things in C like dynamically allocating array of arrays.
I know you can do:
int **m;
in order to declare a 2 dimensional array (which subsequently would be allocated using some *alloc function). Also it can be "easily" accessed by do... | 0 | [
2,
7782,
65,
2499,
1880,
7718,
16,
7718,
18,
800,
3726,
3726,
31,
221,
22,
38,
4574,
1369,
109,
2125,
564,
19,
272,
101,
7782,
1326,
65,
2499,
1880,
7718,
16,
7718,
18,
9,
31,
143,
42,
92,
107,
45,
19,
38,
13,
1409,
79,
73,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Does index_id=0 in sys.indexes refer to the table itself?
===
Unfortunately the BOL is a little vague on this, but `index_id = 0` on `sys.indexes` or `sys.partitions` appears to refer to the table itself where there is no clustered index on the table. True - or am I missing something?
| 0 | [
2,
630,
4348,
1,
1340,
3726,
387,
19,
10315,
18,
9,
25671,
160,
5017,
20,
14,
859,
1145,
60,
800,
3726,
3726,
6200,
14,
7397,
25,
21,
265,
14800,
27,
48,
15,
47,
13,
1,
25671,
1,
1340,
800,
713,
1,
27,
13,
1,
4980,
18,
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... |
C#: Exception "Input string was not in a correct format." after Row.Delete in DataSet
===
I am getting a strange exception when trying to update a DataTable after flagging a row for deletion. It looks like it's validating the data in the row I'm trying to delete. I was able to save the same row successfully, why won't... | 0 | [
2,
272,
5910,
45,
5391,
13,
7,
108,
4881,
3724,
23,
52,
19,
21,
4456,
2595,
9,
7,
75,
3131,
9,
24249,
591,
19,
1054,
3554,
800,
3726,
3726,
31,
589,
1017,
21,
2578,
5391,
76,
749,
20,
11100,
21,
1054,
5924,
75,
3157,
2762,
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... |
Asp.net updatepanel clears checkboxlist selections
===
I have an ASP.Net CheckBoxList control inside an Ajax UpdatePanel.
I will include the code (C#) along with the HTML below.
BTW, it is a little messy. It is a prototype.
This is the method used to populate the original CheckBoxList
protected void B... | 0 | [
2,
28,
306,
9,
2328,
11100,
3206,
532,
1207,
18,
2631,
5309,
5739,
3155,
18,
800,
3726,
3726,
31,
57,
40,
28,
306,
9,
2328,
2631,
5309,
5739,
569,
572,
40,
20624,
11100,
3206,
532,
9,
31,
129,
468,
14,
1797,
13,
5,
150,
5910,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
C# App.Config location
===
I have a solution with 10 or so projects in it, and have started having issues with SystemConfiguration returning empty configuration instead of locating my App.Config file.
Should I have multiple App.Configs for each project (I am assuming and hoping not), if not, where is the best place... | 0 | [
2,
272,
5910,
4865,
9,
14093,
2816,
1474,
800,
3726,
3726,
31,
57,
21,
4295,
29,
332,
54,
86,
2314,
19,
32,
15,
17,
57,
373,
452,
1549,
29,
329,
1126,
13549,
857,
2485,
2424,
8091,
700,
16,
27917,
51,
4865,
9,
14093,
2816,
3893,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 any advantage in using a Python class?
===
I have a Python class full of static methods. What are the advantages and disadvantages of packaging these in a class rather than raw functions? | 0 | [
2,
25,
80,
186,
3314,
19,
568,
21,
20059,
718,
60,
800,
3726,
3726,
31,
57,
21,
20059,
718,
503,
16,
12038,
3195,
9,
98,
50,
14,
14683,
17,
13387,
18,
16,
16850,
158,
19,
21,
718,
864,
119,
4333,
3719,
60,
3,
0,
0,
0,
0,
0... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Displaying fancy equations with Java
===
I'm working on a Java applet that needs to display "fancy" equations. Is there any Java renderer for MathML or LaTeX that's open source? Ideally it would be a pure Java solution that doesn't use JNI.
Ideally it would also allow to animate the generated glyphs (e.g. animating... | 0 | [
2,
17418,
12251,
12853,
29,
8247,
800,
3726,
3726,
31,
22,
79,
638,
27,
21,
8247,
4037,
38,
30,
2274,
20,
3042,
13,
7,
410,
10821,
7,
12853,
9,
25,
80,
186,
8247,
16535,
106,
26,
5057,
8184,
54,
456,
396,
30,
22,
18,
368,
1267... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 find intersecting periods in a huge list of periods?
===
I need an idea for an efficient index/search algorithm or datastructure for a particular problem. So far I could not come up with something fast and elegant...
Consider a huge collection of objects with every object having a date period (start / end). ... | 0 | [
2,
184,
20,
477,
17822,
68,
7302,
19,
21,
2329,
968,
16,
7302,
60,
800,
3726,
3726,
31,
376,
40,
882,
26,
40,
8243,
4348,
118,
25136,
9083,
54,
1054,
13971,
26,
21,
1498,
1448,
9,
86,
463,
31,
110,
52,
340,
71,
29,
301,
1512,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 perform a nonblocking read using asio?
===
I am attempting to use boost::asio to read and write from a device on a serial port. Both boost::asio:read() and boost::asio::serial_port::read_some() block when there is nothing to read. Instead I would like to detect this condition and write a command to the port t... | 0 | [
2,
184,
107,
31,
2985,
21,
538,
12048,
68,
1302,
568,
28,
1963,
60,
800,
3726,
3726,
31,
589,
6314,
20,
275,
10419,
45,
45,
58,
11076,
20,
1302,
17,
2757,
37,
21,
3646,
27,
21,
5956,
1295,
9,
156,
10419,
45,
45,
58,
11076,
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... |
Can I swap colors in image using GD library in PHP?
===
I got the image like this (it's a graph):
![Gold Trade Graph][1]
[1]: http://www.kitconet.com/charts/metals/platinum/tny_pt_en_caoz_2.gif
I want to change the colours, so the white is black, the graph line is light blue, etc.. is it possible to achie... | 0 | [
2,
92,
31,
17150,
5268,
19,
1961,
568,
489,
43,
1248,
19,
13,
26120,
60,
800,
3726,
3726,
31,
330,
14,
1961,
101,
48,
13,
5,
242,
22,
18,
21,
7210,
6,
45,
13,
187,
2558,
10279,
1238,
7210,
500,
2558,
165,
500,
636,
165,
500,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Visual WebGui
===
Hi I am looking for some web framework for my prject and I found [Visual WebGui][1]
I looks amazing, but I am pesimistic about miracles :)
Can someone more experienced than me help me?
classic asp.net vs Visual WebGui
- what about speed ?
- what about size of data?
- what about security?
... | 0 | [
2,
3458,
2741,
7215,
800,
3726,
3726,
4148,
31,
589,
699,
26,
109,
2741,
6596,
26,
51,
5396,
17759,
17,
31,
216,
636,
20893,
2741,
7215,
500,
2558,
165,
500,
31,
1879,
5289,
15,
47,
31,
589,
10457,
1660,
3771,
88,
8162,
18,
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... |
Jquery Event Bubbling CheckBox
===
I have a form with checkboxes and then text to the right of the checkbox. There are jquery events attached to the click events of the the checkbox. What I want is to allow the user to click on the label or the checkbox and have the checkbox check/uncheck and the event to fire. Bel... | 0 | [
2,
487,
8190,
93,
807,
26977,
2631,
5309,
800,
3726,
3726,
31,
57,
21,
505,
29,
2631,
5309,
160,
17,
94,
1854,
20,
14,
193,
16,
14,
2631,
5309,
9,
80,
50,
487,
8190,
93,
963,
3638,
20,
14,
10840,
963,
16,
14,
14,
2631,
5309,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Adding button into a Listview in WinForms
===
Is there a way to add a button control to a cell in inside a ListView in a WinForms app? | 0 | [
2,
4721,
5167,
77,
21,
968,
4725,
19,
628,
4190,
18,
800,
3726,
3726,
25,
80,
21,
161,
20,
3547,
21,
5167,
569,
20,
21,
1667,
19,
572,
21,
968,
4725,
19,
21,
628,
4190,
18,
4865,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
asp.net Page loading twice when making an underlying connection
===
I have a aspx page that seems to be loading twice when I enter the Url to the page.
In this page's loading event, I'm making an connection to a server to retrieve a document and then I output the downloaded bytes to the output stream of the page.
... | 0 | [
2,
28,
306,
9,
2328,
2478,
12797,
2088,
76,
544,
40,
10974,
2760,
800,
3726,
3726,
31,
57,
21,
28,
306,
396,
2478,
30,
2206,
20,
44,
12797,
2088,
76,
31,
2830,
14,
287,
6362,
20,
14,
2478,
9,
19,
48,
2478,
22,
18,
12797,
807,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How can I get Windows Powershell Get-ItemProperty to only show the property I want?
===
When using powershell, sometimes I want to only display for example the name or fullname of a file.
From what I can gather, the way to do this is by using `Get-ItemProperty` (alias of `gp`) and passing `-n fullname`, For example... | 0 | [
2,
184,
92,
31,
164,
1936,
414,
15984,
164,
8,
2119,
79,
10890,
106,
1084,
20,
104,
298,
14,
1354,
31,
259,
60,
800,
3726,
3726,
76,
568,
414,
15984,
15,
1030,
31,
259,
20,
104,
3042,
26,
823,
14,
204,
54,
503,
7259,
16,
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... |
Versioning and legacy bugfixing in a SCM
===
I'm so sorry for the awful question title, but I'll try to explain myself a bit more verbosely:
I'm using Git (but I guess the particular software doesn't really matter in this case) for my software project. As many projects, I'm planning on having various releases. When... | 0 | [
2,
615,
68,
17,
7780,
6256,
18594,
68,
19,
21,
4729,
79,
800,
3726,
3726,
31,
22,
79,
86,
1875,
26,
14,
9021,
1301,
581,
15,
47,
31,
22,
211,
1131,
20,
3271,
992,
21,
1142,
91,
9504,
6641,
102,
45,
31,
22,
79,
568,
13,
10404... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Adding the results of two queries to ViewData.Model
===
I have the following code in my controller:
public ActionResult Details(int id)
{
var dataContext = new BuffetSuppliersDBDataContext();
var supplier = (from m in dataContext.BO_Suppliers
... | 0 | [
2,
4721,
14,
1736,
16,
81,
9386,
2829,
20,
1418,
18768,
9,
13998,
800,
3726,
3726,
31,
57,
14,
249,
1797,
19,
51,
9919,
45,
317,
1028,
29955,
3289,
5,
6391,
4924,
6,
13,
1,
4033,
1054,
1126,
11969,
800,
78,
21754,
18,
576,
15540... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Usage history of Stored Procedures in SQL Server 2008
===
I work with legacy systems that have tens of thousand of lines of stored procedure code, where many of the stored procedures are obsolete and not used anymore. There doesn't seem to be a way to check execution history, so my question is if it might be a good id... | 0 | [
2,
7514,
447,
16,
8214,
8876,
19,
4444,
255,
8128,
570,
800,
3726,
3726,
31,
170,
29,
7780,
1242,
30,
57,
652,
18,
16,
2996,
16,
1560,
16,
8214,
7004,
1797,
15,
113,
151,
16,
14,
8214,
8876,
50,
18562,
17,
52,
147,
3375,
9,
80... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How do I do what strtok() does in C, in Python?
===
I am learning Python and trying to figure out an efficient way to tokenize a string of numbers separated by commas into a list. Well formed cases work as I expect, but less well formed cases not so much.
If I have this:
A = '1,2,3,4'
B = [int(x) for x ... | 0 | [
2,
184,
107,
31,
107,
98,
13,
9729,
17168,
5,
6,
630,
19,
272,
15,
19,
20059,
60,
800,
3726,
3726,
31,
589,
2477,
20059,
17,
749,
20,
1465,
70,
40,
8243,
161,
20,
20,
2853,
2952,
21,
3724,
16,
2116,
4196,
34,
11951,
472,
77,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Linq and retrieving primary key
===
This code works, but i dont understand why. With DeferredLoadingEnabld = false, I would expect it not to return the primary key. Can someone explain what I am missing?
public void SaveOrder (Order order)
{
using (DataContext dc= new DataContext)
... | 0 | [
2,
6294,
1251,
17,
13,
6239,
3272,
8397,
1256,
1246,
800,
3726,
3726,
48,
1797,
693,
15,
47,
31,
1049,
1369,
483,
9,
29,
29419,
16866,
3591,
6287,
43,
800,
4997,
15,
31,
83,
4186,
32,
52,
20,
788,
14,
1256,
1246,
9,
92,
737,
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... |
SCons problem - dont understand Variables class
===
I'm working on an SConstruct build file for a project and I'm trying to update from Options to Variables, since Options is being deprecated. I don't understand how to use Variables though. I have 0 python experience which is probably contributing to this.
For exam... | 0 | [
2,
13,
18,
12124,
1448,
13,
8,
1049,
1369,
12157,
718,
800,
3726,
3726,
31,
22,
79,
638,
27,
40,
13,
18,
1126,
10346,
1895,
3893,
26,
21,
669,
17,
31,
22,
79,
749,
20,
11100,
37,
6368,
20,
12157,
15,
179,
6368,
25,
142,
121,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
sync online order portal with local DB
===
So we're building a locally(at customers site) hosted, custom point of sale system, nothing too much out of the ordinary. Its all .NET, C# and SQL Server.
One of the requirements is that the system allows orders to be taken over the internet as well.
For various reasons(... | 0 | [
2,
6063,
150,
2087,
389,
8281,
29,
375,
13,
9007,
800,
3726,
3726,
86,
95,
22,
99,
353,
21,
6680,
5,
721,
5279,
689,
6,
2812,
15,
5816,
454,
16,
3299,
329,
15,
626,
266,
212,
70,
16,
14,
6104,
9,
82,
65,
13,
9,
2328,
15,
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... |
WCF Security - A list of what I dont understand
===
I'm going around in circles with regards to WCF and security so i'm just going to shove a load of questions here and hope someone can help me gain a clear picture.
1. Can someone please give me a plain English explanation of Transport vs Message level security.
... | 0 | [
2,
11801,
410,
1221,
13,
8,
21,
968,
16,
98,
31,
1049,
1369,
800,
3726,
3726,
31,
22,
79,
228,
140,
19,
7845,
29,
14179,
20,
11801,
410,
17,
1221,
86,
31,
22,
79,
114,
228,
20,
14166,
21,
6305,
16,
2346,
235,
17,
1376,
737,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Does asp.net remove <script> tags in repeaters and inside the <% for loop %> in mvc
===
I have some script type="javascript"/script tags inside both a repeater and a for loop in mvc.
On page render the script is gone and is not displayed both inside the repeater and the for loop (they are separate).
Is there s... | 0 | [
2,
630,
28,
306,
9,
2328,
4681,
13,
1,
8741,
1,
3383,
18,
19,
6830,
445,
17,
572,
14,
13,
1,
11881,
26,
5293,
13,
11881,
1,
19,
307,
8990,
800,
3726,
3726,
31,
57,
109,
3884,
1001,
3726,
7,
1004,
1385,
8741,
7,
118,
8741,
33... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 MVC - Routes and UrlHelper
===
I have the following route
routes.MapRoute(
"GigDayListings", // Route name
"gig/list/{year}/{month}/{day}", // URL with parameters
new { controller = "Gig", ac... | 0 | [
2,
28,
306,
9,
2328,
307,
8990,
13,
8,
5050,
17,
287,
6362,
14593,
106,
800,
3726,
3726,
31,
57,
14,
249,
858,
5050,
9,
15022,
20179,
5,
13,
7,
2234,
263,
1185,
5739,
68,
18,
7,
15,
12894,
858,
204,
13,
7,
2234,
263,
118,
57... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
MSDN Windows license still works after subscription
===
The question is: will me license (Keys) for Windows server 2003 still work after the subscription is closed on a new install?
It's not volume license.
My windows XP still works on my computer it was installed while i had the subscription.
I saved an xml fi... | 0 | [
2,
4235,
43,
103,
1936,
3962,
174,
693,
75,
14213,
800,
3726,
3726,
14,
1301,
25,
45,
129,
55,
3962,
13,
5,
4237,
18,
6,
26,
1936,
8128,
973,
174,
170,
75,
14,
14213,
25,
827,
27,
21,
78,
16146,
60,
32,
22,
18,
52,
2310,
396... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Are there compelling reasons not to use Groovy?
===
I'm developing a LoB application in Java after a long absence from the platform (having spent the last 8 years or so entrenched in Fortran, C, a smidgin of C++ and latterly .Net).
Java, the language, is not much changed from how I remember it. I like it's strength... | 0 | [
2,
50,
80,
20465,
2932,
52,
20,
275,
3452,
2026,
93,
60,
800,
3726,
3726,
31,
22,
79,
3561,
21,
13,
10904,
3010,
19,
8247,
75,
21,
175,
5315,
37,
14,
2452,
13,
5,
13693,
1111,
14,
236,
469,
122,
54,
86,
21673,
103,
6261,
19,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Asp.net Register App Design Help
===
I am new to programming so i figured i'd get help from those that know it.
I am currently writing a Registration Application which will basically take a users input,
validates the data entered, displays a review screen (which the user must print out and mail in a copy), and t... | 0 | [
2,
28,
306,
9,
2328,
2243,
4865,
704,
448,
800,
3726,
3726,
31,
589,
78,
20,
3143,
86,
31,
5700,
31,
22,
43,
164,
448,
37,
273,
30,
143,
32,
9,
31,
589,
871,
1174,
21,
8587,
3010,
56,
129,
11374,
247,
21,
3878,
6367,
15,
739... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Suggestions for Java email templating?
===
we have an application that needs to send out various different types of template email. The current code is very cumbersome and not very flexible. Does any one konw of a library to help with this type of work... We are looking for some kind of templating library for email. | 0 | [
2,
18389,
26,
8247,
8517,
13,
9577,
255,
1880,
60,
800,
3726,
3726,
95,
57,
40,
3010,
30,
2274,
20,
2660,
70,
617,
421,
2551,
16,
22894,
8517,
9,
14,
866,
1797,
25,
253,
10611,
2102,
3220,
17,
52,
253,
13568,
9,
630,
186,
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,
1,
1,
1,
1,
1,
1... |
xml to json roundtrip conversion
===
Has any work been done to provide round trip from xml to json and back again?
If so, does anyone have some practical advice for doing this?
I understand that you'd probably have to limit the complexity of the schema and json structure, but what's the cost on both sides? And i... | 0 | [
2,
23504,
20,
487,
528,
560,
17851,
6263,
800,
3726,
3726,
63,
186,
170,
74,
677,
20,
1181,
560,
2305,
37,
23504,
20,
487,
528,
17,
97,
188,
60,
100,
86,
15,
630,
1276,
57,
109,
5713,
4978,
26,
845,
48,
60,
31,
1369,
30,
42,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How do I determine why a webservice reference is being prevented from being added to my project in VS2008?
===
I have a VS2005 project that contains a couple web service references. The project has recently been upgraded to VS2008 but now there is a problem with the web references...probably because they may not have ... | 0 | [
2,
184,
107,
31,
3746,
483,
21,
2741,
11449,
2801,
25,
142,
8346,
37,
142,
905,
20,
51,
669,
19,
4611,
2753,
60,
800,
3726,
3726,
31,
57,
21,
4611,
2835,
669,
30,
1588,
21,
1335,
2741,
365,
7231,
9,
14,
669,
63,
1989,
74,
9958... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
System.Diagnostics.Process.Start() cannot start process when called from Windows service.
===
I am trying to start an external process from a .NET Windows service. In the past I have used the Process.Start() overload that takes the executable path and a command line string. This works. But now I would like to start th... | 0 | [
2,
329,
9,
4286,
21944,
18,
9,
16835,
9,
13680,
5,
6,
1967,
799,
953,
76,
227,
37,
1936,
365,
9,
800,
3726,
3726,
31,
589,
749,
20,
799,
40,
4886,
953,
37,
21,
13,
9,
2328,
1936,
365,
9,
19,
14,
640,
31,
57,
147,
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... |
does anyone knows which Slideshow script is using Tumblr.com right now?
===
This is the URL.
[http://www.tumblr.com/][1]
I think that its based on prototype, and is using an XML as a configuration file.
Any idea?
I'm needing and script like this, with a caption bar at the bottom.
Thanks!
[1]: h... | 0 | [
2,
630,
1276,
3620,
56,
18066,
1544,
3884,
25,
568,
13,
5633,
6287,
139,
9,
960,
193,
130,
60,
800,
3726,
3726,
48,
25,
14,
287,
6362,
9,
636,
21127,
6903,
6483,
9,
5633,
6287,
139,
9,
960,
118,
500,
2558,
165,
500,
31,
277,
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... |
run periodic tasks on server in the background
===
What's the best/easiest way to run periodic tasks (like a daemon thread) on a tomcat/jetty server? How do I start the thread? Is there a simple mechanism or is this a bad idea at all? | 0 | [
2,
485,
18350,
8674,
27,
8128,
19,
14,
2395,
800,
3726,
3726,
98,
22,
18,
14,
246,
118,
3537,
18,
10727,
161,
20,
485,
18350,
8674,
13,
5,
1403,
21,
13127,
9322,
6,
27,
21,
2067,
5782,
118,
10307,
1084,
8128,
60,
184,
107,
31,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to make Collapsible comment box like Stackoverflow
===
I am building a site and I have a list of status updates and I want to allow the users to write comments for each of of the items in the list
However I am trying to implement a UI similar to the way stack overflow works
specifically the collapsible comment... | 0 | [
2,
184,
20,
233,
9470,
2552,
18,
3426,
6484,
1649,
101,
7566,
2549,
9990,
800,
3726,
3726,
31,
589,
353,
21,
689,
17,
31,
57,
21,
968,
16,
1782,
16779,
17,
31,
259,
20,
1655,
14,
3878,
20,
2757,
7534,
26,
206,
16,
16,
14,
3755... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 find all nodes in a subtree in a recursive SQL query?
===
I have a table which defines a child-parent relationship between nodes:
CREATE TABLE node ( ' pseudo code alert
id INTEGER PRIMARY KEY,
parentID INTEGER, ' should be a valid id.
)
If `parentI... | 0 | [
2,
184,
20,
477,
65,
16272,
19,
21,
972,
8101,
19,
21,
302,
24244,
4444,
255,
25597,
60,
800,
3726,
3726,
31,
57,
21,
859,
56,
13110,
21,
850,
8,
18908,
1429,
128,
16272,
45,
1600,
859,
15421,
13,
5,
13,
22,
8452,
1797,
7863,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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# how do I insure the selected item remains highlighted when focus lost
===
I have changed the listview.HideSelection = true;
But how do I insure that when focus is lost that the selected item remains the original selected color? | 0 | [
2,
272,
5910,
184,
107,
31,
19,
5838,
14,
1704,
9101,
1678,
12528,
76,
1776,
529,
800,
3726,
3726,
31,
57,
1015,
14,
968,
4725,
9,
19522,
18,
5033,
800,
1151,
73,
47,
184,
107,
31,
19,
5838,
30,
76,
1776,
25,
529,
30,
14,
1704... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Algorithm for determining a files identity
===
For an open source project I have I am writing an abstraction layer on top of the filesystem.
This layer allows me to attach metadata and relationships to each file.
I would like the layer to handle file renames gracefully and maintain the metadata if a file is re... | 0 | [
2,
9083,
26,
13521,
21,
6488,
3270,
800,
3726,
3726,
26,
40,
368,
1267,
669,
31,
57,
31,
589,
1174,
40,
23907,
5385,
27,
371,
16,
14,
3893,
10724,
9,
48,
5385,
2965,
55,
20,
19514,
28057,
17,
5833,
20,
206,
3893,
9,
31,
83,
10... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Function overloading is Javascript - Best practices
===
What is the best way (or ways) of function overloading in Javascript? | 4 | [
2,
1990,
84,
16866,
25,
8247,
8741,
13,
8,
246,
5242,
800,
3726,
3726,
98,
25,
14,
246,
161,
13,
5,
248,
2847,
6,
16,
1990,
84,
16866,
19,
8247,
8741,
60,
3,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Using a CASE statement in HQL select
===
Is there any way to do the following in HQL:
SELECT
case when flag = true then SUM(col1) else SUM(col2)
FROM
myTable | 0 | [
2,
568,
21,
610,
3331,
19,
746,
22402,
5407,
800,
3726,
3726,
25,
80,
186,
161,
20,
107,
14,
249,
19,
746,
22402,
45,
5407,
610,
76,
3157,
800,
1151,
94,
3907,
5,
7771,
165,
6,
962,
3907,
5,
7771,
135,
6,
37,
51,
5924,
3,
0,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
16 byte limit on XDrawString arguments
===
From the XDrawString [man page][1] it seems that it aceepts signed 32 byte x and y coordinates
> `int XDrawString(Display *display, Drawable d, GC
gc, int x, int y, char *string, int length);`
Note how both x and y are int ( ie: 32 byte signed Integer on gcc/linux2... | 0 | [
2,
347,
34,
591,
4496,
27,
993,
43,
12404,
11130,
10553,
800,
3726,
3726,
37,
14,
993,
43,
12404,
11130,
636,
177,
2478,
500,
2558,
165,
500,
32,
2206,
30,
32,
21,
21553,
13531,
908,
2512,
34,
591,
993,
17,
13,
93,
13714,
13,
1,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
c# Writting to the output stream
===
This code will always make my aspx page load twice. And this has nothing to do with AutoEventWireup.
Response.Clear();
Response.ContentType = "application/pdf";
Response.AppendHeader("Content-Disposition", "inline;filename=data.pdf");
Response.BufferOutput = t... | 0 | [
2,
272,
5910,
20127,
1203,
20,
14,
5196,
3766,
800,
3726,
3726,
48,
1797,
129,
550,
233,
51,
28,
306,
396,
2478,
6305,
2088,
9,
17,
48,
63,
626,
20,
107,
29,
3108,
4943,
38,
13482,
576,
9,
1627,
9,
18600,
5,
6,
73,
1627,
9,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Is there a way to detect when an update panel is done refreashing?
===
Is there a way to detect when an update panel is done refreshing? I want to fire some javascript methods when the update panel is finished.
Perhaps via the UpdateProgress control? | 0 | [
2,
25,
80,
21,
161,
20,
9092,
76,
40,
11100,
4113,
25,
677,
13,
14057,
9994,
9325,
60,
800,
3726,
3726,
25,
80,
21,
161,
20,
9092,
76,
40,
11100,
4113,
25,
677,
27134,
60,
31,
259,
20,
535,
109,
8247,
8741,
3195,
76,
14,
11100... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Code Ordering in Source Files - Forward Declarations vs "Don't Repeat Yourself"?
===
If you code in C and configure your compiler to insist that all functions are declared before they are used (or if you code in C++), then you can end up with one of (at least) two organizations for your source files.
Either:
* H... | 0 | [
2,
1797,
15775,
19,
1267,
6488,
13,
8,
917,
7098,
18,
4611,
13,
7,
804,
22,
38,
6830,
2834,
7,
60,
800,
3726,
3726,
100,
42,
1797,
19,
272,
17,
1065,
15951,
154,
21486,
20,
20061,
30,
65,
3719,
50,
2482,
115,
59,
50,
147,
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... |
Activity restart on rotation Android
===
In my Android application, when I rotate the device (slide out the keyboard) then my activity is restarted (onCreate is called). Now, this is probably how it's supposed to be, but I do a lot of initial setting up in the onCreate method, so I need either:<br />
1. Put all the i... | 0 | [
2,
2358,
22767,
27,
9431,
13005,
800,
3726,
3726,
19,
51,
13005,
3010,
15,
76,
31,
21448,
14,
3646,
13,
5,
18,
1210,
546,
70,
14,
8896,
6,
94,
51,
2358,
25,
27440,
13,
5,
218,
6037,
1373,
25,
227,
6,
9,
130,
15,
48,
25,
910,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Destructor vs IDisposable?
===
I've read about disposing objects/IDisposable interface and destructors in C#, but to me they seem to do the same thing?
What is the difference between the two? Why would I use one over the other? In fact, in this example (link below) this code uses both the IDisposable interface and ... | 0 | [
2,
13,
20137,
248,
4611,
13,
19405,
12551,
579,
60,
800,
3726,
3726,
31,
22,
195,
1302,
88,
1460,
14717,
3916,
118,
19405,
12551,
579,
6573,
17,
13,
20137,
248,
18,
19,
272,
5910,
15,
47,
20,
55,
59,
2260,
20,
107,
14,
205,
584,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How do classes help you manage large applications?
===
This came up in a conversation I was having online, and it occured to me that I have no idea how this is supposed to work: Quite a lot of programmers seem to just take as a given- indeed, obvious that classes are a necessary language feature for managing huge soft... | 0 | [
2,
184,
107,
2684,
448,
42,
4705,
370,
3767,
60,
800,
3726,
3726,
48,
281,
71,
19,
21,
2735,
31,
23,
452,
2087,
15,
17,
32,
3744,
69,
20,
55,
30,
31,
57,
90,
882,
184,
48,
25,
2293,
20,
170,
45,
1450,
21,
865,
16,
17968,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Debugging ASP.NET Session State server issues
===
We have an application that runs over load balanced server instances, and therefore is configured to use the ASP.NET session state service, which is running on one of our DB servers. While both instances of our app can successfully connect to the state server, changes ... | 0 | [
2,
121,
16254,
2762,
28,
306,
9,
2328,
3723,
146,
8128,
1549,
800,
3726,
3726,
95,
57,
40,
3010,
30,
1461,
84,
6305,
13966,
8128,
13946,
15,
17,
1793,
25,
28895,
20,
275,
14,
28,
306,
9,
2328,
3723,
146,
365,
15,
56,
25,
946,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to use cvxopt with DSDP?
===
I'm trying to use DSDP (semidefinite programming package) with cvxopt. I have both of them installed (matlab version for DSDP). I have Python 2.5.2.
When trying to use
dsp(..., solver='dsdp')
I get an errors mentioning solvers.dsdp is not installed.
How to I make them ... | 0 | [
2,
184,
20,
275,
13,
12732,
13955,
4417,
29,
13,
43,
18,
7431,
60,
800,
3726,
3726,
31,
22,
79,
749,
20,
275,
13,
43,
18,
7431,
13,
5,
18,
7411,
13862,
108,
2119,
3143,
6030,
6,
29,
13,
12732,
13955,
4417,
9,
31,
57,
156,
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... |
NSMutableArray memory management
===
NSMutableArray *a1 = [[NSMutableArray alloc] init];
NSMutableArray *a2 = [NSMutableArray array];
TempObj *obj = [[TempObj alloc] init]; //assume this line is repeated for each obj
[a1 addObject:obj];
[a1 addObject:obj2];
[a1 addObject:obj3];
... | 0 | [
2,
13,
2172,
7903,
579,
8576,
93,
1912,
1097,
800,
3726,
3726,
13,
2172,
7903,
579,
8576,
93,
1637,
58,
165,
800,
636,
2558,
2172,
7903,
579,
8576,
93,
65,
2499,
500,
19,
242,
12660,
13,
2172,
7903,
579,
8576,
93,
1637,
58,
135,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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# com in PowerBuilder
===
This is my set up
1. C# application - Sample.exe
2. C# control exposed for com which hosts the C# application
3. PowerBuilder instantiates C# control
4. PowerBuilder destroys C# control which in turn gets to the Dispose method of the c# control
5. The dispose method uses Proc... | 3 | [
2,
272,
5910,
13,
960,
19,
414,
20904,
800,
3726,
3726,
48,
25,
51,
309,
71,
137,
9,
272,
5910,
3010,
13,
8,
5717,
9,
1706,
62,
172,
9,
272,
5910,
569,
5043,
26,
13,
960,
56,
5397,
14,
272,
5910,
3010,
203,
9,
414,
20904,
63... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Recommended website resolution (width and height)?
===
Is there any standard on common website resolution?
We are targeting newer monitors, perhaps at least 1280px wide, but the height may varies, and each browser may have different toolbar heights too.
Is there any sort of standard to this?
Thanks in advance... | 0 | [
2,
5773,
2271,
4302,
13,
5,
3976,
43,
96,
17,
2947,
6,
60,
800,
3726,
3726,
25,
80,
186,
1236,
27,
757,
2271,
4302,
60,
95,
50,
15972,
12372,
18521,
15,
1774,
35,
639,
390,
2887,
306,
396,
1051,
15,
47,
14,
2947,
123,
9803,
15... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
why bind() returns SOCKET_ERROR
===
Without:
- MFC
- ATL
Using pure C++, <b>WSAGetLastError()</b> returns <b>10014</b> - Bad address
- What I'm I missing/doing wrong?
Code illustration:
sockaddr_in sin;
SOCKET server;
if ((server = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP)) == SOCKET_ERROR)
... | 0 | [
2,
483,
10193,
5,
6,
4815,
18482,
1,
29992,
800,
3726,
3726,
366,
45,
13,
8,
307,
7061,
13,
8,
35,
255,
568,
4267,
272,
20512,
15,
13,
1,
220,
1,
10268,
1303,
38,
8558,
29992,
5,
6,
1,
118,
220,
1,
4815,
13,
1,
220,
1,
403... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 good, re-usable parser that converts a string into a hierarchy of lists?
===
I'd like to take a string such as this:
[One, Two[A, B[i, ii, iii, iv], C], Three]
And convert it into a hierarchy of lists, so that if I execute code such as the following:
Console.Write(myList[1][1][2]);
The o... | 0 | [
2,
25,
80,
21,
254,
15,
302,
8,
267,
579,
2017,
4104,
30,
8406,
18,
21,
3724,
77,
21,
14417,
16,
7227,
60,
800,
3726,
3726,
31,
22,
43,
101,
20,
247,
21,
3724,
145,
28,
48,
45,
636,
849,
15,
81,
2558,
58,
15,
334,
2558,
49... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Is there a way to create an Linq XElement iterator that is updated as the tree is modified?
===
I'm new to both C# and Linq. I'm attempting to use a Linq-generated element collection to iterate over and modify certain elements in a XDocument. My understanding is that the enumeration does not update when the tree is ... | 0 | [
2,
25,
80,
21,
161,
20,
1600,
40,
6294,
1251,
993,
27567,
32,
106,
3457,
30,
25,
6372,
28,
14,
1541,
25,
5372,
60,
800,
3726,
3726,
31,
22,
79,
78,
20,
156,
272,
5910,
17,
6294,
1251,
9,
31,
22,
79,
6314,
20,
275,
21,
6294,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Altering IFrame from IFrame source. Is it possible?
===
On my computer, I'm using a custom adblock based on HOSTS redirection (so I can have adblock in Chrome). I'm running IIS on my machine, so I have a custom 404 error that displays when an `iframe`-based ad is displayed on a page.
I've modified my 404 error to ... | 0 | [
2,
7835,
68,
31,
8361,
37,
31,
8361,
1267,
9,
25,
32,
938,
60,
800,
3726,
3726,
27,
51,
1428,
15,
31,
22,
79,
568,
21,
5816,
21,
43,
12048,
432,
27,
5397,
302,
14706,
872,
13,
5,
656,
31,
92,
57,
21,
43,
12048,
19,
13,
129... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Dealing with multiple standards in single class library
===
I'm currently working on a project which will support multiple file writing specifications (imagine if you had to support something like XML 1.0, XML 2.0, XML 3.0, etc) called ADIF. Currently there are two standards (version 1.0 and version 2.2.2), and they a... | 0 | [
2,
5746,
29,
1886,
3364,
19,
345,
718,
1248,
800,
3726,
3726,
31,
22,
79,
871,
638,
27,
21,
669,
56,
129,
555,
1886,
3893,
1174,
17971,
13,
5,
29377,
100,
42,
41,
20,
555,
301,
101,
23504,
137,
9,
387,
15,
23504,
172,
9,
387,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Best practice: Override OnDispose(bool disposing) vs Disposed event on Component.
===
In .Net the `Component` class exposes a `Disposed` event. It also provides a protected member `OnDispose(bool disposing)`.
What is the best practice for a custom component that extends `Component`? Override `OnDispose(bool)` or ... | 0 | [
2,
246,
1345,
45,
84,
11891,
27,
2906,
15690,
5,
1192,
1823,
1460,
14717,
6,
4611,
17913,
43,
807,
27,
5912,
9,
800,
3726,
3726,
19,
13,
9,
2328,
14,
13,
1,
11103,
218,
2291,
1,
718,
13833,
18,
21,
13,
1,
2906,
15690,
43,
1,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to determine if two web pages are the same?
===
What are some of techniques good for detecting if a webpage is the same?
By same, I don't mean char-for-char equivalent (that's easy), but is robust enough to ignore something like a current date/time on the page, etc.
E.g., go a Yahoo! News article load the... | 0 | [
2,
184,
20,
3746,
100,
81,
2741,
4434,
50,
14,
205,
60,
800,
3726,
3726,
98,
50,
109,
16,
4212,
254,
26,
9092,
68,
100,
21,
2741,
6486,
25,
14,
205,
60,
34,
205,
15,
31,
221,
22,
38,
884,
4892,
8,
1106,
8,
5433,
4602,
13,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to validate input using scanf
===
How can I validate the user input by using scanf. Right now I have something like this, but doesn't work.
NOTE: I have the atoi just to validate that the scanf validation works.
scanf("%[0987654321.-]s",buf);
i = atoi(buf);
if(i)
index = i;
... | 0 | [
2,
184,
20,
7394,
1373,
6367,
568,
8313,
410,
800,
3726,
3726,
184,
92,
31,
7394,
1373,
14,
4155,
6367,
34,
568,
8313,
410,
9,
193,
130,
31,
57,
301,
101,
48,
15,
47,
1437,
22,
38,
170,
9,
1945,
45,
31,
57,
14,
35,
8222,
114... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Destructors of builtin types (int, char ect..)
===
In C++ the following code gives a compiler error:
void destruct1 (int * item)
{
item->~int();
}
This code is nearly the same, I just typedef the int to another type and something magic happends:
typedef int myint;
void dest... | 0 | [
2,
13,
20137,
248,
18,
16,
392,
108,
2551,
13,
5,
6391,
15,
4892,
13,
11557,
9,
9,
6,
800,
3726,
3726,
19,
272,
20512,
14,
249,
1797,
2352,
21,
21486,
7019,
45,
11364,
13,
20137,
165,
13,
5,
6391,
1637,
9101,
6,
13,
1,
9101,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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.