unified_texts stringlengths 32 30.1k | OpenStatus_id int64 0 4 | input_ids list | token_type_ids list | attention_mask list |
|---|---|---|---|---|
How to use JSON with Jquery?
===
I'm working at an app which would make a POST ajax request to a PHP script on my server. The script would query the database and return a row of records, as an array. (One array for each row, containing elements such as id, title, etc). I then want to use `json_encode()` to encode this... | 0 | [
2,
184,
20,
275,
487,
528,
29,
487,
8190,
93,
60,
800,
3726,
3726,
31,
22,
79,
638,
35,
40,
4865,
56,
83,
233,
21,
678,
20624,
3772,
20,
21,
13,
26120,
3884,
27,
51,
8128,
9,
14,
3884,
83,
25597,
14,
6018,
17,
788,
21,
3131,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 query to select unreferenced rows
===
I'm having a brain-dead moment... I have two tables described by:
CREATE TABLE table_a (
id INTEGER PRIMARY KEY AUTO_INCREMENT,
name VARCHAR(255) NOT NULL
UNIQUE (name))
CREATE TABLE table_b (
... | 0 | [
2,
4444,
255,
25597,
20,
5407,
367,
28018,
43,
11295,
800,
3726,
3726,
31,
22,
79,
452,
21,
1964,
8,
14260,
688,
9,
9,
9,
31,
57,
81,
7484,
745,
34,
45,
1600,
859,
859,
1,
58,
13,
5,
4924,
13820,
1256,
1246,
3108,
1,
28461,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 wrong with my soft-shadow code?
===
I'm trying to write a simple raytracer as a hobby project and it's all working fine now, except I can't get soft-shadows to work at all. My idea of soft-shadows is that the lightsource is considered to have a location and a radius. To do a shadow test on this light I take the... | 0 | [
2,
98,
22,
18,
1389,
29,
51,
1856,
8,
18396,
1797,
60,
800,
3726,
3726,
31,
22,
79,
749,
20,
2757,
21,
1935,
2375,
1939,
5482,
28,
21,
18229,
669,
17,
32,
22,
18,
65,
638,
1123,
130,
15,
1613,
31,
92,
22,
38,
164,
1856,
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... |
New line charecter in VB.Net?
===
I am trying to print a message on a web page in vb.net. I am trying to get the messages in new lines. I tried using the "\r\n" and the new line character. But this is getting printed in the page instead of it comming to the next line. Please let me know if there is any alternative. | 0 | [
2,
78,
293,
4892,
11557,
106,
19,
13,
20468,
9,
2328,
60,
800,
3726,
3726,
31,
589,
749,
20,
4793,
21,
2802,
27,
21,
2741,
2478,
19,
13,
20468,
9,
2328,
9,
31,
589,
749,
20,
164,
14,
7561,
19,
78,
1560,
9,
31,
794,
568,
14,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Why are .net configuration settings compiled into assemblies?
===
I have been trying to read up on how to do configuration properly in .net and have run into something that I find a bit odd and that is that configuration settings are compiled into assemblies through the Settings class. Removing the app.config and runn... | 0 | [
2,
483,
50,
13,
9,
2328,
8091,
12410,
9316,
77,
21066,
60,
800,
3726,
3726,
31,
57,
74,
749,
20,
1302,
71,
27,
184,
20,
107,
8091,
7428,
19,
13,
9,
2328,
17,
57,
485,
77,
301,
30,
31,
477,
21,
1142,
4210,
17,
30,
25,
30,
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... |
Sender and receiver to transfer files over ssh on request?
===
I created a program that iterates over a bunch of files and invokes for some of them:
scp <file> user@host:<remotefile>
However, in my case, there may be thousands of small files that need to transferred, and scp is opening a new ssh connection f... | 0 | [
2,
2660,
106,
17,
6264,
20,
2617,
6488,
84,
13,
18,
1635,
27,
3772,
60,
800,
3726,
3726,
31,
679,
21,
625,
30,
32,
106,
7759,
84,
21,
7653,
16,
6488,
17,
28371,
18,
26,
109,
16,
105,
45,
13,
18,
7439,
13,
1,
16877,
1,
4155,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Getting the most out of R# - good tutorials/screencasts
===
I've just installed Resharper, and I really don't know how to use it "correctly".
I noticed that there are some demos and documents at their website, but I'm wondering..
..how did you learn to use it efficiently? Are there any other good resources(demos/t... | 0 | [
2,
1017,
14,
127,
70,
16,
761,
5910,
13,
8,
254,
29724,
18,
118,
7187,
6146,
18,
800,
3726,
3726,
31,
22,
195,
114,
4066,
302,
23646,
106,
15,
17,
31,
510,
221,
22,
38,
143,
184,
20,
275,
32,
13,
7,
25345,
102,
7,
9,
31,
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... |
need wcf and wpf application source code for beginer
===
I am beginner for .net 3.5, have to work on app where I need to build desktop version as well as web version for selected modules like reporting. I think WCF will help me out to create a base from where I could call functions in both(desktop as well as web )
... | 0 | [
2,
376,
11801,
410,
17,
619,
7721,
3010,
1267,
1797,
26,
2348,
106,
800,
3726,
3726,
31,
589,
26931,
26,
13,
9,
2328,
203,
9,
264,
15,
57,
20,
170,
27,
4865,
113,
31,
376,
20,
1895,
17404,
615,
28,
134,
28,
2741,
615,
26,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How do I sort a linked list in sql?
===
I have implemented a linked list as a self-referencing database table:
CREATE TABLE LinkedList(
Id bigint NOT NULL,
ParentId bigint NULL,
SomeData nvarchar(50) NOT NULL)
where Id is the primary key, and ParentId is the Id of the previous node on the ... | 0 | [
2,
184,
107,
31,
2058,
21,
4727,
968,
19,
4444,
255,
60,
800,
3726,
3726,
31,
57,
6807,
21,
4727,
968,
28,
21,
1119,
8,
29254,
6018,
859,
45,
1600,
859,
4727,
5739,
5,
4924,
580,
6391,
52,
16203,
15,
4766,
1340,
580,
6391,
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... |
How can Derive class inherit a static function from Base class?
===
struct TimerEvent
{
event Event;
timeval TimeOut;
static void HandleTimer(int Fd, short Event, void *Arg);
};
HandleTimer needs to be static since I'm passing it to C library (libevent).
I want to inherit fr... | 0 | [
2,
184,
92,
20576,
718,
17569,
21,
12038,
1990,
37,
1000,
718,
60,
800,
3726,
3726,
13,
10346,
85,
99,
6645,
13,
1,
807,
807,
73,
85,
3377,
85,
1320,
73,
12038,
11364,
3053,
891,
139,
5,
6391,
398,
43,
15,
502,
807,
15,
11364,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Difference between Adobe AIR and FLEX?
===
What is the difference between Adobe AIR and FLEX? | 0 | [
2,
2841,
128,
20299,
282,
17,
14409,
60,
800,
3726,
3726,
98,
25,
14,
2841,
128,
20299,
282,
17,
14409,
60,
3,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Customising an NSTextFieldCell depending on the isEnabled biding of the table column
===
What I basically trying to achieve is to change the formatting of a cell in a table to blank it out if the cell is not enabled.
To define whether a cell in a table column is enabled I've bound using the enabled binding and th... | 0 | [
2,
5816,
7552,
40,
13,
2172,
11969,
1109,
9725,
4758,
27,
14,
25,
219,
579,
43,
4458,
68,
16,
14,
859,
4698,
800,
3726,
3726,
98,
31,
11374,
749,
20,
4689,
25,
20,
753,
14,
2595,
1203,
16,
21,
1667,
19,
21,
859,
20,
6463,
32,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
best practices for AJAX framework implementation
===
What are the best-practices in implementation of AJAX framework and handling 'special' cases as:
<ul>
<li>
Session timeout on AJAX call (redirect to login page, error, ignore...)
</li>
<li>
Server exceptions in AJAX request
</li>
<li>
... | 4 | [
2,
246,
5242,
26,
20624,
6596,
6123,
800,
3726,
3726,
98,
50,
14,
246,
8,
7310,
14468,
5052,
19,
6123,
16,
20624,
6596,
17,
7988,
13,
22,
11118,
22,
1871,
28,
45,
13,
1,
1287,
1,
13,
1,
1210,
1,
3723,
85,
1320,
27,
20624,
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... |
Debugging Datastructures Visually
===
I've got some Java code which builds a data structure (approx 500 small interlinked objects) from data in some files and I'd really like to visualise the resulting structure. I hope that seeing it will allow me to optimise, not the code, but the data itself.
I'm wondering if th... | 0 | [
2,
121,
16254,
2762,
1054,
13971,
18,
20747,
800,
3726,
3726,
31,
22,
195,
330,
109,
8247,
1797,
56,
1895,
18,
21,
1054,
1411,
13,
5,
19896,
3033,
284,
1480,
6258,
69,
3916,
6,
37,
1054,
19,
109,
6488,
17,
31,
22,
43,
510,
101,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 stop C++/CLI from adding IDisposable to my ref class?
===
C++/CLI helpfully generates the `IDisposable` scaffolding for you when you implement a destructor on a ref class. Also, if you don't implement a destructor, but your class has a member variable which implements `IDisposable`, then `IDisposable` is again a... | 0 | [
2,
92,
31,
747,
272,
20512,
118,
150,
1210,
37,
4721,
13,
19405,
12551,
579,
20,
51,
13,
14057,
718,
60,
800,
3726,
3726,
272,
20512,
118,
150,
1210,
15600,
102,
7920,
18,
14,
13,
1,
19405,
12551,
579,
1,
27322,
68,
26,
42,
76,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Webrequest disallow redirect
===
In .net 2.0 how can I disallow autoredirect? when using WebRequest? i found some source code were there where used an AllowAutoRedirect property, but on my webrequest there is no such property.
| 0 | [
2,
2741,
99,
10351,
1460,
17976,
302,
14706,
800,
3726,
3726,
19,
13,
9,
2328,
172,
9,
387,
184,
92,
31,
1460,
17976,
3108,
99,
14706,
60,
76,
568,
2741,
99,
10351,
60,
31,
216,
109,
1267,
1797,
46,
80,
113,
147,
40,
1655,
18042... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Deduction of reference types in template functions
===
Do I have to explicitly instantiate a function template's type when it comes to reference type deduction. If that is the case, where is the ambiguity? Let's compare following 2 code snippets:
1st: [link for the code][1]
template <typename T>
void ... | 0 | [
2,
25782,
16,
2801,
2551,
19,
22894,
3719,
800,
3726,
3726,
107,
31,
57,
20,
13108,
6322,
15882,
21,
1990,
22894,
22,
18,
1001,
76,
32,
1624,
20,
2801,
1001,
25782,
9,
100,
30,
25,
14,
610,
15,
113,
25,
14,
28335,
60,
408,
22,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
WSAETIMEDOUT message in Synapse Library
===
Why I always get WSAETIMEDOUT error in this code :
var fUDPBuf: array [1..UdpPacketSize] of byte;
{...}
UDPSocket := TUDPBlockSocket.Create;
UDPSocket.Bind(UDPIP, UDPPort);
if UDPSocket.LastError = 0 then
Raise EDevFail.Create(Format(SPort... | 0 | [
2,
619,
18,
4391,
891,
43,
1320,
2802,
19,
6063,
2552,
870,
1248,
800,
3726,
3726,
483,
31,
550,
164,
619,
18,
4391,
891,
43,
1320,
7019,
19,
48,
1797,
13,
45,
4033,
2916,
43,
13390,
5532,
45,
7718,
636,
165,
9,
9,
3192,
306,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Detect key press combination in Linux with Python?
===
I'm trying to capture key presses so that when a given combination is pressed I trigger an event.
I've searched around for tips on how to get started and the simplest code snippet I can find is in Python - I grabbed the code below for it from [here][1]. However... | 0 | [
2,
9092,
1246,
901,
3733,
19,
13024,
29,
20059,
60,
800,
3726,
3726,
31,
22,
79,
749,
20,
3683,
1246,
16527,
86,
30,
76,
21,
504,
3733,
25,
2931,
31,
7286,
40,
807,
9,
31,
22,
195,
9036,
140,
26,
11034,
27,
184,
20,
164,
373,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Should I disable the C compiler signed/unsigned mismatch warning?
===
The Microsoft C compiler warns when you try to compare two variables, and one is signed, and the other is unsigned. For example:
int a;
unsigned b;
if ( a < b ) { // warning C4018: '<' : signed/unsigned mismatch
}
Has this warn... | 0 | [
2,
378,
31,
1460,
579,
14,
272,
21486,
908,
118,
1020,
13472,
2462,
12280,
3590,
60,
800,
3726,
3726,
14,
7099,
272,
21486,
9296,
18,
76,
42,
1131,
20,
11590,
81,
12157,
15,
17,
53,
25,
908,
15,
17,
14,
89,
25,
28839,
9,
26,
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... |
TinyMCE and ASP.NET Data Binding Question
===
I have a data-source connected to a stored proc that will return the one record that applies to a specific page, and for another similar situation (populating heading information), I wrapped a repeater around the headings html, and used <%$ Eval() %> binding expressions to... | 0 | [
2,
3228,
79,
1105,
17,
28,
306,
9,
2328,
1054,
8728,
1301,
800,
3726,
3726,
31,
57,
21,
1054,
8,
12097,
2587,
20,
21,
8214,
13,
15617,
30,
129,
788,
14,
53,
571,
30,
13169,
20,
21,
1903,
2478,
15,
17,
26,
226,
835,
1858,
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... |
Override default behavior of TAB in JTextPane
===
I am implementing a JTextPane-based text editor.
Currently, when I have a piece of selected text, pressing the TAB key deletes the selected text. I would like to change this behavior such that TAB will indent the selected text.
How to go about it?
| 0 | [
2,
84,
11891,
12838,
3257,
16,
6523,
19,
487,
11969,
16660,
800,
3726,
3726,
31,
589,
17333,
21,
487,
11969,
16660,
8,
1281,
1854,
1835,
9,
871,
15,
76,
31,
57,
21,
1855,
16,
1704,
1854,
15,
7196,
14,
6523,
1246,
27448,
18,
14,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
NSTextView with 3lines automatically scrolls up when I enter
===
I have a UITextView that i use for typing some text
(i have added it with Interface builder)
i have made the height 3 font lines high (so in my case the frame height is 47) so i can have 3 lines of text
what i want it to do is type until line3 and... | 0 | [
2,
13,
2172,
11969,
4725,
29,
203,
7939,
7499,
12159,
18,
71,
76,
31,
2830,
800,
3726,
3726,
31,
57,
21,
13,
5661,
11969,
4725,
30,
31,
275,
26,
25266,
109,
1854,
13,
5,
49,
57,
905,
32,
29,
6573,
14960,
6,
31,
57,
117,
14,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
DO NOT TRY THIS! The following bash command will spawn processes to kernel death. Can you explain the syntax?
===
I stumbled upon [this page][1] and can't understand how this works.
This command "exponentially spawns subprocesses until your box locks up".
But why? What I grok less are the colons.
> `user@hos... | 0 | [
2,
107,
52,
1131,
48,
187,
14,
249,
13158,
1202,
129,
13,
22860,
5102,
20,
17007,
372,
9,
92,
42,
3271,
14,
22649,
60,
800,
3726,
3726,
31,
10282,
685,
636,
1565,
2478,
500,
2558,
165,
500,
17,
92,
22,
38,
1369,
184,
48,
693,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Silverlight: Getting image (from OpenFileDialog) width/height.
===
there is my first time on Stack Overflow, thanks in advance for any help I get.
I've been using the BitmapImage.DownloadProgress event to wait until the image is loaded when creating a bitmap from a URI. That was I can use an event handler to check ... | 0 | [
2,
1172,
3130,
45,
1017,
1961,
13,
5,
2665,
368,
16877,
4286,
5567,
6,
9456,
118,
252,
7748,
9,
800,
3726,
3726,
80,
25,
51,
64,
85,
27,
7566,
20285,
15,
3669,
19,
3612,
26,
186,
448,
31,
164,
9,
31,
22,
195,
74,
568,
14,
11... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to escape phpdoc comment in phpdoc comment?
===
I would like to know how to escape phpdoc comments within a phpdoc comment.
For example, how would I have to write this:
/**
* Some documentation...
*
* <code>
* /**
* * Example example phpdoc.
* */
* </code>
... | 0 | [
2,
184,
20,
2220,
13,
26120,
13799,
6484,
19,
13,
26120,
13799,
6484,
60,
800,
3726,
3726,
31,
83,
101,
20,
143,
184,
20,
2220,
13,
26120,
13799,
7534,
363,
21,
13,
26120,
13799,
6484,
9,
26,
823,
15,
184,
83,
31,
57,
20,
2757,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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#: Creating an instance of an abstract class without defining new class
===
I know it can be done in Java, as I have used this technique quite extensively in the past. An example in Java would be shown below. (Additional question. What is this technique called? It's hard to find an example of this without a name.)
... | 0 | [
2,
272,
5910,
45,
2936,
40,
4851,
16,
40,
8502,
718,
366,
14684,
78,
718,
800,
3726,
3726,
31,
143,
32,
92,
44,
677,
19,
8247,
15,
28,
31,
57,
147,
48,
4873,
1450,
7802,
19,
14,
640,
9,
40,
823,
19,
8247,
83,
44,
1721,
1021,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to convert C# to DLL to hide the source code?
===
How can I convert my C# code to DLL file in a way that the user of DLL can’t view my source code?
When I make DLL in the way I always do by making a class library project, importing my classes and compiling it, the source code can still be viewed.
| 0 | [
2,
184,
20,
8406,
272,
5910,
20,
13,
43,
211,
20,
3077,
14,
1267,
1797,
60,
800,
3726,
3726,
184,
92,
31,
8406,
51,
272,
5910,
1797,
20,
13,
43,
211,
3893,
19,
21,
161,
30,
14,
4155,
16,
13,
43,
211,
92,
1,
38,
1418,
51,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
UITableView with cocos2d
===
i am a learner at the area of objective c. i am trying to build an iphone app. and here i have used cocos2d. now i would like to use UITableView for showing data from XML file. Now it is my question that , is it possible to use UITableView with cocos2d and is it also possible to retrive da... | 0 | [
2,
13,
11193,
579,
4725,
29,
22470,
18,
135,
43,
800,
3726,
3726,
31,
589,
21,
2484,
106,
35,
14,
217,
16,
7038,
272,
9,
31,
589,
749,
20,
1895,
40,
21024,
4865,
9,
17,
235,
31,
57,
147,
22470,
18,
135,
43,
9,
130,
31,
83,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
In C#, is there out-of-the-box way to build a 3-way lookup table?
===
I have an in-memory "table" that might looks something like this:
Favorite# Name Profession
--------- ---------- ------------------
3 Names.Adam Profession.Baker
9 Names.Bob Profession.Teacher
... | 0 | [
2,
19,
272,
5910,
15,
25,
80,
70,
8,
1041,
8,
124,
8,
5309,
161,
20,
1895,
21,
203,
8,
1443,
361,
576,
859,
60,
800,
3726,
3726,
31,
57,
40,
19,
8,
790,
5171,
93,
13,
7,
5924,
7,
30,
530,
1879,
301,
101,
48,
45,
3839,
59... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
prepared statement causing while loop error
===
I have the following simple mysqli php application, which should work fine. $pk is accepted perfectly and is a valid ARTICLE_NO, and the query works perfectly when executed directly by mysql. I have put output statements after every event and all except tetsing while exe... | 0 | [
2,
3268,
3331,
3242,
133,
5293,
7019,
800,
3726,
3726,
31,
57,
14,
249,
1935,
51,
18,
1251,
1210,
13,
26120,
3010,
15,
56,
378,
170,
1123,
9,
5579,
17244,
25,
2217,
5759,
17,
25,
21,
7394,
2002,
1,
251,
15,
17,
14,
25597,
693,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 do you put global application data in an iPhone app?
===
I have an app that allows the user to view, manipulate and manage a collection of Schedule objects. Different parts of the app need access to this data. I've experimented with making the collection a singleton, but I didn't find that very clean.
I recen... | 0 | [
2,
113,
107,
42,
442,
2062,
3010,
1054,
19,
40,
21024,
4865,
60,
800,
3726,
3726,
31,
57,
40,
4865,
30,
2965,
14,
4155,
20,
1418,
15,
18468,
17,
4705,
21,
1206,
16,
4345,
3916,
9,
421,
1341,
16,
14,
4865,
376,
1381,
20,
48,
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... |
System with plugins in C#
===
I have to develop a system to monitor Sensor information but many sensors might be added in the future.
That said, the idea would be to develop a system that would consist of the application skeleton. The sensors (as each of them has its communication and data presentation characterist... | 0 | [
2,
329,
29,
10922,
108,
18,
19,
272,
5910,
800,
3726,
3726,
31,
57,
20,
2803,
21,
329,
20,
7626,
14865,
676,
47,
151,
15529,
530,
44,
905,
19,
14,
1022,
9,
30,
87,
15,
14,
882,
83,
44,
20,
2803,
21,
329,
30,
83,
7929,
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... |
Places you can ask for quick code review?
===
Learning how to unit test in my own time though is providing me with further insight, I'd often would of liked to have someone there saying that I'm indeed going in the right direction with my tests.
Doing this by myself (and being the only developer at my company activ... | 0 | [
2,
1489,
42,
92,
1349,
26,
2231,
1797,
1487,
60,
800,
3726,
3726,
2477,
184,
20,
1237,
1289,
19,
51,
258,
85,
362,
25,
2674,
55,
29,
653,
9239,
15,
31,
22,
43,
478,
83,
16,
3345,
20,
57,
737,
80,
1148,
30,
31,
22,
79,
4057,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Why can application developers do datasebase stuff but database developers try to stay clear of application stuff?
===
In my experience, this has been a contentious issue between "backend" (database developer) and "frontend" guys (application developer, client and server side).
There have been many *heated* pub d... | 0 | [
2,
483,
92,
3010,
10168,
107,
1054,
870,
8436,
3217,
47,
6018,
10168,
1131,
20,
1179,
1207,
16,
3010,
3217,
60,
800,
3726,
3726,
19,
51,
1496,
15,
48,
63,
74,
21,
29059,
1513,
128,
13,
7,
1958,
2451,
7,
13,
5,
18768,
8436,
10058... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Problem with C# serialization extension methods
===
I really like the extension method that TWith2Sugars posted [here][1]. I ran into an odd problem though. When I put this into a shared class library and call the serialization function, I get the following error:
> The type MyType was not expected. Use
> the Xm... | 0 | [
2,
1448,
29,
272,
5910,
5956,
1829,
3896,
3195,
800,
3726,
3726,
31,
510,
101,
14,
3896,
2109,
30,
13,
38,
1410,
135,
26149,
18,
6054,
636,
6836,
500,
2558,
165,
500,
9,
31,
717,
77,
40,
4210,
1448,
362,
9,
76,
31,
442,
48,
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... |
Emacs navigation in new versions acts like notepad
===
This is a bit difficult to explain, so please bear with me.
I am running emacs 23.0.60.2 (from CVS) in order to have truetype support. (in case anyone wonders why I'm running the bleeding edge). I'm experiencing some oddness in navigation within documents with... | 0 | [
2,
13,
62,
6893,
18,
8368,
19,
78,
3281,
3167,
101,
1945,
8240,
800,
3726,
3726,
48,
25,
21,
1142,
1956,
20,
3271,
15,
86,
2247,
2746,
29,
55,
9,
31,
589,
946,
13,
62,
6893,
18,
1137,
9,
387,
9,
3374,
9,
135,
13,
5,
2665,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
HTML attribute acceskey not working as it should.
===
So, I'm testing all different HTML tags and attributes, freshing things up a bit, and for some reason, acceskey does not appear to be working.
The acceskey attribute is used to assign a key to an element. Depending on your OS, pressing Alt+that key(Windows) or C... | 0 | [
2,
13,
15895,
35,
14755,
7602,
160,
4237,
52,
638,
28,
32,
378,
9,
800,
3726,
3726,
86,
15,
31,
22,
79,
4431,
65,
421,
13,
15895,
3383,
18,
17,
13422,
15,
3180,
68,
564,
71,
21,
1142,
15,
17,
26,
109,
1215,
15,
7602,
160,
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... |
What is the best way to join multiple element values into a new string in xslt 2.0
===
I need to join multiple element values into a new string separated with whitespace, what is the best way to do this? I am using xslt 2.0.
Thanks in advance. | 0 | [
2,
98,
25,
14,
246,
161,
20,
1865,
1886,
4520,
4070,
77,
21,
78,
3724,
19,
993,
18,
255,
38,
172,
9,
387,
800,
3726,
3726,
31,
376,
20,
1865,
1886,
4520,
4070,
77,
21,
78,
3724,
4196,
29,
359,
5582,
15,
98,
25,
14,
246,
161,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Closing Streams in Java
===
why do we need to close a FileInputStream (and streams in general) *in any case* before we leave the program? What would happen otherwise? If the program stops before the input stream is closed explicitly in the program, doesn't the stream also closes automatically?
Thank you. | 0 | [
2,
4239,
9464,
19,
8247,
800,
3726,
3726,
483,
107,
95,
376,
20,
543,
21,
3893,
108,
4881,
11260,
13,
5,
290,
9464,
19,
297,
6,
1637,
108,
186,
610,
2483,
115,
95,
767,
14,
625,
60,
98,
83,
2384,
3190,
60,
100,
14,
625,
6604,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Java XSTL processors supporting XPath 2.0
===
What are the currently available XSTL processors supporting XPath 2.0 standard? | 0 | [
2,
8247,
993,
18,
7786,
21034,
3134,
993,
8353,
172,
9,
387,
800,
3726,
3726,
98,
50,
14,
871,
904,
993,
18,
7786,
21034,
3134,
993,
8353,
172,
9,
387,
1236,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Nhibernate and variable table names.
===
I have legacy database in which transaction tables are stored by monthly names.
eg.
Jan08Tran
Feb08Tran
How can I use NHibernate to work with this tables?
Read a bit about entity-name property, SubClass etc. But not able to find concrete solution... | 0 | [
2,
12109,
15191,
8820,
17,
7612,
859,
1817,
9,
800,
3726,
3726,
31,
57,
7780,
6018,
19,
56,
12799,
7484,
50,
8214,
34,
6460,
1817,
9,
12369,
9,
2262,
3099,
17685,
14907,
3099,
17685,
184,
92,
31,
275,
12109,
15191,
8820,
20,
170,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What is the correct way to add a Shutdown Hook for an Eclipse RCP application?
===
I have an RCP application that uses a connection to a in-memory database. There is one circumstance that, when shutting down windows, the application is killed without giving it a chance to close the connection to the database.
I re... | 0 | [
2,
98,
25,
14,
4456,
161,
20,
3547,
21,
28450,
5559,
26,
40,
11652,
761,
7439,
3010,
60,
800,
3726,
3726,
31,
57,
40,
761,
7439,
3010,
30,
2027,
21,
2760,
20,
21,
19,
8,
790,
5171,
93,
6018,
9,
80,
25,
53,
26579,
30,
15,
76,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
JAVA for intermediate .NET Developer
===
I am a .NET Developer with about 5 years of web development experience using Microsoft technologies starting with classic ASP to ASP .NET 3.5.
I do have a little background in JAVA as well and can write/understand JAVA code very easily. I am looking for resources (online, bo... | 0 | [
2,
8247,
26,
6889,
13,
9,
2328,
10058,
800,
3726,
3726,
31,
589,
21,
13,
9,
2328,
10058,
29,
88,
331,
122,
16,
2741,
522,
1496,
568,
7099,
5740,
1422,
29,
2732,
28,
306,
20,
28,
306,
13,
9,
2328,
203,
9,
264,
9,
31,
107,
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... |
std::map, pointer to map key value, is this possible?
===
std::map<std::string, std::string> myMap;
std::map<std::string, std::string>::iterator i = m_myMap.find(some_key_string);
if(i == m_imagesMap.end())
return NULL;
string *p = &i->first;
Is the last line valid?
I want to stor... | 0 | [
2,
354,
43,
45,
45,
15022,
15,
454,
106,
20,
2942,
1246,
1923,
15,
25,
48,
938,
60,
800,
3726,
3726,
354,
43,
45,
45,
15022,
1,
384,
43,
45,
45,
11130,
15,
354,
43,
45,
45,
11130,
1,
51,
15022,
73,
354,
43,
45,
45,
15022,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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# httpwebrequest and javascript
===
I am using c# httpwebrequest to get some data of a webpage. The problem is that some of the data is updated using javascript/ajax after the page is loaded and I am not getting it in the response string. Is there a way to have the webrequest wait untill all the scripts in the page h... | 0 | [
2,
272,
5910,
7775,
458,
3692,
10351,
17,
8247,
8741,
800,
3726,
3726,
31,
589,
568,
272,
5910,
7775,
458,
3692,
10351,
20,
164,
109,
1054,
16,
21,
2741,
6486,
9,
14,
1448,
25,
30,
109,
16,
14,
1054,
25,
6372,
568,
8247,
8741,
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... |
Small, PHP capable web server (for Windows)
===
I'm looking for a **small** (not more, than a couple of megs) web server, which must be **capable of running PHP code** (with external PHP installation). I would strongly prefer one where it is very easy to change the root directory often. My OS is Windows XP.
I saw t... | 0 | [
2,
284,
15,
13,
26120,
3868,
2741,
8128,
13,
5,
1106,
1936,
6,
800,
3726,
3726,
31,
22,
79,
699,
26,
21,
13,
1409,
15988,
1409,
13,
5,
1270,
91,
15,
119,
21,
1335,
16,
10905,
18,
6,
2741,
8128,
15,
56,
491,
44,
13,
1409,
466... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 pythonic way to extend a potentially incomplete list
===
I have a background in C so sometimes the way I do things is not very "Pythonic".
What I'm looking for is the best way to say, 'If this list is too short, lengthen it to 9 elements and add "Choice 4", "Choice 5", etc, as the additional elements. Also, re... | 0 | [
2,
127,
20059,
596,
161,
20,
7206,
21,
9465,
14011,
968,
800,
3726,
3726,
31,
57,
21,
2395,
19,
272,
86,
1030,
14,
161,
31,
107,
564,
25,
52,
253,
13,
7,
6448,
96,
11151,
7,
9,
98,
31,
22,
79,
699,
26,
25,
14,
246,
161,
20... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Why does Visual Studio want to check-out a File when open?
===
Why does Visual Studio want to check-out a File when opened?
I just double click the file to open it and Visual Studio wants to check it out.
I did not make any changes to it. I just opened it.
We are using Visual Studion 2005 and Visual Source Saf... | 0 | [
2,
483,
630,
3458,
1120,
259,
20,
2631,
8,
1320,
21,
3893,
76,
368,
60,
800,
3726,
3726,
483,
630,
3458,
1120,
259,
20,
2631,
8,
1320,
21,
3893,
76,
520,
60,
31,
114,
1494,
10840,
14,
3893,
20,
368,
32,
17,
3458,
1120,
2846,
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... |
In Java, is the "finally" block guaranteed to be called (in the main method)?
===
If I have the following typical Java code
public class MyApp {
public static void main(String[] args) {
try {
// do stuff
} catch {
// handle errors
} finally {
//... | 0 | [
2,
19,
8247,
15,
25,
14,
13,
7,
4932,
102,
7,
1921,
13572,
20,
44,
227,
13,
5,
108,
14,
407,
2109,
6,
60,
800,
3726,
3726,
100,
31,
57,
14,
249,
3874,
8247,
1797,
317,
718,
51,
7753,
13,
1,
317,
12038,
11364,
407,
5,
11130,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
View-specific Models in ASP.NET MVC?
===
I am relatively new to MVC, so this is likely a novice question.
I am trying to understand the best practices for how to maintain clear separation of concerns in a few scenarios that don't appear straightfoward.
There are two scenarios I am looking at right now. Imagine ... | 0 | [
2,
1418,
8,
9219,
2761,
19,
28,
306,
9,
2328,
307,
8990,
60,
800,
3726,
3726,
31,
589,
3109,
78,
20,
307,
8990,
15,
86,
48,
25,
1720,
21,
21999,
1301,
9,
31,
589,
749,
20,
1369,
14,
246,
5242,
26,
184,
20,
4027,
1207,
8312,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
NineBlock generation
===
Im looking to make my own implementation of these Identicons or Gravatars found here on StackOverflow. Most questions I could found was about utilizing existing 3rd party libraries, especially those hooked with [Gravatar][1].
![alt text][2]
After some searching I stumbled upon [this pa... | 0 | [
2,
1391,
12048,
2782,
800,
3726,
3726,
797,
699,
20,
233,
51,
258,
6123,
16,
158,
13,
13384,
49,
12124,
54,
5120,
8112,
5446,
216,
235,
27,
7566,
2549,
9990,
9,
127,
2346,
31,
110,
216,
23,
88,
19894,
3149,
203,
897,
346,
8649,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Microsoft reporting services trouble with subreport flow
===
I have a subreport in a reporting services main report. The subreport starts approximately on the middle of the page in the main report. If i have few detail lines in the subreport so that all can be rendered on page one, everything is ok. However, if I h... | 0 | [
2,
7099,
6670,
687,
2572,
29,
972,
17437,
3312,
800,
3726,
3726,
31,
57,
21,
972,
17437,
19,
21,
6670,
687,
407,
1330,
9,
14,
972,
17437,
3244,
1357,
27,
14,
772,
16,
14,
2478,
19,
14,
407,
1330,
9,
100,
31,
57,
310,
6110,
156... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
MAX query using CAML
===
I want to select a sharepoint list item which has the Maximum value for a particular column. How can I do this using CAML queries? | 0 | [
2,
2049,
25597,
568,
5373,
255,
800,
3726,
3726,
31,
259,
20,
5407,
21,
1891,
3132,
968,
9101,
56,
63,
14,
2979,
1923,
26,
21,
1498,
4698,
9,
184,
92,
31,
107,
48,
568,
5373,
255,
9386,
2829,
60,
3,
0,
0,
0,
0,
0,
0,
0,
0,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Clojure 'if' never evaluating it's third argument.
===
I've been trying to figure this one our for a while now.
(defn is-decimal [astr]
(if (. astr (indexOf (int \.)))
(Double/parseDouble astr)
(Integer/parseInt astr)))
That is the function I wrote. is-decimal is either passed something like t... | 0 | [
2,
7383,
2142,
99,
13,
22,
821,
22,
243,
26764,
32,
22,
18,
422,
5476,
9,
800,
3726,
3726,
31,
22,
195,
74,
749,
20,
1465,
48,
53,
318,
26,
21,
133,
130,
9,
13,
5,
13862,
103,
25,
8,
9522,
49,
3482,
636,
58,
9729,
500,
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... |
PHP Regex Problem - /i caseless not working and weird empty array elements.
===
Source texts (7):
1. give 4 cars
2. ga 5 cars
3. GA 5 Cars @mustang six exhausts are necessary
4. Give -1 Cars @mustang
5. Give Cars @mustang
6. Give 3 Cars @ford
7. Give 5 Cars @cobra_gt
The ones which should be successful a... | 0 | [
2,
13,
26120,
7953,
1706,
1448,
13,
8,
13,
118,
49,
610,
923,
52,
638,
17,
5455,
2424,
7718,
2065,
9,
800,
3726,
3726,
1267,
6381,
13,
5,
465,
6,
45,
137,
9,
590,
268,
2137,
172,
9,
4369,
331,
2137,
203,
9,
4369,
331,
2137,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Update all WCF Service References in one click (two clicks would be OK too!)
===
I have multiple projects containing multiple WCF service references.
My WCF services are in a state of flux so I frequently have to go around and update all of my service references.
Is there a way to achieve this as a single action... | 0 | [
2,
11100,
65,
11801,
410,
365,
7231,
19,
53,
10840,
13,
5,
3734,
10840,
18,
83,
44,
5854,
266,
187,
6,
800,
3726,
3726,
31,
57,
1886,
2314,
3503,
1886,
11801,
410,
365,
7231,
9,
51,
11801,
410,
687,
50,
19,
21,
146,
16,
19359,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Get readable WSDL service method arguments error in ColdFusion
===
developing service invoking script that looks like:
<cfinvoke webservice="#ServiceURL#" method="AddCustomer" returnvariable="ResponseData" argumentcollection="#stAguments#">
<cfinvokeargument name="api_key" value="#ServiceKey#" />
... | 0 | [
2,
164,
1302,
579,
619,
18,
8643,
365,
2109,
10553,
7019,
19,
1191,
9818,
800,
3726,
3726,
3561,
365,
19,
2625,
1581,
3884,
30,
1879,
101,
45,
13,
1,
150,
5617,
2625,
1048,
2741,
11449,
3726,
7,
5910,
11449,
911,
255,
5910,
7,
210... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
extending jquery on the main element object
===
I've seen some jquery code where people extend the main object like:
$('someId').myCustomObject();
Is this possible or am I mistaken? (if yes, how?)
| 0 | [
2,
8176,
487,
8190,
93,
27,
14,
407,
4520,
3095,
800,
3726,
3726,
31,
22,
195,
541,
109,
487,
8190,
93,
1797,
113,
148,
7206,
14,
407,
3095,
101,
45,
5579,
5,
22,
3220,
1340,
22,
6,
9,
915,
4636,
6015,
23793,
5,
6,
73,
25,
4... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0... |
Validate all ASPX, ASCX and HTML files when building
===
Visual Studio will show errors in an AS?X or HTML file in the Error List window when you have that file open. However once you close the file the error(s) are removed from the Error List.
Is it possible to validate all AS?X and HTML files in one action (ideal... | 0 | [
2,
7394,
1373,
65,
28,
306,
396,
15,
28,
150,
396,
17,
13,
15895,
6488,
76,
353,
800,
3726,
3726,
3458,
1120,
129,
298,
11908,
19,
40,
28,
60,
396,
54,
13,
15895,
3893,
19,
14,
7019,
968,
1463,
76,
42,
57,
30,
3893,
368,
9,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How can I fire a trigger BEFORE a delete in T-SQL 2005?
===
How can I fire a trigger BEFORE a delete in T-SQL 2005?
The FOR actually fires AFTER an event and they seems no BEFORE argument in the TRIGGER function.
The INSTEAD OF is not what I want.
I need to fire before I delete a record.
Any ideas? | 0 | [
2,
184,
92,
31,
535,
21,
7286,
115,
21,
27448,
19,
13,
38,
8,
18,
22402,
812,
60,
800,
3726,
3726,
184,
92,
31,
535,
21,
7286,
115,
21,
27448,
19,
13,
38,
8,
18,
22402,
812,
60,
14,
26,
1121,
11327,
75,
40,
807,
17,
59,
22... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Tabbed Interface in C#/WPF
===
I am currently working on an application with a tabbed interface. I want to be able to split the workspace horizontally or vertically by dragging a tab to one edge of the window.
For example, open two tabs: <http://666kb.com/i/b65vvbusbxhvgy8mf.png>
Then drag one tab to the bottom ... | 0 | [
2,
6523,
4283,
6573,
19,
272,
5910,
118,
499,
7721,
800,
3726,
3726,
31,
589,
871,
638,
27,
40,
3010,
29,
21,
6523,
4283,
6573,
9,
31,
259,
20,
44,
777,
20,
2132,
14,
170,
5582,
25658,
54,
23300,
34,
13052,
21,
6523,
20,
53,
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... |
Does Java 6 open a default port for JMX remote connections?
===
My specific question has to do with JMX as used in JDK 1.6: if I am running a Java process using JRE 1.6 with `-Dcom.sun.management.jmxremote=true` in the command line, does Java pick a default port for remote JMX connections?
Backstory: I am currently... | 0 | [
2,
630,
8247,
400,
368,
21,
12838,
1295,
26,
487,
79,
396,
5388,
6760,
60,
800,
3726,
3726,
51,
1903,
1301,
63,
20,
107,
29,
487,
79,
396,
28,
147,
19,
487,
43,
197,
137,
9,
379,
45,
100,
31,
589,
946,
21,
8247,
953,
568,
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... |
Why does $('someObject').attr("id")[0] not work in IE?
===
The following jquery code works in firefox, but is returning undefined in IE:
$('someObject').attr("id")[0]
Why is that? | 0 | [
2,
483,
630,
5579,
5,
22,
3220,
23793,
22,
6,
9,
10303,
139,
5,
7,
1340,
7,
6,
2558,
387,
500,
52,
170,
19,
13,
660,
60,
800,
3726,
3726,
14,
249,
487,
8190,
93,
1797,
693,
19,
535,
18219,
15,
47,
25,
2485,
367,
13439,
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... |
Why can't I have protected interface members?
===
What is the argument against declaring protected-access members on interfaces? This, for example, is invalid:
public interface IOrange
{
public OrangePeel Peel { get; }
protected OrangePips Seeds { get; }
}
In this example, the int... | 0 | [
2,
483,
92,
22,
38,
31,
57,
3803,
6573,
443,
60,
800,
3726,
3726,
98,
25,
14,
5476,
149,
15594,
3803,
8,
20604,
443,
27,
6573,
18,
60,
48,
15,
26,
823,
15,
25,
16671,
45,
317,
6573,
31,
24304,
13,
1,
317,
2987,
1664,
532,
12... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Howto select an element that has focus on it with jQuery
===
How can you select an element that has current focus?
There is no `:focus` filter in jQuery, that is why we can use something like this:
$('input:focus').someFunction(); | 0 | [
2,
184,
262,
5407,
40,
4520,
30,
63,
1776,
27,
32,
29,
487,
8190,
93,
800,
3726,
3726,
184,
92,
42,
5407,
40,
4520,
30,
63,
866,
1776,
60,
80,
25,
90,
13,
1,
45,
23371,
1,
11945,
19,
487,
8190,
93,
15,
30,
25,
483,
95,
92,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Planning for efficiency early vs Premature optimization
===
I seem to notice two schools of thought emerging in regards to optimization:
1. **Premature optimization is the root of all evil**. You should only optimize when you've written the most readable and simplest thing possible. If after profiling you determ... | 0 | [
2,
2334,
26,
7836,
274,
4611,
17769,
21597,
800,
3726,
3726,
31,
2260,
20,
3551,
81,
1055,
16,
289,
7995,
19,
14179,
20,
21597,
45,
137,
9,
13,
1409,
3515,
540,
6418,
21597,
25,
14,
5900,
16,
65,
3215,
1409,
9,
42,
378,
104,
228... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
DirectX 10 video mode switching and performance
===
In a DirectX 10 application, does switching between fullscreen and windowed mode incur any sort of overhead like having to recreate textures and/or vertexbuffers?
In other words, can I build an application that is designed to do "a lot" of switching between window... | 0 | [
2,
1744,
396,
332,
763,
3740,
13027,
17,
956,
800,
3726,
3726,
19,
21,
1744,
396,
332,
3010,
15,
630,
13027,
128,
503,
7187,
17,
1463,
69,
3740,
19,
4734,
186,
2058,
16,
8860,
101,
452,
20,
21119,
12714,
18,
17,
118,
248,
22895,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How do i get detailed info from a HttpWebResponse
===
I'm making a post httpwebrequst, but in the HttpWebResponse im getting an error code 403 forbidden. Now that error isnt very use full to me.
I then tried a testprogram (that i do not have the source code to :() and used it to make the same post, and it returned... | 0 | [
2,
184,
107,
31,
164,
6036,
15404,
37,
21,
7775,
458,
3692,
18,
8782,
870,
800,
3726,
3726,
31,
22,
79,
544,
21,
678,
7775,
458,
3692,
5495,
384,
15,
47,
19,
14,
7775,
458,
3692,
18,
8782,
870,
797,
1017,
40,
7019,
1797,
13,
2... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to keep dynamically populated datasets to stay with the program?
===
I have a winform application that uses some referenced web services to get data. The data returned is an array of objects that I loop through and add to a dataSet.
When I call the service, it can often take 2 or 3 minutes to get all the data.... | 0 | [
2,
184,
20,
643,
7782,
1326,
11111,
1054,
3554,
18,
20,
1179,
29,
14,
625,
60,
800,
3726,
3726,
31,
57,
21,
628,
4190,
3010,
30,
2027,
109,
17571,
2741,
687,
20,
164,
1054,
9,
14,
1054,
587,
25,
40,
7718,
16,
3916,
30,
31,
529... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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# Treeview state expanded
===
I have a treeview in my masterpage. When a contentpage is loaded i want to save the treeview state (which nodes are collapsed/expanded). I store the nodes in an ArrayList. Code:
private void SaveTreeviewState(TreeNodeCollection nodes)
{
foreach (TreeNode t in nodes)
... | 0 | [
2,
272,
5910,
1541,
4725,
146,
2766,
800,
3726,
3726,
31,
57,
21,
1541,
4725,
19,
51,
1129,
6486,
9,
76,
21,
2331,
6486,
25,
8572,
31,
259,
20,
2079,
14,
1541,
4725,
146,
13,
5,
2140,
16272,
50,
7355,
118,
6899,
290,
69,
6,
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... |
JBoss debugging in Eclipse
===
How do you configure JBoss to debug application with Eclipse? | 0 | [
2,
487,
10349,
18,
121,
16254,
2762,
19,
11652,
800,
3726,
3726,
184,
107,
42,
1065,
15951,
487,
10349,
18,
20,
121,
16254,
3010,
29,
11652,
60,
3,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Relative Paths Not Working in Xcode C++
===
I have never found a solution to this. There are numerous post over the net that detail hwo relative paths don't work in Xcode. I do have an Xcode template that I downloaded where the relative paths DO work, however I have not been able to figure out why nor replicate it in ... | 0 | [
2,
4543,
12074,
52,
638,
19,
993,
9375,
272,
20512,
800,
3726,
3726,
31,
57,
243,
216,
21,
4295,
20,
48,
9,
80,
50,
1548,
678,
84,
14,
4275,
30,
6110,
746,
6374,
4543,
12074,
221,
22,
38,
170,
19,
993,
9375,
9,
31,
107,
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... |
How do I Monitor changes in an ItemsControl using Silverlight?
===
I have an ItemsControl bound to an ObservableCollection. When the observable collection changes, I have an event handler that looks at the children of the ItemsControl. Unfortunately, the ItemsControl hasn't yet added a new item at that time (which is ... | 0 | [
2,
184,
107,
31,
7626,
1693,
19,
40,
3755,
12898,
568,
1172,
3130,
60,
800,
3726,
3726,
31,
57,
40,
3755,
12898,
4138,
20,
40,
5122,
10321,
579,
15015,
872,
9,
76,
14,
5122,
10321,
579,
1206,
1693,
15,
31,
57,
40,
807,
24641,
30... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
PostgreSQL restore and backup solution
===
A) What is the best solution for regularly backing up large PostgreSQL database (version 8.3 running on latest Ubuntu server); please don't say pg_dump with those painfully slow insert statements
B) What is the best solution for PostgreSQL database replication that works ... | 0 | [
2,
678,
6879,
18,
22402,
8454,
17,
10119,
4295,
800,
3726,
3726,
21,
6,
98,
25,
14,
246,
4295,
26,
4217,
3931,
71,
370,
678,
6879,
18,
22402,
6018,
13,
5,
10898,
469,
9,
240,
946,
27,
5736,
287,
12968,
2473,
8128,
6,
73,
2247,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 make Binding respect DependencyProperty value coercion?
===
I have a control with a DependencyProperty with a CoerceValueCallback.
This property is bound to a property on a model object.
When setting the control property to a value that causes coercion the Binding pushes the **uncoerced** value to the mod... | 0 | [
2,
184,
107,
31,
233,
8728,
2873,
26835,
10890,
106,
1084,
1923,
326,
106,
10934,
60,
800,
3726,
3726,
31,
57,
21,
569,
29,
21,
26835,
10890,
106,
1084,
29,
21,
29769,
15165,
9200,
1958,
9,
48,
1354,
25,
4138,
20,
21,
1354,
27,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to access iPhone application directory and store image files there
===
I want to know whether I can access the directory where my application is installed.
Also I want to create a sub directory in the same directory to store all the images I capture in my application. I further want to view the images using iPhon... | 0 | [
2,
184,
20,
1381,
21024,
3010,
16755,
17,
1718,
1961,
6488,
80,
800,
3726,
3726,
31,
259,
20,
143,
1472,
31,
92,
1381,
14,
16755,
113,
51,
3010,
25,
4066,
9,
67,
31,
259,
20,
1600,
21,
972,
16755,
19,
14,
205,
16755,
20,
1718,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Making build process independent of GAC
===
How can we make our build process (Dev Studio 2005) for a .NET project completely independent of what is installed on the GAC on the particular machine that it is running on.
Here's the problem we're trying to solve: Depending on what assemblies happen to have been instal... | 0 | [
2,
544,
1895,
953,
1124,
16,
4369,
150,
800,
3726,
3726,
184,
92,
95,
233,
318,
1895,
953,
13,
5,
14438,
1120,
812,
6,
26,
21,
13,
9,
2328,
669,
1524,
1124,
16,
98,
25,
4066,
27,
14,
4369,
150,
27,
14,
1498,
1940,
30,
32,
25... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Suppressing AfterBuild targets when a crsproj has not been built
===
I have a post-build target in MSBuild to copy some build outputs.
This is linked in as a dependency to the `AfterBuild` target (exposed by `Microsoft.CSharp.targets`):
<Target Name="AfterBuild" DependsOnTargets="InstallUtil;CopyPostBuildFil... | 0 | [
2,
12451,
68,
75,
29361,
7767,
76,
21,
6186,
18,
2740,
728,
63,
52,
74,
392,
800,
3726,
3726,
31,
57,
21,
678,
8,
29361,
2935,
19,
4235,
29361,
20,
4344,
109,
1895,
5196,
18,
9,
48,
25,
4727,
19,
28,
21,
26835,
20,
14,
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... |
Linq Expression Confusion combined with defered execution
===
I'm trying to figure out a way of getting a particular piece of code called when a path is recognised. I'm going to be registering paths from different plugins. This allows them to fight over the paths that they want.
The idea being that the plugins say ... | 0 | [
2,
6294,
1251,
1803,
5677,
2461,
29,
6312,
8519,
5769,
800,
3726,
3726,
31,
22,
79,
749,
20,
1465,
70,
21,
161,
16,
1017,
21,
1498,
1855,
16,
1797,
227,
76,
21,
2013,
25,
7163,
9,
31,
22,
79,
228,
20,
44,
2243,
68,
12074,
37,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 web.config when unit testing an asp .net application
===
I am starting out with unit testing, I have a method that uses the web.config for a connection string.
I was hoping to be able to use
[DeploymentItem("web.config")]
to get the web config file, this still leaves me with null reference exce... | 0 | [
2,
184,
20,
275,
2741,
9,
14093,
2816,
76,
1237,
4431,
40,
28,
306,
13,
9,
2328,
3010,
800,
3726,
3726,
31,
589,
1422,
70,
29,
1237,
4431,
15,
31,
57,
21,
2109,
30,
2027,
14,
2741,
9,
14093,
2816,
26,
21,
2760,
3724,
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... |
When should I use typedef in C++?
===
In my years of C++ (MFC) programming in I never felt the need to use `typedef`, so I don't really know what is it used for. Where should I use it? Are there any real situations where the use of `typedef` is preferred? Or is this really more a C-specific keyword? | 0 | [
2,
76,
378,
31,
275,
1001,
13862,
19,
272,
20512,
60,
800,
3726,
3726,
19,
51,
122,
16,
272,
20512,
13,
5,
79,
7061,
6,
3143,
19,
31,
243,
427,
14,
376,
20,
275,
13,
1,
4474,
13862,
1,
15,
86,
31,
221,
22,
38,
510,
143,
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... |
What's your opinion of Castle ActiveRecord?
===
I need a .Net ORM, and I heard some good things about this. I've had NHibernate running in the past, but this seems to make a lot of things easier.
However, two things made me a little nervous.
1. It uses NHibernate 1.2, which seems old
2. It's still an RC with... | 0 | [
2,
98,
22,
18,
154,
4052,
16,
1339,
1348,
14953,
60,
800,
3726,
3726,
31,
376,
21,
13,
9,
2328,
54,
79,
15,
17,
31,
752,
109,
254,
564,
88,
48,
9,
31,
22,
195,
41,
12109,
15191,
8820,
946,
19,
14,
640,
15,
47,
48,
2206,
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 could cause Session Cookies to disappear mid-session?
===
I have a web application which uses a session cookie to keep users logged on. When they log on, the system generates a GUID which it associates with the User record in the database. The GUID which is then stored in a cookie so it can be then read on each p... | 0 | [
2,
98,
110,
1679,
3723,
19396,
20,
10866,
907,
8,
7202,
5991,
60,
800,
3726,
3726,
31,
57,
21,
2741,
3010,
56,
2027,
21,
3723,
19980,
20,
643,
3878,
13,
19287,
27,
9,
76,
59,
6738,
27,
15,
14,
329,
7920,
18,
21,
9457,
43,
56,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Your thoughts on web design for 16:9 screens
===
I design web apps mainly for desktop use (not PDAs, phones etc) by co-workers and customers. As more users become equipped with 16:9-type screens the traditional screen layouts are no longer ergonomic.
For example, a long vertical navi bar might not fit completely or... | 0 | [
2,
154,
3064,
27,
2741,
704,
26,
347,
45,
518,
14236,
800,
3726,
3726,
31,
704,
2741,
4865,
18,
2011,
26,
17404,
275,
13,
5,
1270,
351,
8016,
15,
14830,
2722,
6,
34,
326,
8,
16355,
17,
5279,
9,
28,
91,
3878,
533,
5503,
29,
347... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 dynamically change a button's CSS class?
===
I'm working on a Wicket-based web application. In the application there are buttons that not every user is authorized to use. These buttons are actually simple links, e.g.
<a wicket:id="publishButton" title="Publish" class="rightPanel_publish"><wick... | 0 | [
2,
25,
80,
21,
161,
20,
7782,
1326,
753,
21,
5167,
22,
18,
272,
18,
18,
718,
60,
800,
3726,
3726,
31,
22,
79,
638,
27,
21,
14414,
8,
1281,
2741,
3010,
9,
19,
14,
3010,
80,
50,
12861,
30,
52,
352,
4155,
25,
9401,
20,
275,
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... |
COM+ Server configuration with custom ConfigurationSection
===
I have a COM+ server hosting a .Net component which implements ServicedComponent.
The COM+ server needs to access a configuration file in which a custom configuration section has been defined.
I can load the configuration fine with the following code... | 0 | [
2,
13,
960,
2430,
8128,
8091,
29,
5816,
8091,
10579,
800,
3726,
3726,
31,
57,
21,
13,
960,
2430,
8128,
10637,
21,
13,
9,
2328,
5912,
56,
8713,
18,
365,
43,
11103,
218,
2291,
9,
14,
13,
960,
2430,
8128,
2274,
20,
1381,
21,
8091,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Java socket programming
===
Leading on from my previous questions I am going to try and clarify one of the problems I am facing.
I am trying to create a multiplayer version of PacMan.
A simple overview of how i've made my application is that I have a server which has a ServerSocket which is constantly listening... | 0 | [
2,
8247,
18482,
3143,
800,
3726,
3726,
1005,
27,
37,
51,
1158,
2346,
31,
589,
228,
20,
1131,
17,
23116,
53,
16,
14,
1716,
31,
589,
4325,
9,
31,
589,
749,
20,
1600,
21,
20262,
615,
16,
9049,
177,
9,
21,
1935,
21598,
16,
184,
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... |
jQuery: Unbind event handlers to bind them again later
===
Does anybody know how to unbind set of event handlers, but memorize them in order to bind them again later? Any suggestions? | 0 | [
2,
487,
8190,
93,
45,
367,
4772,
43,
807,
24641,
18,
20,
10193,
105,
188,
138,
800,
3726,
3726,
630,
11181,
143,
184,
20,
367,
4772,
43,
309,
16,
807,
24641,
18,
15,
47,
26046,
105,
19,
389,
20,
10193,
105,
188,
138,
60,
186,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
How to call a java method from a jsp when an html element is clicked?
===
As title says, how do I call a java class method from a jsp, when certain element is clicked (by example an anchor)? (Without reloading the page)
If this can be done, how I pass the method, some part of the html code of the page that invokes ... | 0 | [
2,
184,
20,
645,
21,
8247,
2109,
37,
21,
487,
3401,
76,
40,
13,
15895,
4520,
25,
15802,
60,
800,
3726,
3726,
28,
581,
898,
15,
184,
107,
31,
645,
21,
8247,
718,
2109,
37,
21,
487,
3401,
15,
76,
1200,
4520,
25,
15802,
13,
5,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Transparent div problem
===
Hey i have this div that shows as a popup:
<div class="popup">
</div>
Then with jquery i add another class to it to give it with the css associated to that class, position, size, color and transparency:
.show {
position: absolute;
color: #F4F5F6;
widt... | 0 | [
2,
14862,
13,
12916,
1448,
800,
3726,
3726,
8409,
31,
57,
48,
13,
12916,
30,
1285,
28,
21,
1675,
576,
45,
13,
1,
12916,
718,
3726,
7,
6057,
576,
7,
1,
13,
1,
118,
12916,
1,
94,
29,
487,
8190,
93,
31,
3547,
226,
718,
20,
32,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
The use of "this" in Java
===
I have a question about the use of "this" in Java.
If I write the following class:
public class Example {
int j;
int k;
public Example(int j, int k) {
j = j;
k = k;
}
public ... | 0 | [
2,
14,
275,
16,
13,
7,
1565,
7,
19,
8247,
800,
3726,
3726,
31,
57,
21,
1301,
88,
14,
275,
16,
13,
7,
1565,
7,
19,
8247,
9,
100,
31,
2757,
14,
249,
718,
45,
317,
718,
823,
13,
1,
19,
38,
487,
73,
19,
38,
680,
73,
317,
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... |
WPF Binding relational ComboBox's from L2S with filtering on all of them.
===
in a WPF project with Linq to SQL, if you use the O/R - designer to create a simple structure with 3 that are all tied with forgin key relataions like so:
Customer <-- Orders <-- Items, and say i want a simpe window with 3 syncronized co... | 0 | [
2,
619,
7721,
8728,
5827,
192,
22621,
5309,
22,
18,
37,
644,
135,
18,
29,
25272,
27,
65,
16,
105,
9,
800,
3726,
3726,
19,
21,
619,
7721,
669,
29,
6294,
1251,
20,
4444,
255,
15,
100,
42,
275,
14,
635,
118,
139,
13,
8,
4742,
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... |
Bash completion for make with generic targets in a Makefile
===
I have a Makefile where most of my targets are created generically through a canned sequence. It seems that bash completion only suggests completions for normal targets, e.g.
target_name:
#$@
and not for generic targets. Is there an... | 0 | [
2,
13158,
5392,
26,
233,
29,
12733,
7767,
19,
21,
233,
16877,
800,
3726,
3726,
31,
57,
21,
233,
16877,
113,
127,
16,
51,
7767,
50,
679,
12733,
1326,
120,
21,
92,
3725,
4030,
9,
32,
2206,
30,
13158,
5392,
104,
5049,
5392,
18,
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... |
Question about GetHashCode implementation
===
http://msdn.microsoft.com/en-us/library/system.object.gethashcode(VS.80).aspx says:
> For the best performance, a hash function must generate a random distribution for all input.
Does it have any effect in performance or it's ok to use a function (like return this.Id... | 0 | [
2,
1301,
88,
164,
25436,
9375,
6123,
800,
3726,
3726,
7775,
6903,
79,
18,
43,
103,
9,
22019,
12980,
9,
960,
118,
219,
8,
267,
118,
1210,
2559,
622,
118,
10724,
9,
23793,
9,
3060,
25436,
9375,
5,
710,
18,
9,
2887,
6,
9,
472,
30... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Django: retrieving abstract-derived models
===
After getting fine answer to my [previous question][1], I came across another problem.
I followed the [third approach][2], being aware of what djangodocs say about [abstract model subclassing][3].
I am using the latest Django, rev 9814. The strange behaviour I get:
... | 0 | [
2,
3857,
14541,
45,
13,
6239,
3272,
8397,
8502,
8,
25891,
2761,
800,
3726,
3726,
75,
1017,
1123,
1623,
20,
51,
636,
3515,
1755,
1291,
1301,
500,
2558,
165,
500,
15,
31,
281,
464,
226,
1448,
9,
31,
709,
14,
636,
8932,
2141,
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... |
How do you do validation in ASP.NET MVC RC?
===
Does ASP.NET MVC provide a standard validator functionality or do you have to create your own validation manually? If the latter, is there any third party validator available that you can use on ASP.NET MVC web applications? | 0 | [
2,
184,
107,
42,
107,
27999,
19,
28,
306,
9,
2328,
307,
8990,
16462,
60,
800,
3726,
3726,
630,
28,
306,
9,
2328,
307,
8990,
1181,
21,
1236,
7394,
3457,
18548,
54,
107,
42,
57,
20,
1600,
154,
258,
27999,
23671,
60,
100,
14,
1932,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Mnesia transactions
===
accidentally some code that I'm writing is slowly turning into a DB system on its own, with incremental indexing, freeform "documents" (aka CouchDB kind) which can have arbitrary properties... annyyywaay... I decided to keep evolving it, mainly for educational purposes, and also to really tight... | 0 | [
2,
307,
2696,
549,
13147,
800,
3726,
3726,
9746,
109,
1797,
30,
31,
22,
79,
1174,
25,
1447,
2101,
77,
21,
13,
9007,
329,
27,
82,
258,
15,
29,
29977,
4348,
68,
15,
551,
4190,
13,
7,
28132,
18,
7,
13,
5,
4176,
4914,
9007,
825,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 - AJAX - Partial followed by full postback problem
===
I've a page that has a series of web controls. One of these controls (a dropdownlist) has AutoPostBack="true" set.
The way the page operates is that a button is clicked to save the form data. This button sits outside of the updatepanel.
So when I hit... | 0 | [
2,
28,
306,
9,
2328,
13,
8,
20624,
13,
8,
7284,
709,
34,
503,
678,
1958,
1448,
800,
3726,
3726,
31,
22,
195,
21,
2478,
30,
63,
21,
231,
16,
2741,
8671,
9,
53,
16,
158,
8671,
13,
5,
58,
2804,
2968,
5739,
6,
63,
3108,
6962,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Is it possible to google search with the gdata API?
===
I might be just thick (nothing new), but I can't seem to find anything related to an old-fashioned, vanilla google search in the gdata API docs. Anyone know if it's possible? (I know it probably is with a little tinkering, but I already have a Python web-scraping... | 0 | [
2,
25,
32,
938,
20,
8144,
2122,
29,
14,
489,
18768,
21,
2159,
60,
800,
3726,
3726,
31,
530,
44,
114,
2318,
13,
5,
8297,
78,
6,
15,
47,
31,
92,
22,
38,
2260,
20,
477,
602,
1597,
20,
40,
315,
8,
15016,
15,
23704,
8144,
2122,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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.