unified_texts stringlengths 32 30.1k | OpenStatus_id int64 0 4 | input_ids list | token_type_ids list | attention_mask list |
|---|---|---|---|---|
Reading Big File Python?
===
I have a very big file 4GB and when I try to read it my computer hangs.
So I want to read it piece by piece and after processing each piece store the processed piece into another file and read next piece.
Is there any method to `yield` these pieces ?
| 0 | [
2,
1876,
580,
3893,
20059,
60,
800,
3726,
3726,
31,
57,
21,
253,
580,
3893,
268,
11400,
17,
76,
31,
1131,
20,
1302,
32,
51,
1428,
4546,
18,
9,
86,
31,
259,
20,
1302,
32,
1855,
34,
1855,
17,
75,
5511,
206,
1855,
1718,
14,
16697... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Doubt in JavaMail program
===
I have created a java mail program to send mails. It was working fine yesterday.. All the mails were received in inbox folder but today mails are not received in inbox and all the mails are storing in junk box folder. Can anyone know why it happens? and what should i do to receive it in i... | 0 | [
2,
3063,
19,
8247,
8079,
625,
800,
3726,
3726,
31,
57,
679,
21,
8247,
4216,
625,
20,
2660,
4216,
18,
9,
32,
23,
638,
1123,
7124,
9,
9,
65,
14,
4216,
18,
46,
420,
19,
19,
5309,
19294,
47,
786,
4216,
18,
50,
52,
420,
19,
19,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to upload a publishing page using features?
===
I'm trying to make a feature to upload a new publishing page in "Pages" library but it doesn't works the way I want. If I see the library using SharePoint Designer my publishing page appears, but it doesn't if I use Internet Explorer.
In the feature I configure th... | 0 | [
2,
184,
20,
71,
8294,
21,
3107,
2478,
568,
967,
60,
800,
3726,
3726,
31,
22,
79,
749,
20,
233,
21,
1580,
20,
71,
8294,
21,
78,
3107,
2478,
19,
13,
7,
6486,
18,
7,
1248,
47,
32,
1437,
22,
38,
693,
14,
161,
31,
259,
9,
100,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Is there a way to decide when a RhinoMocks mock starts recording?
===
As I understand it, a mock object created with RhinoMocks enter the recording state directly when it is created, and then you call Replay() to enter the replay state. I would like to manually decide when the mock object starts recording, or be able ... | 0 | [
2,
25,
80,
21,
161,
20,
4073,
76,
21,
18642,
79,
5668,
18,
10506,
3244,
1576,
60,
800,
3726,
3726,
28,
31,
1369,
32,
15,
21,
10506,
3095,
679,
29,
18642,
79,
5668,
18,
2830,
14,
1576,
146,
1703,
76,
32,
25,
679,
15,
17,
94,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Is there a HAML implementation for use with Python and Django
===
I happened to stumble across [HAML][1], an interesting and beautiful way to mark up contents and write templates for HTML.
Since I use Python and Django for my web developing need, I would like to see if there is a Python implementation of HAML (or s... | 0 | [
2,
25,
80,
21,
4111,
255,
6123,
26,
275,
29,
20059,
17,
3857,
14541,
800,
3726,
3726,
31,
1190,
20,
19436,
464,
636,
1225,
255,
500,
2558,
165,
500,
15,
40,
4883,
17,
1632,
161,
20,
943,
71,
8478,
17,
2757,
22894,
18,
26,
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... |
Parse String to Integer (come hell or high water)
===
I need to maintain a legacy VB.Net web application. Data typing is, I would say, inconsistent. Especially, there are data that is stored sometimes as integers and sometimes as strings and I have to parse strings to integers reliably. If parsing goes wrong it should... | 0 | [
2,
2017,
870,
3724,
20,
13820,
13,
5,
3967,
1094,
54,
183,
308,
6,
800,
3726,
3726,
31,
376,
20,
4027,
21,
7780,
13,
20468,
9,
2328,
2741,
3010,
9,
1054,
25266,
25,
15,
31,
83,
395,
15,
22380,
9,
1118,
15,
80,
50,
1054,
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... |
Optimize sql update
===
We have 2 tables called **TableToUpdate** and **Dates**.
We need to update **TableToUpdate**'s EndTimeKey column by looking from other table **Dates**. We run sql below to do this, but it takes to long to finish.
Table **TableToUpdate** has 6M records.
Table **Dates** has 5000 records.
... | 0 | [
2,
22864,
4444,
255,
11100,
800,
3726,
3726,
95,
57,
172,
7484,
227,
13,
1409,
5924,
262,
576,
8209,
1409,
17,
13,
1409,
8209,
18,
1409,
9,
95,
376,
20,
11100,
13,
1409,
5924,
262,
576,
8209,
1409,
22,
18,
241,
891,
4237,
4698,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 Framework to use for developing a skinned application?
===
I need to develop an application for windows, and it needs to support skins. I am looking for a framework to use. I would much prefer to not use QT, because of it's licensing - GPL is not an option for me, and it is otherwise to expensive (a... | 0 | [
2,
98,
25,
14,
246,
6596,
20,
275,
26,
3561,
21,
13,
22531,
3010,
60,
800,
3726,
3726,
31,
376,
20,
2803,
40,
3010,
26,
1936,
15,
17,
32,
2274,
20,
555,
1188,
18,
9,
31,
589,
699,
26,
21,
6596,
20,
275,
9,
31,
83,
212,
636... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Button Click event getting fired after rowdatabound for grid view
===
When I click on a button which is outside of the GridView in my asp.net page, the GridView rowdatabound event is getting fired before OnClick event for the button. I am using the button for custom paging so I need to reverse the order of these event... | 0 | [
2,
5167,
10840,
807,
1017,
3899,
75,
3131,
18768,
7410,
26,
7354,
1418,
800,
3726,
3726,
76,
31,
10840,
27,
21,
5167,
56,
25,
719,
16,
14,
7354,
4725,
19,
51,
28,
306,
9,
2328,
2478,
15,
14,
7354,
4725,
3131,
18768,
7410,
807,
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 merge tiff images with Delphi?
===
I have 4 small tiff images and I would like to generate a big one by merging the 4 single one. Does anyone know how to do it directly with Delphi or some good component that could do it? | 0 | [
2,
184,
20,
12666,
13,
38,
6021,
3502,
29,
23030,
60,
800,
3726,
3726,
31,
57,
268,
284,
13,
38,
6021,
3502,
17,
31,
83,
101,
20,
7920,
21,
580,
53,
34,
18842,
14,
268,
345,
53,
9,
630,
1276,
143,
184,
20,
107,
32,
1703,
29,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0... |
Reading chunks of a remote file without transferring the whole file ?
===
Is it possible via any Unix utility to read chunks of a remote file (like say 'head' does) instead of transferring the whole file ? | 0 | [
2,
1876,
15009,
18,
16,
21,
5388,
3893,
366,
15798,
14,
979,
3893,
13,
60,
800,
3726,
3726,
25,
32,
938,
1197,
186,
22540,
10082,
20,
1302,
15009,
18,
16,
21,
5388,
3893,
13,
5,
1403,
395,
13,
22,
1743,
22,
630,
6,
700,
16,
15... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Applying the MVP pattern to JDialogs
===
I'm writing a Swing application, and further to [my previous question][1], have settled on using the [Model-View-Presenter][2] pattern to separate the user interface from the business logic.
When my application starts up, it executes the following code:
IModel model =... | 0 | [
2,
11989,
14,
13552,
3732,
20,
487,
4286,
5567,
18,
800,
3726,
3726,
31,
22,
79,
1174,
21,
5587,
3010,
15,
17,
653,
20,
636,
915,
1158,
1301,
500,
2558,
165,
500,
15,
57,
2200,
27,
568,
14,
636,
13998,
8,
4725,
8,
3914,
106,
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... |
Datetime type
===
i have store this kind of datetime: 06.09.2009 12:30:45 . i have been using xml datastore type. i set "06.09.2009 12:30:45" in xml file . "06.09.2009 12:30:45" is there datatype? or Datetime type? | 0 | [
2,
1231,
891,
1001,
800,
3726,
3726,
31,
57,
1718,
48,
825,
16,
1231,
891,
45,
13,
3370,
9,
2545,
9,
2849,
390,
45,
1762,
45,
2520,
13,
9,
31,
57,
74,
568,
23504,
1054,
16828,
1001,
9,
31,
309,
13,
7,
3370,
9,
2545,
9,
2849,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
LinkedList(T) add-method
===
The Add-method from the [ICollection(T)][1] interface has been explicitly implemented by the [LinkedList(T)-][2]class. This collection instead have AddFirst- and AddLast-methods (among others). The explicitly implemented method maps to the AddLast-method. This has some drawbacks and IMHO n... | 0 | [
2,
4727,
5739,
5,
38,
6,
3547,
8,
5909,
1807,
43,
800,
3726,
3726,
14,
3547,
8,
5909,
1807,
43,
37,
14,
636,
49,
15015,
872,
5,
38,
6,
500,
2558,
165,
500,
6573,
63,
74,
13108,
6807,
34,
14,
636,
6258,
69,
5739,
5,
38,
6,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Insert Button into Word Document
===
Is it possible to insert a button into a word document and call as macro on click of this button. Please let me know if you have any similar ideas and also the procedure to do it. | 0 | [
2,
14692,
5167,
77,
833,
4492,
800,
3726,
3726,
25,
32,
938,
20,
14692,
21,
5167,
77,
21,
833,
4492,
17,
645,
28,
9069,
27,
10840,
16,
48,
5167,
9,
2247,
408,
55,
143,
100,
42,
57,
186,
835,
3478,
17,
67,
14,
7004,
20,
107,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Keeping same session with different user-agents
===
Is there a way to use the same session on different user-agents. I have a flash app that is generating a new session id on posting data to myHandler.ashx ( same happens on aspx ). Am i missing a trick here?
| 0 | [
2,
2882,
205,
3723,
29,
421,
4155,
8,
1303,
14128,
800,
3726,
3726,
25,
80,
21,
161,
20,
275,
14,
205,
3723,
27,
421,
4155,
8,
1303,
14128,
9,
31,
57,
21,
4433,
4865,
30,
25,
13500,
21,
78,
3723,
4924,
27,
15669,
1054,
20,
51,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
NSOutlineView - Auto-expand all nodes
===
I've got an NSOutlineView bound to an NSTreeController (if that makes a difference), and I'd like to expand every node in my `-awakeFromNib()`.
I'd also like to programatically select the first child of the first node at the same time. These sorts of things are simple with ... | 0 | [
2,
13,
2172,
1320,
1143,
4725,
13,
8,
3108,
8,
6899,
290,
65,
16272,
800,
3726,
3726,
31,
22,
195,
330,
40,
13,
2172,
1320,
1143,
4725,
4138,
20,
40,
13,
2172,
8101,
12898,
1252,
13,
5,
821,
30,
1364,
21,
2841,
6,
15,
17,
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... |
Java "params" in method signature?
===
In c# if you want a method to have an indeterminate number of parameters you can make the final parameter in the method signature a "params" which to the method looks like an array but allows anyone using the method to put in as many parameters of that type as the want.
I'm fa... | 0 | [
2,
8247,
13,
7,
6351,
79,
18,
7,
19,
2109,
7810,
60,
800,
3726,
3726,
19,
272,
5910,
100,
42,
259,
21,
2109,
20,
57,
40,
19,
546,
3964,
17939,
234,
16,
12905,
42,
92,
233,
14,
426,
18906,
19,
14,
2109,
7810,
21,
13,
7,
6351,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Vim:embedded syntax highligting
===
I have a custom xml file format which can contain blocks of code within certain tags.
For example:
<Root>
<Sql> select * from foo </Sql>
<MoreJunk> ... </MoreJunk>
<Python><![CDATA[
def Bar(*args):
return False
]]><... | 0 | [
2,
1790,
79,
45,
1503,
4283,
7424,
22649,
183,
12828,
1203,
800,
3726,
3726,
31,
57,
21,
5816,
23504,
3893,
2595,
56,
92,
3717,
5198,
16,
1797,
363,
1200,
3383,
18,
9,
26,
823,
45,
13,
1,
14032,
1,
13,
1,
18,
22402,
1,
5407,
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... |
SQL Server (2008) Pass ArrayList or String to SP for IN()
===
I was wondering how I can pass either an ArrayList, List`<int`> or StringBuilder comma delimited list to a stored procedure such that I find a list of IDs using IN():
@myList varchar(50)
SELECT *
FROM tbl
WHERE Id IN (@myList)
... | 0 | [
2,
4444,
255,
8128,
13,
5,
2753,
6,
1477,
7718,
5739,
54,
3724,
20,
3782,
26,
19,
5,
6,
800,
3726,
3726,
31,
23,
5712,
184,
31,
92,
1477,
694,
40,
7718,
5739,
15,
968,
1,
6391,
1,
54,
3724,
20904,
11951,
58,
121,
23012,
968,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Read data from Bar Code Scanner in .net (C#) windows application!!
===
How to read data from Bar Code Scanner in .net windows application?
Can some one give the sequence of steps to be followed? I am very new to that. | 0 | [
2,
1302,
1054,
37,
748,
1797,
23195,
19,
13,
9,
2328,
13,
5,
150,
5910,
6,
1936,
3010,
19015,
800,
3726,
3726,
184,
20,
1302,
1054,
37,
748,
1797,
23195,
19,
13,
9,
2328,
1936,
3010,
60,
92,
109,
53,
590,
14,
4030,
16,
2382,
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,
0,
0,
0,
0,
0,
0,
0... |
Searching for a direct way to load a slice of a gif/png/jpg into an html
===
Anyone know of a fast way to load a slice of an imagine?
It would be something like, else i'll just cut it in gimp, i'm just curious.
<img src="something.gif" x1="10" y1="10" x2="20" y2="20"> | 0 | [
2,
5792,
26,
21,
1744,
161,
20,
6305,
21,
12982,
16,
21,
489,
821,
118,
306,
2723,
118,
12851,
263,
77,
40,
13,
15895,
800,
3726,
3726,
1276,
143,
16,
21,
1512,
161,
20,
6305,
21,
12982,
16,
40,
4382,
60,
32,
83,
44,
301,
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... |
Hacking your own application
===
I am a web developer that is very conscious of security and try and make my web applications as secure as possible.
How ever I have started writing my own windows applications in C# and when it comes testing the security of my C# application, I am really only a novice.
Just wonde... | 0 | [
2,
25787,
154,
258,
3010,
800,
3726,
3726,
31,
589,
21,
2741,
10058,
30,
25,
253,
10806,
16,
1221,
17,
1131,
17,
233,
51,
2741,
3767,
28,
4315,
28,
938,
9,
184,
462,
31,
57,
373,
1174,
51,
258,
1936,
3767,
19,
272,
5910,
17,
7... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What should I use as a check digit algorithm for a base 31 value?
===
I'm using the following set of values to create a 9 character long base 31 value:
0123456789ABCDEFGHJKLMNPQRTUWXY
I was looking at modifying the Luhn algorithm to work with my base.
My question is:
In base 10, the Luhn algorithm doubles ... | 0 | [
2,
98,
378,
31,
275,
28,
21,
2631,
15611,
9083,
26,
21,
1000,
1538,
1923,
60,
800,
3726,
3726,
31,
22,
79,
568,
14,
249,
309,
16,
4070,
20,
1600,
21,
561,
925,
175,
1000,
1538,
1923,
45,
713,
918,
21997,
4167,
3877,
21880,
13862... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Why is compareTo on an Enum final in Java?
===
An Enum in Java implements the Comparable interface. It would have been nice to override Comparable's compareTo method, but here it's marked as final. The default natural order on Enum's compareTo is the listed order. Does anyone know why a Java Enum has this restricti... | 0 | [
2,
483,
25,
11590,
262,
27,
40,
1957,
723,
426,
19,
8247,
60,
800,
3726,
3726,
40,
1957,
723,
19,
8247,
8713,
18,
14,
14109,
6573,
9,
32,
83,
57,
74,
2210,
20,
84,
11891,
14109,
22,
18,
11590,
262,
2109,
15,
47,
235,
32,
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... |
Oracle command-line tools on Linux
===
What is the equivalent of *oradim* on Linux?
Does Oracle even provide anything like that for Linux? | 0 | [
2,
15759,
1202,
8,
1143,
4672,
27,
13024,
800,
3726,
3726,
98,
25,
14,
4602,
16,
1637,
6055,
14160,
2483,
27,
13024,
60,
630,
15759,
166,
1181,
602,
101,
30,
26,
13024,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Does anybody actually use the PSP (Personal Software Process)?
===
I've been reading a bit about this recently but it looks to be a bit heavy. Does anybody have real world experience using it?
Are there any light weight alternatives? | 0 | [
2,
630,
11181,
1121,
275,
14,
351,
3401,
13,
5,
18160,
2306,
953,
6,
60,
800,
3726,
3726,
31,
22,
195,
74,
1876,
21,
1142,
88,
48,
1989,
47,
32,
1879,
20,
44,
21,
1142,
1278,
9,
630,
11181,
57,
683,
126,
1496,
568,
32,
60,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Which method is used to get mail ids given in CC and BCC list in JavaMail?
===
I have created a java mail program to send mails. I have doubt regarding which method is used to get mail id which is given in CC and BCC list?. For To list i have used the below code.
Code :<br>
MimeMessage mime = new MimeMessage(sessi... | 0 | [
2,
56,
2109,
25,
147,
20,
164,
4216,
13,
9178,
504,
19,
8093,
17,
2726,
150,
968,
19,
8247,
8079,
60,
800,
3726,
3726,
31,
57,
679,
21,
8247,
4216,
625,
20,
2660,
4216,
18,
9,
31,
57,
3063,
3467,
56,
2109,
25,
147,
20,
164,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Call a constructor on a already allocated memory
===
here is a short question :
Using C++, how can I call a constructor on a memory region that is already allocated ?
| 0 | [
2,
645,
21,
6960,
248,
27,
21,
614,
11685,
1912,
800,
3726,
3726,
235,
25,
21,
502,
1301,
13,
45,
568,
272,
20512,
15,
184,
92,
31,
645,
21,
6960,
248,
27,
21,
1912,
632,
30,
25,
614,
11685,
13,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
ASP.NET AJAX - Check for async postback via JavaScript
===
Does anyone know the script necessary to check to see if you are in a anync postback via JavaScript?
Thanks. | 0 | [
2,
28,
306,
9,
2328,
20624,
13,
8,
2631,
26,
21,
9507,
150,
678,
1958,
1197,
8247,
8741,
800,
3726,
3726,
630,
1276,
143,
14,
3884,
2378,
20,
2631,
20,
196,
100,
42,
50,
19,
21,
186,
6897,
678,
1958,
1197,
8247,
8741,
60,
3669,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Why would Java classloading fail on Linux, but succeed on Windows?
===
I've got a Java web application (using Spring), deployed with Jetty. If I try to run it on a Windows machine everything works as expected, but if I try to run the same code on my Linux machine, it fails like this:
<pre>[normal startup output]
1... | 0 | [
2,
483,
83,
8247,
718,
16866,
7476,
27,
13024,
15,
47,
7952,
27,
1936,
60,
800,
3726,
3726,
31,
22,
195,
330,
21,
8247,
2741,
3010,
13,
5,
12655,
1573,
6,
15,
6698,
29,
17341,
93,
9,
100,
31,
1131,
20,
485,
32,
27,
21,
1936,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Newsletter: How is it possible to determine how many people opened the e-mail?
===
I heard that it's possible to determine how many people opened a newsletter and analyze WHEN they opened the mail.
I just wanted to know how that's possible... is it necessary to generate a "read confirmation" or is such an analysis ... | 0 | [
2,
17782,
45,
184,
25,
32,
938,
20,
3746,
184,
151,
148,
520,
14,
13,
62,
8,
8079,
60,
800,
3726,
3726,
31,
752,
30,
32,
22,
18,
938,
20,
3746,
184,
151,
148,
520,
21,
17782,
17,
16051,
76,
59,
520,
14,
4216,
9,
31,
114,
4... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
VirtualStore not working on Vista x64
===
I have a little tray application that want's to write to it's own folder under the Program Files directory. I know not an ultimate design and I will fix it, but first I want to understand how this work.
Running this on a 32-bit Vista machine it writes the files to the Vir... | 0 | [
2,
6599,
16828,
52,
638,
27,
13520,
993,
3470,
800,
3726,
3726,
31,
57,
21,
265,
10121,
3010,
30,
259,
22,
18,
20,
2757,
20,
32,
22,
18,
258,
19294,
131,
14,
625,
6488,
16755,
9,
31,
143,
52,
40,
6612,
704,
17,
31,
129,
6098,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 "metadata operation failed" VS2008 linker error?
===
I have a big project that was first created in Borland C++ 6.
We're porting the program gradually to VS2008. There are many projects, which all compile to .lib, and I'm trying to build the exe of the test project for a set of projects.
After fixing... | 0 | [
2,
98,
25,
14,
13,
7,
5909,
58,
18768,
1453,
1702,
7,
4611,
2753,
3508,
106,
7019,
60,
800,
3726,
3726,
31,
57,
21,
580,
669,
30,
23,
64,
679,
19,
3895,
618,
272,
20512,
400,
9,
95,
22,
99,
1295,
68,
14,
625,
5305,
20,
4611,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
psexec inside visual studio
===
I've been trying to get psexec to run executables on remote machines from custom build tasks in visual studio. All of these commands work from the command line but running it from an application seems to be a problem. Some commands work, on other psexec hangs and consequently so do msbu... | 0 | [
2,
351,
6353,
3319,
572,
3458,
1120,
800,
3726,
3726,
31,
22,
195,
74,
749,
20,
164,
351,
6353,
3319,
20,
485,
1396,
17194,
5924,
18,
27,
5388,
6035,
37,
5816,
1895,
8674,
19,
3458,
1120,
9,
65,
16,
158,
14294,
170,
37,
14,
1202... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Network Programming to maintain sockets of not.
===
I'm currently translating an API from C# to Java which has a network component.
The C# version seems to keep the input and output streams and hte socket open for the duration of its classes being used.
Is this correct?
Bearing in mind that the applicaiton is... | 0 | [
2,
982,
3143,
20,
4027,
18482,
18,
16,
52,
9,
800,
3726,
3726,
31,
22,
79,
871,
25237,
40,
21,
2159,
37,
272,
5910,
20,
8247,
56,
63,
21,
982,
5912,
9,
14,
272,
5910,
615,
2206,
20,
643,
14,
6367,
17,
5196,
9464,
17,
746,
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... |
Unit testing code that uses PortalSiteMapProvider
===
I have a web part that uses [PortalSiteMapProvider][1] to query the Sharepoint navigation hierarchy, but unit tests written for that code fail, because the code is being run outside the Sharepoint context and thus no site map providers are available.
I've identi... | 0 | [
2,
1237,
4431,
1797,
30,
2027,
8281,
9097,
15022,
26735,
139,
800,
3726,
3726,
31,
57,
21,
2741,
141,
30,
2027,
636,
1993,
192,
9097,
15022,
26735,
139,
500,
2558,
165,
500,
20,
25597,
14,
1891,
3132,
8368,
14417,
15,
47,
1237,
4894... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Good example of C++ application?
===
Where I can find some good example application written in C++?
I want to read some code in my spare time, how can I get started? | 0 | [
2,
254,
823,
16,
272,
20512,
3010,
60,
800,
3726,
3726,
113,
31,
92,
477,
109,
254,
823,
3010,
642,
19,
272,
20512,
60,
31,
259,
20,
1302,
109,
1797,
19,
51,
8001,
85,
15,
184,
92,
31,
164,
373,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Passing eventArgs to javascript from ASP.NET C# from OnClientClick
===
I have an asp button on my page, in the Page_Load on the code behind, I am binding some javascript calls as follows.
btnExample.OnClientClicking = "functionOne(1,2);"+"function2()";
The problem is I would like to be able to pass the Event... | 0 | [
2,
2848,
807,
10663,
18,
20,
8247,
8741,
37,
28,
306,
9,
2328,
272,
5910,
37,
27,
150,
18513,
6668,
10129,
800,
3726,
3726,
31,
57,
40,
28,
306,
5167,
27,
51,
2478,
15,
19,
14,
2478,
1,
8294,
27,
14,
1797,
439,
15,
31,
589,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Turn off request validation programmatically
===
I have a control that I'm writing where I want to turn off .NET's inbuilt request validation that prevents XSS attacks and similiar sort of nasties.
The control allows the owner of a web-site to adjust the content on that page. They can potentially enter markup if th... | 0 | [
2,
805,
168,
3772,
27999,
625,
6732,
1326,
800,
3726,
3726,
31,
57,
21,
569,
30,
31,
22,
79,
1174,
113,
31,
259,
20,
805,
168,
13,
9,
2328,
22,
18,
19,
8607,
3772,
27999,
30,
2501,
18,
993,
18,
18,
3080,
17,
4861,
12765,
139,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 Integrate ASP.Net Webforms website with an ASP.Net MVC web application?
===
How would I run both of them under one main website, say www.example.com, which is written and deployed using a Visual Studio ASP.Net MVC web application project, and where an ASP.Net Web Forms website, would run from a subdirectory of ... | 0 | [
2,
184,
20,
18399,
28,
306,
9,
2328,
2741,
4190,
18,
2271,
29,
40,
28,
306,
9,
2328,
307,
8990,
2741,
3010,
60,
800,
3726,
3726,
184,
83,
31,
485,
156,
16,
105,
131,
53,
407,
2271,
15,
395,
13,
6483,
9,
29041,
9,
960,
15,
56... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
SQL Formatting Standards
===
In my last job we worked on a very database heavy application and I developed some formatting standards so that we would all write SQL with a common layout. We also developed coding standards but these are more platform specific so I'll not go into them here.
I'm interested to know what... | 0 | [
2,
4444,
255,
2595,
1203,
3364,
800,
3726,
3726,
19,
51,
236,
1205,
95,
577,
27,
21,
253,
6018,
1278,
3010,
17,
31,
885,
109,
2595,
1203,
3364,
86,
30,
95,
83,
65,
2757,
4444,
255,
29,
21,
757,
9106,
9,
95,
67,
885,
13,
15458,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
parseing XML that contain XML in elements, Can this be done.
===
I have a 'complex item' that is in XML, Then a 'workitem' (in xml) that contains lots of other info, and i would like this to contain a string that contains the complex item in xml.
for example:
<inouts name="ClaimType" type="complex" value="<x... | 0 | [
2,
2017,
870,
68,
23504,
30,
3717,
23504,
19,
2065,
15,
92,
48,
44,
677,
9,
800,
3726,
3726,
31,
57,
21,
13,
22,
960,
11326,
9101,
22,
30,
25,
19,
23504,
15,
94,
21,
13,
22,
3783,
2119,
79,
22,
13,
5,
108,
23504,
6,
30,
15... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Ensure uniform (ish) distribution with random number generation
===
I have a list of objects and I would like to access the objects in a random order continuously.
I was wondering if there was a way of ensuring that the random value were not always similar.
Example.
My list is a list of Queues, and I am tryin... | 0 | [
2,
4062,
4347,
13,
5,
1595,
6,
2523,
29,
5477,
234,
2782,
800,
3726,
3726,
31,
57,
21,
968,
16,
3916,
17,
31,
83,
101,
20,
1381,
14,
3916,
19,
21,
5477,
389,
11738,
9,
31,
23,
5712,
100,
80,
23,
21,
161,
16,
14183,
30,
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... |
Removing duplicates from 2d array in Javascript
===
What would be a nice algorithm to remove dupes on an array like below...
var allwords = [
['3-hidroxitiramina', '3-hidroxitiramina'],
['3-hidroxitiramina', '3-hidroxitiramina'],
['3-in-1 block', 'bloqueo 3... | 0 | [
2,
9096,
19429,
18,
37,
172,
43,
7718,
19,
8247,
8741,
800,
3726,
3726,
98,
83,
44,
21,
2210,
9083,
20,
4681,
17938,
160,
27,
40,
7718,
101,
1021,
9,
9,
9,
4033,
65,
12827,
800,
636,
636,
22,
240,
8,
1822,
43,
9419,
242,
3517,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 assign alt + f1 key to an opened Windows application
===
I usually have more then 10 opened application windows. When I write code I need to switch fast between a browser, an IDE and terminal windows. Alt + tab is too slow, too many windows to choose from.
Virtual desktop is a work around for me. On a first ... | 0 | [
2,
184,
20,
13952,
7051,
2754,
398,
165,
1246,
20,
40,
520,
1936,
3010,
800,
3726,
3726,
31,
951,
57,
91,
94,
332,
520,
3010,
1936,
9,
76,
31,
2757,
1797,
31,
376,
20,
5521,
1512,
128,
21,
16495,
15,
40,
13,
3448,
17,
3855,
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 avoid the final keyword?
===
In java, is there ever a case for allowing a non-abstract class to be extended?
It always seems to indicate bad code when there are class hierarchies. Do you agree, and why/ why not? | 0 | [
2,
483,
2658,
14,
426,
1246,
9587,
60,
800,
3726,
3726,
19,
8247,
15,
25,
80,
462,
21,
610,
26,
2719,
21,
538,
8,
2297,
18,
19915,
718,
20,
44,
1984,
60,
32,
550,
2206,
20,
4342,
896,
1797,
76,
80,
50,
718,
21376,
1596,
9,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0... |
Direct file access in delphi
===
my application opens files does transformations and saves the data out to another file..or possible the same file.. the file size changes but i dont know how big or small its gona be untill i see the data inside the first file..
At the moment i load the file into a dynamic array do ... | 0 | [
2,
1744,
3893,
1381,
19,
23030,
800,
3726,
3726,
51,
3010,
8965,
6488,
630,
6978,
18,
17,
16815,
14,
1054,
70,
20,
226,
3893,
9,
9,
248,
938,
14,
205,
3893,
9,
9,
14,
3893,
1072,
1693,
47,
31,
1049,
143,
184,
580,
54,
284,
82,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
XY Layout JAVA
===
is there any sort of XY-Layout to Java?
So I can set a Button at the X and Y cordinate and that it is suppose to be that big etc.... Because this border layout and grid and panel thing is driven me crazy. :)
They are flowing every were and getting strecht up. And to make them small you have ... | 0 | [
2,
13,
15161,
9106,
8247,
800,
3726,
3726,
25,
80,
186,
2058,
16,
13,
15161,
8,
4414,
1320,
20,
8247,
60,
86,
31,
92,
309,
21,
5167,
35,
14,
993,
17,
13,
93,
272,
23239,
17,
30,
32,
25,
5787,
20,
44,
30,
580,
2722,
9,
9,
9... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
screen scrapping technique using php
===
How to screen scrap a particular website. I need to login into the website and then scrap the inner information.
How it's possible?
Please guide me. | 0 | [
2,
2324,
10241,
3181,
4873,
568,
13,
26120,
800,
3726,
3726,
184,
20,
2324,
10241,
21,
1498,
2271,
9,
31,
376,
20,
6738,
108,
77,
14,
2271,
17,
94,
10241,
14,
3754,
676,
9,
184,
32,
22,
18,
938,
60,
2247,
3378,
55,
9,
3,
0,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Deserialize a byte array to a struct
===
I get a transmission over the network that's an array of chars/bytes. It contains a header and some data. I'd like to map the header onto a struct. Here's an example:
#pragma pack(1)
struct Header
{
unsigned short bodyLength;
int msgID;
u... | 0 | [
2,
1746,
106,
2815,
2952,
21,
34,
591,
7718,
20,
21,
13,
10346,
800,
3726,
3726,
31,
164,
21,
5213,
84,
14,
982,
30,
22,
18,
40,
7718,
16,
4892,
18,
118,
23246,
18,
9,
32,
1588,
21,
157,
106,
17,
109,
1054,
9,
31,
22,
43,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How important is knowing Regexs?
===
My personal experience is that regexs solve problems that can't be efficiently solved any other way, and are so frequently required in a world where strings are as important as they are that not having a firm grasp of the subject would be sufficient reason for me to consider *not* ... | 0 | [
2,
184,
681,
25,
2506,
7953,
1706,
18,
60,
800,
3726,
3726,
51,
1319,
1496,
25,
30,
7953,
1706,
18,
8402,
1716,
30,
92,
22,
38,
44,
20519,
15091,
186,
89,
161,
15,
17,
50,
86,
3086,
1390,
19,
21,
126,
113,
7887,
50,
28,
681,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 jQuery equivalent of Prototype's Element.extend
===
I know that jQuery.extend can be used to add by own custom methods to an object such as a DOM element but Prototype's Element.extend adds all the DOM element helper methods to the object. It is that functionality that I am after.
For instance
th... | 0 | [
2,
98,
25,
14,
487,
8190,
93,
4602,
16,
7063,
22,
18,
4520,
9,
1706,
1316,
43,
800,
3726,
3726,
31,
143,
30,
487,
8190,
93,
9,
1706,
1316,
43,
92,
44,
147,
20,
3547,
34,
258,
5816,
3195,
20,
40,
3095,
145,
28,
21,
11859,
452... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 style <input type="text"> in IE6 CSS?
===
Is there any elegant way of applying a certain style to all `<input type="text">` elements under IE6? I can do it with some JavaScript, but I was wondering if there was a more elegant way of doing it.
Note - I cannot apply a certain class to all textboxes by hand. An... | 0 | [
2,
184,
20,
1034,
13,
1,
108,
4881,
1001,
3726,
7,
11969,
7,
1,
19,
13,
660,
379,
272,
18,
18,
60,
800,
3726,
3726,
25,
80,
186,
11614,
161,
16,
11989,
21,
1200,
1034,
20,
65,
13,
1,
108,
4881,
1001,
3726,
7,
11969,
7,
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... |
error clause for file_put_contents
===
I am using this line to obtain and save an image from a URL.
file_put_contents("./images/".$pk.".jpg", file_get_contents($PIC_URL))
I am unsure what the best way to deal with an error is. At the moment it is failing because there is no permission, which will be remedied... | 0 | [
2,
7019,
9040,
26,
3893,
1,
4881,
1,
25424,
18,
800,
3726,
3726,
31,
589,
568,
48,
293,
20,
5545,
17,
2079,
40,
1961,
37,
21,
287,
6362,
9,
3893,
1,
4881,
1,
25424,
18,
5,
7,
9,
118,
22039,
18,
118,
7,
9,
4403,
17244,
9,
7... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Any recommendations for a PDF 3D SDK with C++ interface
===
I'm on the look out for a Cor C++ library / SDK that will allow me to either write a 3d PDF directly, or convert a DXF or DWG into a 3D PDF. So far I have come up with the [PDF3d library][1] which fits the bill, but is reasonably costly and has an expensive ... | 0 | [
2,
186,
12121,
26,
21,
13,
11124,
203,
43,
13,
18,
43,
197,
29,
272,
20512,
6573,
800,
3726,
3726,
31,
22,
79,
27,
14,
361,
70,
26,
21,
2827,
272,
20512,
1248,
13,
118,
13,
18,
43,
197,
30,
129,
1655,
55,
20,
694,
2757,
21,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Browse dialog for shoes
===
Okay so I want to use Shoes for some of my programs, but what I absolutely need is a "Browse..." dialog so the user can browse for a directory/file locally. How can I do that? | 0 | [
2,
10175,
62,
28223,
26,
5028,
800,
3726,
3726,
1705,
86,
31,
259,
20,
275,
5028,
26,
109,
16,
51,
1726,
15,
47,
98,
31,
6916,
376,
25,
21,
13,
7,
25699,
870,
9,
9,
9,
7,
28223,
86,
14,
4155,
92,
10175,
62,
26,
21,
16755,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
How to modify Bind("MyValue") in asp.net
===
I'm having headache with Time values and multiple time zones.
I'm storing new DateTime values in UTC time, but I face problem when I try to modify them using LinqDataSource and GridView.
I can easily show correct time in
<ItemTemplate>
<asp:Label ID="Lab... | 0 | [
2,
184,
20,
17579,
10193,
5,
7,
915,
15165,
7,
6,
19,
28,
306,
9,
2328,
800,
3726,
3726,
31,
22,
79,
452,
14276,
29,
85,
4070,
17,
1886,
85,
11225,
9,
31,
22,
79,
25615,
78,
1231,
891,
4070,
19,
13,
11440,
85,
15,
47,
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... |
Cross-platform gui toolkit for deploying Python applications
===
Building on:
http://www.reddit.com/r/Python/comments/7v5ra/whats_your_favorite_gui_toolkit_and_why/
#Merits:
1 - ease of design / integration - learning curve
2 - support / availability for *nix, Windows, Mac, extra points for native l&f, suppo... | 0 | [
2,
919,
8,
27035,
9457,
5607,
13703,
26,
17617,
68,
20059,
3767,
800,
3726,
3726,
353,
27,
45,
7775,
6903,
6483,
9,
2095,
43,
242,
9,
960,
118,
139,
118,
6448,
11570,
118,
960,
6601,
118,
465,
710,
264,
525,
118,
608,
18,
1,
431... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Controlling the value of 'this' in a JQuery event
===
I have created a 'control' using jQuery and used jQuery.extend to assist in making it as OO as possible.
During the initialisation of my control I wire up various click events like so
jQuery('#available input',
this.controlDiv).bind('cli... | 0 | [
2,
10106,
14,
1923,
16,
13,
22,
1565,
22,
19,
21,
487,
8190,
93,
807,
800,
3726,
3726,
31,
57,
679,
21,
13,
22,
12898,
22,
568,
487,
8190,
93,
17,
147,
487,
8190,
93,
9,
1706,
1316,
43,
20,
5404,
19,
544,
32,
28,
13,
4328,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Why is there no Linq method to return distinct values by a predicate?
===
I want to get the distinct values in a list, but not by the standard equality comparison.
What I want to do is something like this:
return myList.Distinct( (x, y) => x.Url == y.Url );
I can't, there's no extension method in Linq tha... | 0 | [
2,
483,
25,
80,
90,
6294,
1251,
2109,
20,
788,
4421,
4070,
34,
21,
28712,
60,
800,
3726,
3726,
31,
259,
20,
164,
14,
4421,
4070,
19,
21,
968,
15,
47,
52,
34,
14,
1236,
10337,
6050,
9,
98,
31,
259,
20,
107,
25,
301,
101,
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... |
What's the cleanest way to extract URL's from a string using Python?
===
Although I know I could use some hugeass regex such as the one posted [here](http://geekswithblogs.net/casualjim/archive/2005/12/01/61722.aspx) I'm wondering if there is some tweaky as hell way to do this either with a standard module or perhaps ... | 0 | [
2,
98,
22,
18,
14,
2745,
1430,
161,
20,
10962,
287,
6362,
22,
18,
37,
21,
3724,
568,
20059,
60,
800,
3726,
3726,
419,
31,
143,
31,
110,
275,
109,
2329,
9755,
7953,
1706,
145,
28,
14,
53,
6054,
636,
6836,
500,
5,
21127,
6903,
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... |
Lookup tables in OCaml
===
I would like to create a lookup table in OCaml. The table will have 7000+ entries that, upon lookup (by int), return a string. What is an appropriate data structure to use for this task? Should the table be externalized from the base code and if so, how does one go about "including" the look... | 0 | [
2,
361,
576,
7484,
19,
13,
14977,
8184,
800,
3726,
3726,
31,
83,
101,
20,
1600,
21,
361,
576,
859,
19,
13,
14977,
8184,
9,
14,
859,
129,
57,
453,
3993,
2430,
11399,
30,
15,
685,
361,
576,
13,
5,
779,
19,
38,
6,
15,
788,
21,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Why can't you overload operator. in C++?
===
It would be very useful to be able to overload the . operator in C++ and return a reference to an object.
You can overload `operator->` and `operator*` but not `operator.`
Is there a technical reason for this? | 0 | [
2,
483,
92,
22,
38,
42,
84,
8294,
6022,
9,
19,
272,
20512,
60,
800,
3726,
3726,
32,
83,
44,
253,
4811,
20,
44,
777,
20,
84,
8294,
14,
13,
9,
6022,
19,
272,
20512,
17,
788,
21,
2801,
20,
40,
3095,
9,
42,
92,
84,
8294,
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... |
Oracle connections in Spring
===
I am using Oracle 9 JDBC Thin Driver - the connection string I have used for standard JDBC was:
jdbcConn.connect("jdbc:oracle:thin:myDevDb/myDevDb@fooServer:1521:MYSIDNAME");
...just trying to get my head around using this kind of connection in Spring 2.5.
How do you wir... | 0 | [
2,
15759,
6760,
19,
1573,
800,
3726,
3726,
31,
589,
568,
15759,
561,
487,
43,
7229,
2951,
2425,
13,
8,
14,
2760,
3724,
31,
57,
147,
26,
1236,
487,
43,
7229,
23,
45,
487,
43,
7229,
1126,
103,
9,
25996,
5,
7,
728,
43,
7229,
45,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Functional style C# API design (returning function parameter augmented with calculation result)
===
There is a question regarding usage of functional programming techiques in C# code. Example
Let we have interface
interface IGraph { /*contains vertices and edges*/}
Suppose we need to layout graph's vertices (... | 0 | [
2,
7652,
1034,
272,
5910,
21,
2159,
704,
13,
5,
24632,
68,
1990,
18906,
22392,
29,
19644,
829,
6,
800,
3726,
3726,
80,
25,
21,
1301,
3467,
7514,
16,
7652,
3143,
6145,
5312,
18,
19,
272,
5910,
1797,
9,
823,
408,
95,
57,
6573,
657... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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# Issue: How do I save changes made in a DataGridView back to the DataTable used?
===
I get a DataTable from a DataSet and then bind that DataTable to a DataGridView. Once the user edits the information on the DataGridView how do I take those changes and put them back into a DataTable that was used that I can then pu... | 0 | [
2,
272,
5910,
1513,
45,
184,
107,
31,
2079,
1693,
117,
19,
21,
1054,
16375,
4725,
97,
20,
14,
1054,
5924,
147,
60,
800,
3726,
3726,
31,
164,
21,
1054,
5924,
37,
21,
1054,
3554,
17,
94,
10193,
30,
1054,
5924,
20,
21,
1054,
16375,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 Unit test, Integration Test, Smoke test, Regression Test?
===
What is Unit test, Integration Test, Smoke test, Regression Test and what are the differences between them? | 0 | [
2,
98,
25,
1237,
1289,
15,
8078,
1289,
15,
3371,
1289,
15,
27369,
1289,
60,
800,
3726,
3726,
98,
25,
1237,
1289,
15,
8078,
1289,
15,
3371,
1289,
15,
27369,
1289,
17,
98,
50,
14,
4921,
128,
105,
60,
3,
0,
0,
0,
0,
0,
0,
0,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Entity Framework as Repository and UnitOfWork?
===
I'm starting a new project and have decided to try to incorporate DDD patterns and also include Linq to Entities. When I look at the EF's ObjectContext it seems to be performing the functions of both Repository and Unit of Work patterns:
Repository in the sense th... | 0 | [
2,
9252,
6596,
28,
24869,
17,
1237,
1041,
3783,
60,
800,
3726,
3726,
31,
22,
79,
1422,
21,
78,
669,
17,
57,
868,
20,
1131,
20,
14710,
13,
43,
8096,
6282,
17,
67,
468,
6294,
1251,
20,
12549,
9,
76,
31,
361,
35,
14,
11599,
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... |
Why is the linux kernel not implemented in C++?
===
Why is C as programming language still so prominent when it comes to OS programming? Shouldn't C++ have replaced it a long time ago as its successor? | 0 | [
2,
483,
25,
14,
13024,
17007,
52,
6807,
19,
272,
20512,
60,
800,
3726,
3726,
483,
25,
272,
28,
3143,
816,
174,
86,
2357,
76,
32,
1624,
20,
13,
759,
3143,
60,
5714,
22,
38,
272,
20512,
57,
1141,
32,
21,
175,
85,
1464,
28,
82,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
C# lambda - curry usecases
===
I read [This article][1] and i found it interesting.
To sum it up for those who don't want to read the entire post. The author implements a higher order function named Curry like this (refactored by me without his internal class):
public static Func<T1, Func<T2, TResult... | 0 | [
2,
272,
5910,
13,
24187,
13,
8,
18239,
275,
10325,
18,
800,
3726,
3726,
31,
1302,
636,
1565,
2002,
500,
2558,
165,
500,
17,
31,
216,
32,
4883,
9,
20,
3907,
32,
71,
26,
273,
72,
221,
22,
38,
259,
20,
1302,
14,
1078,
678,
9,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
PubDate is essential to RSS? How to fill this field create in Yahoo Pipes?
===
I am creating [a Yahoo! Pipe](http://pipes.yahoo.com/pipes/pipe.info?_id=atCUO0T03RG3TpwCPxJ3AQ) to [a news site](http://www.cbncuritiba.com.br/index.php?pag=todas) but the source doesn't have a date/time for each item. I wonder if my RSS w... | 0 | [
2,
6329,
8209,
25,
5832,
20,
13,
1224,
18,
60,
184,
20,
3509,
48,
575,
1600,
19,
23553,
14104,
60,
800,
3726,
3726,
31,
589,
2936,
636,
58,
23553,
187,
7642,
500,
5,
21127,
6903,
15185,
18,
9,
1046,
8884,
9,
960,
118,
15185,
18,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How do I get the "irb(main):001:0>" prompt instead of ">>"
===
Ruby is preinstalled on my Mac and so I wanted to have a look at it. First thing I noticed, is that irb prompts >> instead of irb(main):001:0>. I can't find anything on how to change this with Google because everyone is using irb(main):001:0> in their code... | 0 | [
2,
184,
107,
31,
164,
14,
13,
7,
49,
7549,
5,
6232,
6,
45,
18951,
45,
387,
1,
7,
11443,
4417,
700,
16,
13,
7,
1,
7,
800,
3726,
3726,
10811,
25,
782,
108,
21300,
69,
27,
51,
1572,
17,
86,
31,
417,
20,
57,
21,
361,
35,
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... |
how to search from all field in sql
===
For example my table is here>>
CREATE TABLE tProject(
name nvarchar(1000),
Goal ntext,
Activities ntext,
Result ntext,
MonName nvarchar(1000),
MonGoal ntext,
MonActivities ntext,
MonResult ntext,
TotalFund nvarchar(100))
how to search from all ntext... | 0 | [
2,
184,
20,
2122,
37,
65,
575,
19,
4444,
255,
800,
3726,
3726,
26,
823,
51,
859,
25,
235,
1,
1600,
859,
13,
38,
21011,
5,
204,
13,
103,
3311,
5433,
5,
19484,
6,
15,
1195,
13,
103,
11969,
15,
1648,
13,
103,
11969,
15,
829,
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... |
Thread progress to GUI
===
I implemented threading in my application for scraping websites. After all the sites are scrapped I want to process them.
form creates queueworker(which creates 2 workers and processes tasks).
After all the tasks are done I want to process them baack in the formthread.
At this point I a... | 0 | [
2,
9322,
3455,
20,
9457,
800,
3726,
3726,
31,
6807,
9322,
68,
19,
51,
3010,
26,
25611,
13931,
9,
75,
65,
14,
3259,
50,
16656,
31,
259,
20,
953,
105,
9,
505,
9695,
22521,
22560,
5,
2140,
9695,
172,
2004,
17,
5102,
8674,
6,
9,
7... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
jQuery Queueing Animations
===
I have three images and using the following code I have then fade in an out on mouse rollover. (they are all in a div of their own with the class 'thumbs')
$(".thumbs img").fadeTo("slow", 0.3);
$(".thumbs img").hover(function(){
$(this).fadeTo("normal", 1.0);
... | 0 | [
2,
487,
8190,
93,
22521,
68,
6236,
18,
800,
3726,
3726,
31,
57,
132,
3502,
17,
568,
14,
249,
1797,
31,
57,
94,
11381,
19,
40,
70,
27,
7567,
3001,
2549,
9,
13,
5,
2077,
50,
65,
19,
21,
13,
12916,
16,
66,
258,
29,
14,
718,
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... |
Scene graph implementation for Papervision ?
===
I'm trying to use Papervision for Flash, for this project of mine, which involves a 3D model of a mechanical frame, consisting of several connected parts. Movement of one of the parts results in a corresponding change in orientation and position of other parts of the f... | 0 | [
2,
1691,
7210,
6123,
26,
1397,
10732,
13,
60,
800,
3726,
3726,
31,
22,
79,
749,
20,
275,
1397,
10732,
26,
4433,
15,
26,
48,
669,
16,
1114,
15,
56,
6569,
21,
203,
43,
1061,
16,
21,
4953,
3523,
15,
4160,
16,
238,
2587,
1341,
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... |
Translating a query to use Zend_Db_Select
===
I'm having some problems translating this query to use ZF's `Zend_Db_Select`:
SELECT b.id, b.title, b.description
FROM memberships AS m
JOIN blogs AS b ON b.id = m.blog_id
WHERE m.user_id = ?
ORDER BY m.created
LIMIT 0, 30
(this query ... | 0 | [
2,
25237,
21,
25597,
20,
275,
10526,
43,
1,
9007,
1,
18,
16964,
800,
3726,
3726,
31,
22,
79,
452,
109,
1716,
25237,
48,
25597,
20,
275,
2052,
410,
22,
18,
13,
1,
4257,
43,
1,
9007,
1,
18,
16964,
1,
45,
5407,
334,
9,
1340,
15... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Does static variables in php persist across the requests?
===
Static variable gotcha in php
-----------------------------
I am from Java background and have switched to php for one project recently.
I have found one unexpected behaviour in php.
> **Value set to some static variable is**
> **not staying persi... | 0 | [
2,
630,
12038,
12157,
19,
13,
26120,
22084,
464,
14,
12279,
60,
800,
3726,
3726,
12038,
7612,
330,
1651,
19,
13,
26120,
13,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
3... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Finding the hosting PropertyInfo from the MethodInfo of getter/setter
===
I do some type analysis in runtime using Reflection. If I have a MethodInfo instance,
how can I figure out if this is a "real" method or is a getter/setter method of a property? And if it is a property, how can I find the its hosting PropertyIn... | 0 | [
2,
3007,
14,
10637,
1354,
108,
4120,
37,
14,
2109,
108,
4120,
16,
164,
815,
118,
18,
22323,
800,
3726,
3726,
31,
107,
109,
1001,
2495,
19,
485,
891,
568,
9138,
9,
100,
31,
57,
21,
2109,
108,
4120,
4851,
15,
184,
92,
31,
1465,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Identify this Algorithm: Slots and Pegs
===
I have a number of slots and pegs arranged in a straight line. The pegs can be moved and need to be moved to a slot each. A slot can be left empty only if all pegs are taken. When a peg is moved, it is not allowed to go past another peg. In other words the order of the pegs ... | 0 | [
2,
5808,
48,
9083,
45,
7958,
18,
17,
16699,
18,
800,
3726,
3726,
31,
57,
21,
234,
16,
7958,
18,
17,
16699,
18,
4300,
19,
21,
1599,
293,
9,
14,
16699,
18,
92,
44,
385,
17,
376,
20,
44,
385,
20,
21,
7958,
206,
9,
21,
7958,
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... |
script to save file as unicode
===
Do you know any way that I could programmatically or via scrirpt transform a set of text files saved in ansi character encoding, to unicode encoding?
I would like to do the same as I do when I open the file with notepad and choose to save it as an unicode file. | 0 | [
2,
3884,
20,
2079,
3893,
28,
28010,
800,
3726,
3726,
107,
42,
143,
186,
161,
30,
31,
110,
625,
6732,
1326,
54,
1197,
15879,
1523,
4417,
8007,
21,
309,
16,
1854,
6488,
4377,
19,
40,
18,
49,
925,
19608,
15,
20,
28010,
19608,
60,
3... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Python "property object has no attribute" Exception
===
confirmation = property(_get_confirmation, _set_confirmation)
confirmation.short_description = "Confirmation"
When I try the above I get an Exception I don't quite understand:
AttributeError: 'property' object has no attribute 'short_description'
... | 0 | [
2,
20059,
13,
7,
10890,
106,
1084,
3095,
63,
90,
35,
14755,
7,
5391,
800,
3726,
3726,
15939,
800,
1354,
5,
1,
3060,
1,
1126,
20590,
857,
15,
13,
1,
3554,
1,
1126,
20590,
857,
6,
15939,
9,
10849,
1,
546,
8741,
872,
800,
13,
7,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to handle null objects in XML coming from SQL Server?
===
I have a stored procedure that returns an object as XML. How do I handle the case where the object doesn't exist?
I can't return null or empty string as the XmlReader complains that it is not valid XML.
If I return an empty Tag, how do I tell if it is... | 0 | [
2,
184,
20,
3053,
16203,
3916,
19,
23504,
880,
37,
4444,
255,
8128,
60,
800,
3726,
3726,
31,
57,
21,
8214,
7004,
30,
4815,
40,
3095,
28,
23504,
9,
184,
107,
31,
3053,
14,
610,
113,
14,
3095,
1437,
22,
38,
3182,
60,
31,
92,
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... |
Learning Days C#
===
How can i learn next wednesday, monday in a week? Forexample Today 06.02.2009 next Monday 09.02.2009 or wednesday 11.02.2009 there is any algorithm? | 0 | [
2,
2477,
509,
272,
5910,
800,
3726,
3726,
184,
92,
31,
2484,
328,
8885,
15,
5745,
19,
21,
877,
60,
26,
29041,
786,
13,
3370,
9,
3564,
9,
2849,
328,
5745,
13,
2545,
9,
3564,
9,
2849,
54,
8885,
547,
9,
3564,
9,
2849,
80,
25,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Accessing a .NET Assembly from classic ASP
===
I have been trying to access a .NET Assembly that I have created in classic ASP using
dim foo
set foo = Server.CreateObject("TestAssembly.MyClass")
The problem is I'm getting an error:
Server object error 'ASP 0177 : 800401f3'
Server.CreateObj... | 0 | [
2,
1381,
68,
21,
13,
9,
2328,
1475,
37,
2732,
28,
306,
800,
3726,
3726,
31,
57,
74,
749,
20,
1381,
21,
13,
9,
2328,
1475,
30,
31,
57,
679,
19,
2732,
28,
306,
568,
5937,
4310,
111,
309,
4310,
111,
800,
8128,
9,
6037,
1373,
23... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
deploying bug-fixes & small features (to web) mid-sprint with scrum
===
[Schwaber & Beedle's 'scrum' book][1] (and the other scrum literature I've read) seems to focus on having a releasable product by the end of the sprint. Web development for an established site (at least in our case) consists of developing 'enhance... | 0 | [
2,
17617,
68,
6256,
8,
18594,
160,
279,
284,
967,
13,
5,
262,
2741,
6,
907,
8,
18,
10299,
29,
26562,
800,
3726,
3726,
636,
2992,
1608,
2102,
279,
44,
69,
413,
22,
18,
13,
22,
18,
25241,
22,
360,
500,
2558,
165,
500,
13,
5,
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... |
Doubt in build.xml file in Apache-Ant1.6.5
===
I have used Collections in my code with Generics. When try to compile that java file in build.xml, its showing error at generics and its saying its not a statement. I am using Apache-Ant-1.6.5 and i have installed JDK 1.5 only . I know generic will support in jdk1.5 but ... | 0 | [
2,
3063,
19,
1895,
9,
396,
8184,
3893,
19,
17140,
8,
1830,
165,
9,
379,
9,
264,
800,
3726,
3726,
31,
57,
147,
5721,
19,
51,
1797,
29,
12733,
18,
9,
76,
1131,
20,
26561,
30,
8247,
3893,
19,
1895,
9,
396,
8184,
15,
82,
3187,
7... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Defining default sort-order in Grails/GORM
===
Let's say I have definied a User object using GORM. Each user can have zero or more Login:s. Each Login has a timestamp. When retrieving user.logins I want the logins to be sorted based on the value of login.date. What is the correct Grails way to achieve this?
Example... | 0 | [
2,
14684,
12838,
2058,
8,
7861,
19,
489,
7301,
18,
118,
6979,
79,
800,
3726,
3726,
408,
22,
18,
395,
31,
57,
6312,
2651,
69,
21,
4155,
3095,
568,
4901,
79,
9,
206,
4155,
92,
57,
4606,
54,
91,
6738,
108,
45,
18,
9,
206,
6738,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 XAML style, how to change solid background to gradient?
===
I've got a MainResources.xaml file in which I have a style that defines how each of my windows in my application look:
<Style x:Key="MainBorderStyle" TargetType="{x:Type Border}">
<Setter Property="Background" Value="WhiteSmoke" />
... | 0 | [
2,
19,
13,
6791,
8184,
1034,
15,
184,
20,
753,
2941,
2395,
20,
17442,
60,
800,
3726,
3726,
31,
22,
195,
330,
21,
407,
99,
12097,
18,
9,
6791,
8184,
3893,
19,
56,
31,
57,
21,
1034,
30,
13110,
184,
206,
16,
51,
1936,
19,
51,
3... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to delete all comments from XML using XQuery on SQL Server 2005?
===
I can easily select all comments from XML by
select @XML.query('comment()')
but can't find how to delete them. Is there appropriate syntax for @XML.modify('delete ...')? | 0 | [
2,
184,
20,
27448,
65,
7534,
37,
23504,
568,
993,
8190,
93,
27,
4444,
255,
8128,
812,
60,
800,
3726,
3726,
31,
92,
2351,
5407,
65,
7534,
37,
23504,
34,
5407,
13,
1,
396,
8184,
9,
8190,
93,
5,
22,
960,
1130,
5,
6,
22,
6,
47,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Where is Python used? I read about it a lot on Reddit.
===
I have downloaded the Pyscripter and learning Python. But I have no Idea if it has any job value , especially in India. I am learning Python as a Hobby. But it would be comforting to know if Python programmers are in demand in India. | 0 | [
2,
113,
25,
20059,
147,
60,
31,
1302,
88,
32,
21,
865,
27,
402,
43,
242,
9,
800,
3726,
3726,
31,
57,
23887,
14,
7103,
8741,
106,
17,
2477,
20059,
9,
47,
31,
57,
90,
882,
100,
32,
63,
186,
1205,
1923,
13,
15,
1118,
19,
739,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Disable messages in SQL2008 result set
===
further to [these][1] [two][2] questions, is there a way to disable the messages that may get sent along with the resultset in SQL2008?
(please note this is nothing to do with the ANSI_WARNINGS setting)
Thanks for any help.
[1]: http://stackoverflow.com/questions/4... | 0 | [
2,
1460,
579,
7561,
19,
4444,
255,
2753,
829,
309,
800,
3726,
3726,
653,
20,
636,
11836,
500,
2558,
165,
500,
636,
3734,
500,
2558,
135,
500,
2346,
15,
25,
80,
21,
161,
20,
1460,
579,
14,
7561,
30,
123,
164,
795,
303,
29,
14,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What are the advantages of using an MVC framework over e.g. Drupal to build a large website?
===
I am writing a comparison between 3 technology options for building our new website:
* Wordpress
* Drupal
* An MVC framework
The boss is sure we should use Wordpress, but the site will be big, with many sections, s... | 0 | [
2,
98,
50,
14,
14683,
16,
568,
40,
307,
8990,
6596,
84,
13,
62,
9,
263,
9,
15708,
6720,
20,
1895,
21,
370,
2271,
60,
800,
3726,
3726,
31,
589,
1174,
21,
6050,
128,
203,
1099,
6368,
26,
353,
318,
78,
2271,
45,
1637,
833,
5890,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 ruby strongly or weakly typed ?
===
Is ruby strongly or weakly typed ?
Presumably the same is true for Javascript.
| 0 | [
2,
25,
10811,
5020,
54,
21250,
1001,
43,
13,
60,
800,
3726,
3726,
25,
10811,
5020,
54,
21250,
1001,
43,
13,
60,
12411,
14,
205,
25,
1151,
26,
8247,
8741,
9,
3,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Should I use html entities?
===
Is html entities still useful or should I simply create UTF-8 encoded html documents? | 0 | [
2,
378,
31,
275,
13,
15895,
12549,
60,
800,
3726,
3726,
25,
13,
15895,
12549,
174,
4811,
54,
378,
31,
1659,
1600,
287,
11720,
8,
457,
13665,
13,
15895,
4374,
60,
3,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
How do I expire a PHP session after 30 minutes?
===
I need to keep a session alive for 30 minutes and then kill it. | 0 | [
2,
184,
107,
31,
25910,
21,
13,
26120,
3723,
75,
712,
902,
60,
800,
3726,
3726,
31,
376,
20,
643,
21,
3723,
2481,
26,
712,
902,
17,
94,
1177,
32,
9,
3,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
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... |
jQuery If DIV Doesn't Have Class "x"
===
In jQuery I need to do an if statement to see if $this doesn't contain the class '.selected'.
$(".thumbs").hover(function(){
$(this).stop().fadeTo("normal", 1.0);
},function(){
$(this).stop().fadeTo("slow", 0.3);
});
Basically when this... | 0 | [
2,
487,
8190,
93,
100,
13,
12916,
1437,
22,
38,
57,
718,
13,
7,
396,
7,
800,
3726,
3726,
19,
487,
8190,
93,
31,
376,
20,
107,
40,
100,
3331,
20,
196,
100,
5579,
1565,
1437,
22,
38,
3717,
14,
718,
13,
22,
9,
18,
7138,
22,
9... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Is there a regular expression to find two different words in a sentence?
===
Is there a regular expression to find two different words in a sentence? Extra credit for an expression that works in MS Visual Studio 2008 :)
For example:
reg_ex_match(A, B, "A sentence with A and B") = true
reg_ex_match(C, D... | 0 | [
2,
25,
80,
21,
1290,
1803,
20,
477,
81,
421,
715,
19,
21,
5123,
60,
800,
3726,
3726,
25,
80,
21,
1290,
1803,
20,
477,
81,
421,
715,
19,
21,
5123,
60,
2230,
3251,
26,
40,
1803,
30,
693,
19,
4235,
3458,
1120,
570,
13,
45,
6,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Is it a bad practice to put external users in Active Directory?
===
We have an existing Web application and we want to migrate from a custom authentication solution to Active Directory Federation Services so that our partner organizations can manage the authorization of their users on their side.
Right now the site... | 0 | [
2,
25,
32,
21,
896,
1345,
20,
442,
4886,
3878,
19,
1348,
16755,
60,
800,
3726,
3726,
95,
57,
40,
3149,
2741,
3010,
17,
95,
259,
20,
22985,
37,
21,
5816,
27963,
4295,
20,
1348,
16755,
2983,
687,
86,
30,
318,
2417,
2856,
92,
4705,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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.