unified_texts stringlengths 32 30.1k | OpenStatus_id int64 0 4 | input_ids list | token_type_ids list | attention_mask list |
|---|---|---|---|---|
How to ask Windows to open an external file based on file association?
===
Using Win32-specific APIs, is there an easy way to start an external application to open a file simply by passing in the path/name of the file?
For example, say I have a file called C:\tmp\image.jpg. Is there a single API that I can call to... | 0 | [
2,
184,
20,
1349,
1936,
20,
368,
40,
4886,
3893,
432,
27,
3893,
607,
60,
800,
3726,
3726,
568,
628,
3125,
8,
9219,
21,
8954,
15,
25,
80,
40,
2010,
161,
20,
799,
40,
4886,
3010,
20,
368,
21,
3893,
1659,
34,
2848,
19,
14,
2013,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Multipart response in Ruby/Rack
===
I want my server to send a multipart response (multipart/x-mixed-replace). I'd prefer some kind of solution using the Sinatra framework or a generic Rack app, but any example in ruby would be nice. Here's the equivalent of what I'm trying to do, in PHP:
<?php
header('C... | 0 | [
2,
1889,
3091,
1627,
19,
10811,
118,
13135,
800,
3726,
3726,
31,
259,
51,
8128,
20,
2660,
21,
1889,
3091,
1627,
13,
5,
21531,
3091,
118,
396,
8,
21049,
8,
99,
5119,
6,
9,
31,
22,
43,
6369,
109,
825,
16,
4295,
568,
14,
21491,
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... |
Spliting a string into words and punctuation
===
I'm trying to split a string up into words and punctuation, adding the punctuation to the list produced by the split.
For instance:
>>> c = "help, me"
>>> print c.split()
['help,', 'me']
What I really want the list to look like is:
['help',... | 0 | [
2,
2132,
68,
21,
3724,
77,
715,
17,
13,
17359,
291,
857,
800,
3726,
3726,
31,
22,
79,
749,
20,
2132,
21,
3724,
71,
77,
715,
17,
13,
17359,
291,
857,
15,
4721,
14,
13,
17359,
291,
857,
20,
14,
968,
671,
34,
14,
2132,
9,
26,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Usage of IoC Containers; specifically Windsor
===
I think the answer to this question is so obivous that noone has bothered writing about this, but its late and I really can't get my head around this.
I've been reading into IoC containers (Windsor in this case) and I'm missing how you talk to the container from the... | 0 | [
2,
7514,
16,
31,
2499,
18988,
73,
3524,
10784,
800,
3726,
3726,
31,
277,
14,
1623,
20,
48,
1301,
25,
86,
13,
14398,
25868,
30,
90,
849,
63,
12200,
1174,
88,
48,
15,
47,
82,
456,
17,
31,
510,
92,
22,
38,
164,
51,
157,
140,
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... |
Are there any good sites to view screenshots of actual web applications?
===
I am looking for some websites that have **actual** screenshots of web applications, as well as, things like login screens, grids/tables, edit forms, css examples and so on.
I find that **looking** at other applications helps with the crea... | 0 | [
2,
50,
80,
186,
254,
3259,
20,
1418,
2324,
7868,
18,
16,
3463,
2741,
3767,
60,
800,
3726,
3726,
31,
589,
699,
26,
109,
13931,
30,
57,
13,
1409,
5183,
6948,
1409,
2324,
7868,
18,
16,
2741,
3767,
15,
28,
134,
28,
15,
564,
101,
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 safe to run a pool under NT AUTHORITY\NETWORK SERVICE?
===
I normally would create a limited rights user and run the process under that but the fact that pools automatically created under IIS7 in 2008 use this account makes me think that this is perfectly safe, and possibly more so than something I create? The w... | 0 | [
2,
25,
32,
1834,
20,
485,
21,
3067,
131,
13,
2877,
1959,
1,
24106,
365,
60,
800,
3726,
3726,
31,
4147,
83,
1600,
21,
1317,
1096,
4155,
17,
485,
14,
953,
131,
30,
47,
14,
837,
30,
15230,
7499,
679,
131,
595,
18,
465,
19,
570,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
New to C#, why does Property Set throw StackOverflow exception?
===
I am new to c# just trying to mess with it to teach it to myself. I know java and would normally put in getter/setter methods. I am interested in doing it with the following code, but it throws a stack overflow. What am I doing wrong
Calling Code... | 0 | [
2,
78,
20,
272,
5910,
15,
483,
630,
1354,
309,
3814,
7566,
2549,
9990,
5391,
60,
800,
3726,
3726,
31,
589,
78,
20,
272,
5910,
114,
749,
20,
3957,
29,
32,
20,
5348,
32,
20,
992,
9,
31,
143,
8247,
17,
83,
4147,
442,
19,
164,
8... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
enterprise solution: emails
===
We have different desktop applications scattered through our shop to deal with different kind of emails. The volume could be about 30K emails/day. And we are thinking about having an enterprise wide solution. What articles / books/ information could I look into? It would be most likely ... | 0 | [
2,
6002,
4295,
45,
8517,
18,
800,
3726,
3726,
95,
57,
421,
17404,
3767,
7471,
120,
318,
2546,
20,
1183,
29,
421,
825,
16,
8517,
18,
9,
14,
2310,
110,
44,
88,
712,
197,
8517,
18,
118,
1185,
9,
17,
95,
50,
1440,
88,
452,
40,
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... |
JavaScript: given a list of image URLs, how would one display the first non-broken image?
===
I receive a list of image URLs and currently I have several hidden img elements on my page (one for each URL in the list). When the page has finished loading, I use JavaScript to check the images and display (i.e., set myIma... | 0 | [
2,
8247,
8741,
45,
504,
21,
968,
16,
1961,
13,
911,
7532,
15,
184,
83,
53,
3042,
14,
64,
538,
8,
27660,
1961,
60,
800,
3726,
3726,
31,
2588,
21,
968,
16,
1961,
13,
911,
7532,
17,
871,
31,
57,
238,
3689,
797,
263,
2065,
27,
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... |
Is there a standard locking scheme when changing Console.Out and Console.Err streams?
===
I need to intercept the console output stream(s) in order to capture it for a log but still pass things through to the original stream so the application works properly. This obviously means storing the original <code>Console.Ou... | 0 | [
2,
25,
80,
21,
1236,
17538,
4276,
76,
4226,
8650,
9,
1320,
17,
8650,
9,
106,
139,
9464,
60,
800,
3726,
3726,
31,
376,
20,
18324,
14,
8650,
5196,
3766,
5,
18,
6,
19,
389,
20,
3683,
32,
26,
21,
6738,
47,
174,
1477,
564,
120,
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 do I kill an unruly spid in Sybase?
===
I've got a couple of rogue spid's in my database that I can see are sleeping when I log in as `sa` and use `sp_who`, but attempts to use `kill <spid>` to eliminate them have failed and I don't actually have access to the server itself to bounce it. Is there any other way of ... | 0 | [
2,
184,
107,
31,
1177,
40,
367,
1820,
102,
10823,
43,
19,
10315,
8436,
60,
800,
3726,
3726,
31,
22,
195,
330,
21,
1335,
16,
12018,
10823,
43,
22,
18,
19,
51,
6018,
30,
31,
92,
196,
50,
4777,
76,
31,
6738,
19,
28,
13,
1,
1229... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 HTML element that a Silverlight control is hosted in
===
Is there a way to find the HTML element on the page that a Silverlight control is hosted in from within Silverlight? | 0 | [
2,
3007,
14,
13,
15895,
4520,
30,
21,
1172,
3130,
569,
25,
2812,
19,
800,
3726,
3726,
25,
80,
21,
161,
20,
477,
14,
13,
15895,
4520,
27,
14,
2478,
30,
21,
1172,
3130,
569,
25,
2812,
19,
37,
363,
1172,
3130,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
document.write() vs inserting DOM nodes: preserve form information?
===
Consider two web pages with the following in their body respectively:
<body>
<script>
document.writeln('<textarea></textarea>')
</script>
</body>
and
<body>
<script>
var t = document.createElement('te... | 0 | [
2,
4492,
9,
23716,
5,
6,
4611,
14692,
68,
11859,
16272,
45,
6224,
505,
676,
60,
800,
3726,
3726,
3563,
81,
2741,
4434,
29,
14,
249,
19,
66,
358,
2820,
45,
13,
1,
9760,
1,
13,
1,
8741,
1,
4492,
9,
23716,
16600,
5,
22,
1,
1196... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What is the best way to test mailing list software?
===
I recently wrote mailing list software in Ruby On Rails. I would like to get some expert advice on the best way to test it. For example, it would be cool if I could write a script generate 10,000 email addresses, use the software to send an email to those 10,00... | 0 | [
2,
98,
25,
14,
246,
161,
20,
1289,
4216,
68,
968,
2306,
60,
800,
3726,
3726,
31,
1989,
738,
4216,
68,
968,
2306,
19,
10811,
27,
2240,
18,
9,
31,
83,
101,
20,
164,
109,
5390,
4978,
27,
14,
246,
161,
20,
1289,
32,
9,
26,
823,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
SqlDataReader throws NullReferenceException! what could cause this and how can I debug?
===
I found this in an error log and am trying to work out how it's possible. It's not every day that a NullReferenceException turns up deep within the .net base classes!
1) Exception Information
***********************... | 0 | [
2,
4444,
255,
18768,
10647,
106,
13566,
16203,
28018,
10066,
872,
187,
98,
110,
1679,
48,
17,
184,
92,
31,
121,
16254,
60,
800,
3726,
3726,
31,
216,
48,
19,
40,
7019,
6738,
17,
589,
749,
20,
170,
70,
184,
32,
22,
18,
938,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Flood Fill Algorithms
===
Its the weekend again, and that means I get to play with my [hobby project](http://stackoverflow.com/questions/332585/2d-platformer-physics).
I've gotten tired of creating test levels by hand, so I thought I'd take a break from engine development and work on a level editor:
![Level Edit... | 0 | [
2,
5506,
3509,
15935,
800,
3726,
3726,
82,
14,
4010,
188,
15,
17,
30,
1108,
31,
164,
20,
418,
29,
51,
636,
1807,
220,
779,
669,
500,
5,
21127,
6903,
25325,
2549,
9990,
9,
960,
118,
24652,
18,
16842,
19119,
3058,
15718,
43,
8,
27... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Automatically reformatting inherited PHP spaghetti code
===
I've taken over a mixed PHP4/PHP5 project which has been handed down from developer to developer, with each one making things worse. Before I spend too much time on it I'd like to develop a base-standard, with consistent formatting at a minimum.
Can anyone... | 0 | [
2,
7499,
3202,
10303,
68,
7179,
13,
26120,
27852,
1797,
800,
3726,
3726,
31,
22,
195,
658,
84,
21,
2198,
13,
26120,
12918,
26120,
264,
669,
56,
63,
74,
3988,
125,
37,
10058,
20,
10058,
15,
29,
206,
53,
544,
564,
3105,
9,
115,
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... |
Which are your best secrets/tricks for a good project scheduling?
===
Scheduling is so difficult. Which are your best tricks to achieve your scheduling target?
| 4 | [
2,
56,
50,
154,
246,
7818,
118,
15294,
18,
26,
21,
254,
669,
23096,
60,
800,
3726,
3726,
23096,
25,
86,
1956,
9,
56,
50,
154,
246,
13747,
20,
4689,
154,
23096,
2935,
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,
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... |
Saving database data changes in commits (if not sqlite)
===
We have a Rails project that uses PostgreSQL-specific queries, so it's uncomfortable to use sqlite even in development mode. The problem is, I'd love to track schema changes in database and omit running migrations on request, and I'd also love to track db-dat... | 0 | [
2,
7599,
6018,
1054,
1693,
19,
9686,
18,
13,
5,
821,
52,
4444,
10601,
6,
800,
3726,
3726,
95,
57,
21,
2240,
18,
669,
30,
2027,
678,
6879,
18,
22402,
8,
9219,
9386,
2829,
15,
86,
32,
22,
18,
8675,
20,
275,
4444,
10601,
166,
19,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What is the difference between Abstraction and Polymorphism
===
I seem not to understand well about two OOP concepts. Could you explain me more about **abstraction** and **polymorphism** with the example of the real world and programming?
Thank you. | 0 | [
2,
98,
25,
14,
2841,
128,
23907,
17,
3446,
13348,
800,
3726,
3726,
31,
2260,
52,
20,
1369,
134,
88,
81,
13,
21709,
8700,
9,
110,
42,
3271,
55,
91,
88,
13,
1409,
2297,
9729,
8645,
1409,
17,
13,
1409,
17108,
13348,
1409,
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,
0,
0,
0,
0,
0,
0,
0... |
What are some options for a 'local' version control repository?
===
I'm a fan of SVN and I am comfortable setting up my own svn repository, but I'm wondering if there are better options than creating a separate repository.
Basically I'm just looking for a way to keep track of or roll back changes before my code is ... | 0 | [
2,
98,
50,
109,
6368,
26,
21,
13,
22,
15580,
22,
615,
569,
24869,
60,
800,
3726,
3726,
31,
22,
79,
21,
2514,
16,
13,
18,
16578,
17,
31,
589,
5733,
2697,
71,
51,
258,
13,
18,
16578,
24869,
15,
47,
31,
22,
79,
5712,
100,
80,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Disable web.config inheritance?
===
I have a content management application in the root of my website, and I'm trying to use a different app (a billing application) under a sub-folder. Unfortunately, the web.config of the root site is interfering with the sub-app.
Is there a way to just disable web.config inheritan... | 0 | [
2,
1460,
579,
2741,
9,
14093,
2816,
13852,
60,
800,
3726,
3726,
31,
57,
21,
2331,
1097,
3010,
19,
14,
5900,
16,
51,
2271,
15,
17,
31,
22,
79,
749,
20,
275,
21,
421,
4865,
13,
5,
58,
1071,
68,
3010,
6,
131,
21,
972,
8,
8814,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How can I make Eclipse provide more help with Hivemind configuration files?
===
A project I work on uses Apache Hivemind to do dependency injection for our app. We have various Hivemind configuration files that define service points, configuration points, etc. And if a developer erroneously edits one of these Hivemind... | 0 | [
2,
184,
92,
31,
233,
11652,
1181,
91,
448,
29,
25535,
15918,
8091,
6488,
60,
800,
3726,
3726,
21,
669,
31,
170,
27,
2027,
17140,
25535,
15918,
20,
107,
26835,
13646,
26,
318,
4865,
9,
95,
57,
617,
25535,
15918,
8091,
6488,
30,
926... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Using mock objects outside of testing, bad practice?
===
I'm working on a project where there is a lot of external service messaging. A good way to describe it in only a slightly "hyperbolas" way would be an application where the system has to send messages to the Flicker API, the Facebook API, and the Netflix API.
... | 0 | [
2,
568,
10506,
3916,
719,
16,
4431,
15,
896,
1345,
60,
800,
3726,
3726,
31,
22,
79,
638,
27,
21,
669,
113,
80,
25,
21,
865,
16,
4886,
365,
26437,
9,
21,
254,
161,
20,
4996,
32,
19,
104,
21,
1847,
13,
7,
28356,
20546,
18,
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... |
Dynamic Memory Allocation Failure Recovery
===
I'm working on an embedded processor (400 MHz Intel PXA255 XScale), and I've seen several cases where there isn't enough memory to satisfy a 'new' operation. What's the best thing to do in this case? One option is to simply return an error, but what if I need this particu... | 0 | [
2,
7782,
1912,
16840,
2990,
6550,
800,
3726,
3726,
31,
22,
79,
638,
27,
40,
12138,
14762,
13,
5,
7114,
12006,
14635,
351,
6791,
20038,
993,
5093,
6,
15,
17,
31,
22,
195,
541,
238,
1871,
113,
80,
2532,
22,
38,
511,
1912,
20,
1471... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
loaded a subversion dump but it's inaccessible
===
I received a dump file of a SVN repository that I'm moving to my server. Let's call it myserver.com/svn. The load statement prints out a long list of files loaded and reports no error. However, once I try to access the repository for checkout, or relocate my existi... | 0 | [
2,
8572,
21,
972,
10898,
11424,
47,
32,
22,
18,
28671,
800,
3726,
3726,
31,
420,
21,
11424,
3893,
16,
21,
13,
18,
16578,
24869,
30,
31,
22,
79,
1219,
20,
51,
8128,
9,
408,
22,
18,
645,
32,
51,
10321,
106,
9,
960,
118,
18,
16... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Can PHP do a fairly trivial inheritance thing?
===
I have the following code:
<pre>
<code>
abstract class AbstractParent {
function __construct($param) { print_r($param); }
public static function test() { return new self(1234); }
}
class SpecificClass extends AbstractParent {}
</code>
</pre>
When I ... | 0 | [
2,
92,
13,
26120,
107,
21,
6647,
13,
19712,
13852,
584,
60,
800,
3726,
3726,
31,
57,
14,
249,
1797,
45,
13,
1,
3515,
1,
13,
1,
9375,
1,
8502,
718,
8502,
18908,
13,
1,
1990,
13,
1,
1126,
10346,
5,
4403,
6351,
79,
6,
13,
1,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How do I write custom action DLL for use in an MSI?
===
This is a question I intend to answer myself, but please feel free to add other ways to accomplish this.
I was packaging an application for use on a wide variety of configurations, and I determined that the most reliable way to perform custom logic within my ... | 0 | [
2,
184,
107,
31,
2757,
5816,
1028,
13,
43,
211,
26,
275,
19,
40,
4235,
49,
60,
800,
3726,
3726,
48,
25,
21,
1301,
31,
13863,
20,
1623,
992,
15,
47,
2247,
583,
551,
20,
3547,
89,
2847,
20,
14570,
48,
9,
31,
23,
16850,
40,
301... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 define a preprocessor symbol in Xcode
===
Is it possible to set a symbol for conditional compilation by setting up properties in an Xcode project?
My aim is to to create a symbol that is available to all files, without having to use import/include, so that a set of common classes can have a special behavior ... | 0 | [
2,
184,
20,
9267,
21,
782,
16835,
248,
4678,
19,
993,
9375,
800,
3726,
3726,
25,
32,
938,
20,
309,
21,
4678,
26,
21206,
4868,
34,
2697,
71,
3704,
19,
40,
993,
9375,
669,
60,
51,
5226,
25,
20,
20,
1600,
21,
4678,
30,
25,
904,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How can I make a Ruby gem package copy files to arbitrary locations?
===
Suppose you have a software package. You want to make it a gem, because gems are the de facto standard way to distribute anything in the Ruby world. Gems are great -- for libraries. But for real applications, the Rubygems system seems lacking.... | 0 | [
2,
184,
92,
31,
233,
21,
10811,
8551,
6030,
4344,
6488,
20,
17237,
4095,
60,
800,
3726,
3726,
5787,
42,
57,
21,
2306,
6030,
9,
42,
259,
20,
233,
32,
21,
8551,
15,
185,
8551,
18,
50,
14,
121,
14967,
1236,
161,
20,
14751,
602,
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... |
Returning a default value. (C#)
===
I'm creating my own dictionary and I am having trouble implementing the [TryGetValue][1] function. When the key isn't found, I don't have anything to assign to the out parameter, so I leave it as is. This results in the following error: "The out parameter 'value' must be assigned... | 0 | [
2,
2485,
21,
12838,
1923,
9,
13,
5,
150,
5910,
6,
800,
3726,
3726,
31,
22,
79,
2936,
51,
258,
9186,
17,
31,
589,
452,
2572,
17333,
14,
636,
5840,
3060,
15165,
500,
2558,
165,
500,
1990,
9,
76,
14,
1246,
2532,
22,
38,
216,
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... |
Stored Proc not executing with LINQ
===
This issue is driving me mad.
I have several tables defined, and CRUD stored procs for those tables. I have wired up the stored procs to the tables in Visual Studio using the dbml mapper.
All work fine, except for one table. The insert stored proc is not being hit for my ... | 0 | [
2,
8214,
13,
15617,
52,
25836,
29,
6294,
1251,
800,
3726,
3726,
48,
1513,
25,
2891,
55,
2073,
9,
31,
57,
238,
7484,
2811,
15,
17,
11498,
43,
8214,
13,
15617,
18,
26,
273,
7484,
9,
31,
57,
21124,
71,
14,
8214,
13,
15617,
18,
20... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Can an HTTP Get legally contain content?
===
Can an HTTP Get legally contain content? The idea would be to put the request fields in as URL encoded content instead of in the URL to leave the URL clean in a web application for which I am going to be refactoring the resources.
I suspect it's not allowed, but the spe... | 2 | [
2,
92,
40,
7775,
164,
10524,
3717,
2331,
60,
800,
3726,
3726,
92,
40,
7775,
164,
10524,
3717,
2331,
60,
14,
882,
83,
44,
20,
442,
14,
3772,
2861,
19,
28,
287,
6362,
13665,
2331,
700,
16,
19,
14,
287,
6362,
20,
767,
14,
287,
63... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
late static binding: which languages commonly used for web development support it?
===
Lately I've been seeing a lot of talk regarding PHP's lack of late static binding until 5.3.
From what I've read proper implementations of stuff like ActiveRecord are not possible until the language has this feature.
So, I'm ... | 0 | [
2,
456,
12038,
8728,
45,
56,
2556,
2524,
147,
26,
2741,
522,
555,
32,
60,
800,
3726,
3726,
10434,
31,
22,
195,
74,
2078,
21,
865,
16,
930,
3467,
13,
26120,
22,
18,
1792,
16,
456,
12038,
8728,
163,
331,
9,
240,
9,
37,
98,
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... |
Early binding vs. late binding
===
When discussing the evolution of computer languages, Alan Kay says that the single most important attribute of his Smalltalk is late binding; it gives the language its malleability and extensibility, and allows inappropriate coupling to be refactored out over time. Do you agree? Are ... | 0 | [
2,
274,
8728,
4611,
9,
456,
8728,
800,
3726,
3726,
76,
10988,
14,
5680,
16,
1428,
2556,
15,
3598,
7237,
898,
30,
14,
345,
127,
681,
35,
14755,
16,
33,
284,
9718,
25,
456,
8728,
73,
32,
2352,
14,
816,
82,
3668,
62,
4091,
17,
13... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to create a distribution minus some packages in maven ?
===
I have a maven project with the following packages (for illustration only):
Root: `src/main/java`
- `/com/foo`
- `/com/foo/api`
- `/com/foo/impl`
Now I want to create a jar which includes only code in `/com/foo/api` and `/com/foo/impl`.
... | 0 | [
2,
184,
20,
1600,
21,
2523,
13,
15495,
109,
16875,
19,
1216,
3124,
13,
60,
800,
3726,
3726,
31,
57,
21,
1216,
3124,
669,
29,
14,
249,
16875,
13,
5,
1106,
16811,
104,
6,
45,
5900,
45,
13,
1,
18,
5453,
118,
6232,
118,
1004,
1385... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
javascript - associative array without toString, etc...
===
I want to create an associative array:
var aa = {} //equivalent to Object(), new Object(), etc...
and I want to be sure that any key I access is going to be a number:
aa['hey'] = 4.3;
aa['btar'] = 43.1;
I know JS doesn't have typing, ... | 0 | [
2,
8247,
8741,
13,
8,
28,
18,
16325,
3366,
7718,
366,
20,
11130,
15,
2722,
9,
9,
9,
800,
3726,
3726,
31,
259,
20,
1600,
40,
28,
18,
16325,
3366,
7718,
45,
4033,
21,
58,
800,
13,
1,
12894,
20922,
20,
3095,
5,
6,
15,
78,
3095,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
iPhone: Evernote app "Tips" image overlaying UITableView
===
The Evernote application has a tips pane which hangs over a UITableView on the initial window. When you click on tips, a straight forward animation happens with a tips pane sliding up into view.
My question is, how is that tips pane implemented in the sen... | 0 | [
2,
21024,
45,
462,
10280,
4865,
13,
7,
10169,
18,
7,
1961,
84,
4414,
68,
13,
11193,
579,
4725,
800,
3726,
3726,
14,
462,
10280,
3010,
63,
21,
11034,
13,
16660,
56,
4546,
18,
84,
21,
13,
11193,
579,
4725,
27,
14,
2104,
1463,
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... |
VB 6.0 system tray application doesn't close gracefully when Windows shuts down
===
I'm using the following code within a VB 6.0 application to allow give the application a system tray icon:
Option Explicit
'user defined type required by Shell_NotifyIcon API call
Public Type NOTIFYICONDATA
c... | 0 | [
2,
13,
20468,
400,
9,
387,
329,
10121,
3010,
1437,
22,
38,
543,
28138,
76,
1936,
2218,
18,
125,
800,
3726,
3726,
31,
22,
79,
568,
14,
249,
1797,
363,
21,
13,
20468,
400,
9,
387,
3010,
20,
1655,
590,
14,
3010,
21,
329,
10121,
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... |
BGR Color Space
===
I understand RGB --- value (0-255)Red,(0-255)Green,(0-255)Blue to form a color.
What is exactly BGR color space ?
How is it different from RGB color space ?
Thanks for sharing
| 0 | [
2,
334,
8807,
1665,
726,
800,
3726,
3726,
31,
1369,
761,
11400,
13,
8,
8,
8,
1923,
13,
5,
387,
8,
20038,
6,
2095,
15,
5,
387,
8,
20038,
6,
6852,
15,
5,
387,
8,
20038,
6,
6997,
20,
505,
21,
1665,
9,
98,
25,
1890,
334,
8807,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Testing REST web service client when the services don't yet exist
===
I have already read the posts [link text][1] and [link text][2] but these are covering the use case of building a REST service on the server and requiring a rapid client in order to test those services.
We have the opposite problem, we are buildi... | 0 | [
2,
4431,
760,
2741,
365,
6819,
76,
14,
687,
221,
22,
38,
768,
3182,
800,
3726,
3726,
31,
57,
614,
1302,
14,
9868,
636,
6258,
1854,
500,
2558,
165,
500,
17,
636,
6258,
1854,
500,
2558,
135,
500,
47,
158,
50,
3846,
14,
275,
610,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Setting up a foreign key to an abstract base class with Django
===
I've factored out common attributes from two classes into an abstract base class, however I have another model that needs to reference either one of those classes. It's not possible to reference an ABC as it doesn't actually have a database table.
T... | 0 | [
2,
2697,
71,
21,
1228,
1246,
20,
40,
8502,
1000,
718,
29,
3857,
14541,
800,
3726,
3726,
31,
22,
195,
3932,
69,
70,
757,
13422,
37,
81,
2684,
77,
40,
8502,
1000,
718,
15,
207,
31,
57,
226,
1061,
30,
2274,
20,
2801,
694,
53,
16,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Are there any single-letter programming language names left?
===
This is perhaps a honey-trap for the suitable-question-enforcers, but it came up in conversation with some other developers, and it's certainly related to programming languages. And I don't think it's argumentative, which is the other common justificatio... | 0 | [
2,
50,
80,
186,
345,
8,
19535,
3143,
816,
1817,
225,
60,
800,
3726,
3726,
48,
25,
1774,
21,
5439,
8,
16514,
26,
14,
6445,
8,
24652,
8,
219,
8774,
1224,
15,
47,
32,
281,
71,
19,
2735,
29,
109,
89,
10168,
15,
17,
32,
22,
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... |
Using elements of a constant array as cases in a switch statement
===
I'm attempting to map a set of key presses to a set of commands. Because I process the commands from several places, I'd like to set up a layer of abstraction between the keys and the commands so that if I change the underlying key mappings, I don'... | 0 | [
2,
568,
2065,
16,
21,
3587,
7718,
28,
1871,
19,
21,
5521,
3331,
800,
3726,
3726,
31,
22,
79,
6314,
20,
2942,
21,
309,
16,
1246,
16527,
20,
21,
309,
16,
14294,
9,
185,
31,
953,
14,
14294,
37,
238,
1489,
15,
31,
22,
43,
101,
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... |
Why there is no hasOne relationship in castle activerecord in contrast to Ruby on Rails?
===
or how can i represent an address to country mapping where an address has one one country in castle activerecord? | 0 | [
2,
483,
80,
25,
90,
63,
849,
1429,
19,
1339,
1348,
14953,
19,
3710,
20,
10811,
27,
2240,
18,
60,
800,
3726,
3726,
54,
184,
92,
31,
3501,
40,
3218,
20,
475,
13305,
113,
40,
3218,
63,
53,
53,
475,
19,
1339,
1348,
14953,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
UIViewController not loading my custom UIView
===
This should be straight forward for a guru. I don't have any code really written out, just a couple of controllers and a custom UIView. All connected through nibs. The app loads without crashing, yet I can't see my NSLog() hit from my custom UIView.
My application d... | 0 | [
2,
13,
5661,
4725,
12898,
1252,
52,
12797,
51,
5816,
13,
5661,
4725,
800,
3726,
3726,
48,
378,
44,
1599,
917,
26,
21,
10334,
9,
31,
221,
22,
38,
57,
186,
1797,
510,
642,
70,
15,
114,
21,
1335,
16,
9919,
18,
17,
21,
5816,
13,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to ensure an event is only subscribed to once.
===
I would like to ensure that I only subscribe once in a particular class for an event on an instance.
For example I would like to be able to do the following:
if (*not already subscribed*)
{
member.Event += new MemeberClass.Delegate(handler... | 0 | [
2,
184,
20,
4062,
40,
807,
25,
104,
13,
20330,
43,
20,
382,
9,
800,
3726,
3726,
31,
83,
101,
20,
4062,
30,
31,
104,
13,
20330,
382,
19,
21,
1498,
718,
26,
40,
807,
27,
40,
4851,
9,
26,
823,
31,
83,
101,
20,
44,
777,
20,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
In Java: How to handshake a secured connection using Keystore and Truststore certificate?
===
If I have 2 terminals A and B. T-A is connect T-B over secured socket connection. I need to implement a connection between the 2 terminals.
How do I do handshake such connection using Keystore and Truststore. Another word,... | 0 | [
2,
19,
8247,
45,
184,
20,
224,
17248,
21,
6385,
2760,
568,
1246,
16828,
17,
1527,
16828,
6259,
60,
800,
3726,
3726,
100,
31,
57,
172,
3855,
18,
21,
17,
334,
9,
13,
38,
8,
58,
25,
6379,
13,
38,
8,
220,
84,
6385,
18482,
2760,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Get all the defined functions for an object
===
Is there an equivalent of [`get_defined_functions()`](http://www.php.net/manual/en/function.get-defined-functions.php) which only shows the functions of a given object?
Example usage and output:
class A {
function foo() { }
function bar() { }
... | 0 | [
2,
164,
65,
14,
2811,
3719,
26,
40,
3095,
800,
3726,
3726,
25,
80,
40,
4602,
16,
636,
1,
3060,
1,
13439,
1,
22359,
18,
5,
6,
1,
500,
5,
21127,
6903,
6483,
9,
26120,
9,
2328,
118,
177,
6948,
118,
219,
118,
22359,
9,
3060,
8,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
ORM/MDA/UML tool for VB6
===
I know of Rational Rose and we have got Rational Rose 6.
But I am looking for some other tools which are more usable, which do not complain that they are not running in Windows 98/2000 (when installed and run in WinXP) and has got better features as compared to Rational Rose 6.
| 0 | [
2,
54,
79,
118,
79,
593,
118,
723,
255,
5607,
26,
13,
20468,
379,
800,
3726,
3726,
31,
143,
16,
7511,
1092,
17,
95,
57,
330,
7511,
1092,
400,
9,
47,
31,
589,
699,
26,
109,
89,
4672,
56,
50,
91,
182,
579,
15,
56,
107,
52,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
C# Generic Setup Wizard
===
I have been tasked with creating a program what will create take files in specified folders and create an installer based on those files.
For example, having a folder for "All User's Desktop", "Start menu", "Application Data", and "Program Files"
My boss wants to put the files into ea... | 0 | [
2,
272,
5910,
12733,
18161,
10276,
800,
3726,
3726,
31,
57,
74,
14605,
29,
2936,
21,
625,
98,
129,
1600,
247,
6488,
19,
9931,
19294,
18,
17,
1600,
40,
16146,
106,
432,
27,
273,
6488,
9,
26,
823,
15,
452,
21,
19294,
26,
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... |
Gantt Chart Controls
===
Evaluating options for a Gantt chart control (on Windows Forms) as opposed developing one on our own. What are the various Gantt Chart controls you have had experience with? Their pros and cons? Is it a viable idea to develop such a control from scratch (given that the control is not the prima... | 0 | [
2,
7890,
38,
38,
1795,
8671,
800,
3726,
3726,
26764,
6368,
26,
21,
7890,
38,
38,
1795,
569,
13,
5,
218,
1936,
1997,
6,
28,
3499,
3561,
53,
27,
318,
258,
9,
98,
50,
14,
617,
7890,
38,
38,
1795,
8671,
42,
57,
41,
1496,
29,
60,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Detecting infinite loop in brainfuck program
===
I have written a simple brainfuck interpreter in MATLAB script language. It is fed random bf programs to execute (as part of a genetic algorithm project). The problem I face is, the program turns out to have an infinite loop in a sizeable number of cases, and hence the ... | 0 | [
2,
9092,
68,
9698,
5293,
19,
1964,
10517,
625,
800,
3726,
3726,
31,
57,
642,
21,
1935,
1964,
10517,
19336,
19,
4277,
9086,
3884,
816,
9,
32,
25,
6068,
5477,
13,
12425,
1726,
20,
15644,
13,
5,
472,
141,
16,
21,
6211,
9083,
669,
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... |
Why on earth does the c# compiler emit Activator.CreateInstance when calling new in with a generic type with a new() constraint?
===
When you have code like the following:
static T GenericConstruct<T>() where T : new()
{
return new T();
}
The C# compiler insists on emitting a call to Acti... | 0 | [
2,
483,
27,
1073,
630,
14,
272,
5910,
21486,
8468,
38,
13,
19516,
3457,
9,
6037,
1373,
108,
384,
2416,
76,
2555,
78,
19,
29,
21,
12733,
1001,
29,
21,
78,
5,
6,
28804,
60,
800,
3726,
3726,
76,
42,
57,
1797,
101,
14,
249,
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... |
Regarding Image paths of a page using master page.
===
If the Master Page and child aspx page are in different folders, when the aspx page is served, whether image paths are relative to the location of child page or the Master page? | 0 | [
2,
3467,
1961,
12074,
16,
21,
2478,
568,
1129,
2478,
9,
800,
3726,
3726,
100,
14,
1129,
2478,
17,
850,
28,
306,
396,
2478,
50,
19,
421,
19294,
18,
15,
76,
14,
28,
306,
396,
2478,
25,
423,
15,
1472,
1961,
12074,
50,
4543,
20,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... |
Generating random text strings of a given pattern
===
I need to generate random text strings of a particular format. Would like some ideas so that I can code it up in Python. The format is <8 digit number><15 character string>. | 0 | [
2,
13500,
5477,
1854,
7887,
16,
21,
504,
3732,
800,
3726,
3726,
31,
376,
20,
7920,
5477,
1854,
7887,
16,
21,
1498,
2595,
9,
83,
101,
109,
3478,
86,
30,
31,
92,
1797,
32,
71,
19,
20059,
9,
14,
2595,
25,
13,
1,
457,
15611,
234,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Jquery: My class does not function during second call. T.T
===
i am new to jquery.just learn and use it for 3 weeks until now.
i have written a class to organize stuff.
i call my method with more than 2 events,but the event does not work during my trigger of the second event.
there's nothing wrong with the selecto... | 0 | [
2,
487,
8190,
93,
45,
51,
718,
630,
52,
1990,
112,
153,
645,
9,
13,
38,
9,
38,
800,
3726,
3726,
31,
589,
78,
20,
487,
8190,
93,
9,
2759,
2484,
17,
275,
32,
26,
203,
1342,
163,
130,
9,
31,
57,
642,
21,
718,
20,
9213,
3217,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 pattern for WPF events?
===
Hey, i'm extending some WPF controls, and need to implement some custom events. I've read around about the 'event' keyword and method groups, but im not sure how to implement this in code. Would anyone be able to provide a simple example of a custom event/handler/etc? Thank... | 4 | [
2,
98,
25,
14,
246,
3732,
26,
619,
7721,
963,
60,
800,
3726,
3726,
8409,
15,
31,
22,
79,
8176,
109,
619,
7721,
8671,
15,
17,
376,
20,
8713,
109,
5816,
963,
9,
31,
22,
195,
1302,
140,
88,
14,
13,
22,
4943,
38,
22,
1246,
9587,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 LINQ Support Composable "OR Queries"?
===
In another [posting: Does Linq-To-Sql support composable queries][1] there was discussion on how to compose/concat where clauses dynamically. This appears to be done with an "AND" (i.e. the first where clause and the second where clause are joined by an AND). What I am ... | 0 | [
2,
630,
6294,
1251,
555,
6479,
759,
579,
13,
7,
248,
9386,
2829,
7,
60,
800,
3726,
3726,
19,
226,
636,
6962,
68,
45,
630,
6294,
1251,
8,
262,
8,
18,
22402,
555,
6479,
759,
579,
9386,
2829,
500,
2558,
165,
500,
80,
23,
5460,
27... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
ASP.Net Ajax Web Service call: InvalidOperationException
===
We are invoking Asp.Net ajax web service from the client side. So the JavaScript functions have calls like:
// The function to alter the server side state object and set the selected node for the case tree.
function JSMethod(caseId, url)
{
... | 0 | [
2,
28,
306,
9,
2328,
20624,
2741,
365,
645,
45,
16671,
11377,
10066,
872,
800,
3726,
3726,
95,
50,
19,
2625,
1581,
28,
306,
9,
2328,
20624,
2741,
365,
37,
14,
6819,
270,
9,
86,
14,
8247,
8741,
3719,
57,
3029,
101,
45,
12894,
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... |
How do I fix "The expression of type List needs unchecked conversion...' ?
===
In the Java snippet:
SyndFeedInput fr = new SyndFeedInput();
SyndFeed sf = fr.build(new XmlReader(myInputStream));
List<SyndEntry> entries = sf.getEntries();
the last line generates the warning
"The expression of typ... | 0 | [
2,
184,
107,
31,
6098,
13,
7,
124,
1803,
16,
1001,
968,
2274,
367,
12542,
69,
6263,
9,
9,
9,
22,
13,
60,
800,
3726,
3726,
19,
14,
8247,
13,
29061,
45,
6063,
43,
20954,
108,
4881,
6034,
800,
78,
6063,
43,
20954,
108,
4881,
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... |
What part of LINQ to SQL's provider model makes it impossible to extend it to support third party (read: Non-Microsoft) databases?
===
There were supposedly some classes in the LINQ to SQL provider model that were sealed--but I never really figured out exactly which classes need to be 'unsealed' in order to use it.
... | 0 | [
2,
98,
141,
16,
6294,
1251,
20,
4444,
255,
22,
18,
11747,
1061,
1364,
32,
3992,
20,
7206,
32,
20,
555,
422,
346,
13,
5,
10647,
45,
538,
8,
22019,
12980,
6,
6018,
18,
60,
800,
3726,
3726,
80,
46,
11731,
109,
2684,
19,
14,
6294,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What are all the common undefined behavoiur that c++ programmer should know about?
===
Say like
a[i] = i++;
| 0 | [
2,
98,
50,
65,
14,
757,
367,
13439,
44,
14462,
8222,
911,
30,
272,
20512,
17968,
378,
143,
88,
60,
800,
3726,
3726,
395,
101,
21,
2558,
49,
500,
800,
31,
20512,
73,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Disable character echo on Java network connection
===
I have a Solaris daemon written in Java6. Clients can connect to it using a telnet style interface. They telnet to a particular port, and I read lines of input and act on them.
At one point in I need to prompt the user to enter a password, and while they're ente... | 0 | [
2,
1460,
579,
925,
8117,
27,
8247,
982,
2760,
800,
3726,
3726,
31,
57,
21,
4535,
403,
13127,
642,
19,
8247,
379,
9,
7421,
92,
6379,
20,
32,
568,
21,
6757,
2328,
1034,
6573,
9,
59,
6757,
2328,
20,
21,
1498,
1295,
15,
17,
31,
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... |
String extraction.
===
Currently I am working very basic game using the C++ environment. The game used to be a school project but now that I am done with that programming class, I wanted to expand my skills and put some more flourish on this old assignment.
I have already made a lot of changes that I am pleased wit... | 0 | [
2,
3724,
16748,
9,
800,
3726,
3726,
871,
31,
589,
638,
253,
2125,
250,
568,
14,
272,
20512,
2307,
9,
14,
250,
147,
20,
44,
21,
116,
669,
47,
130,
30,
31,
589,
677,
29,
30,
3143,
718,
15,
31,
417,
20,
6073,
51,
3207,
17,
442,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Get Data from OpenGL glReadPixels(using Pyglet)
===
I'm using Pyglet(and OpenGL) in Python on an application, I'm trying to use glReadPixels to get the RGBA values for a set of pixels. It's my understanding that OpenGL returns the data as packed integers, since that's how they are stored on the hardware. However for... | 0 | [
2,
164,
1054,
37,
368,
8430,
13,
8430,
10647,
18321,
6798,
5,
12655,
13,
28860,
1336,
6,
800,
3726,
3726,
31,
22,
79,
568,
13,
28860,
1336,
5,
290,
368,
8430,
6,
19,
20059,
27,
40,
3010,
15,
31,
22,
79,
749,
20,
275,
13,
8430,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Get substed drive letter in Perl
===
I need to get substed drive letter in Perl. Could anyone kindly help me?
btw
$ENV{SYSTEMDRIVE} does not work - it gives me real logical drive letter, not the substed one.
thanxalot for your help | 0 | [
2,
164,
972,
10859,
1493,
1748,
19,
416,
255,
800,
3726,
3726,
31,
376,
20,
164,
972,
10859,
1493,
1748,
19,
416,
255,
9,
110,
1276,
22215,
448,
55,
60,
334,
38,
499,
5579,
219,
710,
1,
10724,
14573,
1,
630,
52,
170,
13,
8,
32... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What is the easiest way to figure out who wrote/edited this line of code?
===
This obviously requires the source file to be under source control. I would ideally like a tool which works under the IDE (Eclipse, Visual Studio, etc) - but an external tool would be nice, too. Obviously, it is possible manually go through ... | 0 | [
2,
98,
25,
14,
27237,
161,
20,
1465,
70,
72,
738,
118,
17629,
48,
293,
16,
1797,
60,
800,
3726,
3726,
48,
4409,
4781,
14,
1267,
3893,
20,
44,
131,
1267,
569,
9,
31,
83,
5628,
102,
101,
21,
5607,
56,
693,
131,
14,
13,
3448,
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... |
Is there a good option parser for Java?
===
Is there a good options parser framework/library for command-line programs written in Java? E.g. the equivalent of Python's optparse? | 0 | [
2,
25,
80,
21,
254,
4255,
2017,
4104,
26,
8247,
60,
800,
3726,
3726,
25,
80,
21,
254,
6368,
2017,
4104,
6596,
118,
1210,
2559,
622,
26,
1202,
8,
1143,
1726,
642,
19,
8247,
60,
13,
62,
9,
263,
9,
14,
4602,
16,
20059,
22,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
How to host Silverlight on Desktop, and provide write access to local resources like File Storage, Printer etc?
===
To summarize, as we all know,
a) Silverlight is expected to be hosted by a browser, and runs in an isolated sandbox so that there won’t be any security issues
1. Silverlight don’t have direct acce... | 0 | [
2,
184,
20,
2015,
1172,
3130,
27,
17404,
15,
17,
1181,
2757,
1381,
20,
375,
2566,
101,
3893,
4326,
15,
12925,
2722,
60,
800,
3726,
3726,
20,
18074,
139,
2952,
15,
28,
95,
65,
143,
15,
21,
6,
1172,
3130,
25,
1727,
20,
44,
2812,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 And Drupal page load
===
I would like to execute the jQuery $(document).ready() in a drupal site. While i know that i can just stick it in the index page , this is really messy and a hack.
What i want to know is where is the correct location to put this, it would also need to be theme specific as i dont wan... | 0 | [
2,
487,
8190,
93,
17,
15708,
6720,
2478,
6305,
800,
3726,
3726,
31,
83,
101,
20,
15644,
14,
487,
8190,
93,
5579,
5,
28132,
6,
9,
15193,
5,
6,
19,
21,
15708,
6720,
689,
9,
133,
31,
143,
30,
31,
92,
114,
5258,
32,
19,
14,
4348... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 collation to use for MySQL (with PHP)
===
I'm wondering if there is a "best" choice for collation in MySQL for a general website where you aren't 100% of what will be entered? I understand that all the encodings should be the same, such as MySQL, Apache, the HTML and anything inside PHP.
In the pas... | 0 | [
2,
98,
25,
14,
246,
9470,
857,
20,
275,
26,
51,
18,
22402,
13,
5,
1410,
13,
26120,
6,
800,
3726,
3726,
31,
22,
79,
5712,
100,
80,
25,
21,
13,
7,
4936,
7,
1837,
26,
9470,
857,
19,
51,
18,
22402,
26,
21,
297,
2271,
113,
42,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Helper functions in Cocoa
===
What is the standard way of incorporating helper/utility functions in Obj-C classes?
I.e. General purpose functions which are used throughout the application and called by more than 1 class.
Can an Obj-C method exist outside of a class, or does it need to be a C function for it to h... | 0 | [
2,
448,
106,
3719,
19,
24507,
800,
3726,
3726,
98,
25,
14,
1236,
161,
16,
15239,
448,
106,
118,
14255,
856,
3719,
19,
5122,
728,
8,
150,
2684,
60,
31,
9,
62,
9,
297,
2131,
3719,
56,
50,
147,
892,
14,
3010,
17,
227,
34,
91,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Can Windows Web Server 2008 be used to host games?
===
I'm currently using a linux server, we run a couple of web sites of it, PHP apps with MySQL, the usual. Since the server is privately owned by some friends and myself (we do have it hosted at a professional datacenter though), from time to time we also use it to h... | 0 | [
2,
92,
1936,
2741,
8128,
570,
44,
147,
20,
2015,
466,
60,
800,
3726,
3726,
31,
22,
79,
871,
568,
21,
13024,
8128,
15,
95,
485,
21,
1335,
16,
2741,
3259,
16,
32,
15,
13,
26120,
4865,
18,
29,
51,
18,
22402,
15,
14,
3820,
9,
17... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Create a dmg
===
I want to create a dmg file for my Mac project. Can someone please tell me how to do this? This being my first Mac project, I do not have any idea how to proceed. I also want to give the user an option of running the app on start-up. How do I do this?
Thanks. | 0 | [
2,
1600,
21,
13,
43,
11984,
800,
3726,
3726,
31,
259,
20,
1600,
21,
13,
43,
11984,
3893,
26,
51,
1572,
669,
9,
92,
737,
2247,
494,
55,
184,
20,
107,
48,
60,
48,
142,
51,
64,
1572,
669,
15,
31,
107,
52,
57,
186,
882,
184,
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... |
Trouble adding onclick handler to hyperlink tag inside listitem
===
Trying to add an onclick handler to my tabs, and can't seem to get the DOM selection right. Can you guys help?
<div id="tabstrip">
<ul>
<li id="a" class="selected"><a href="#">A</a></li>
<li id="b"><a href="#">B... | 0 | [
2,
2572,
4721,
27,
150,
10129,
24641,
20,
5443,
6258,
3383,
572,
968,
2119,
79,
800,
3726,
3726,
749,
20,
3547,
40,
27,
150,
10129,
24641,
20,
51,
6523,
18,
15,
17,
92,
22,
38,
2260,
20,
164,
14,
11859,
3155,
193,
9,
92,
42,
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 can I prevent loading a native dll from a .NET app?
===
**Background:**
My C# application includes a plugin framework and generic plugin loader.
The plugin loader enumerates the application directory in order to identify plugin dlls (essentially it searches for *.dll at this time).
Within the same applic... | 0 | [
2,
184,
92,
31,
2501,
12797,
21,
1275,
13,
43,
211,
37,
21,
13,
9,
2328,
4865,
60,
800,
3726,
3726,
13,
1409,
1958,
8810,
45,
1409,
51,
272,
5910,
3010,
1103,
21,
10922,
108,
6596,
17,
12733,
10922,
108,
6305,
106,
9,
14,
10922,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How do you substring a mergefield in word?
===
This one has me puzzled. It seemed like an easy task, but the solution eludes me:
- How do you substring a merge field in a word template used for mail merging?
I.e. I have something like {mergefield barcodevalue} and i want to extract the first 6 characters as it is ... | 0 | [
2,
184,
107,
42,
972,
11130,
21,
12666,
1109,
19,
833,
60,
800,
3726,
3726,
48,
53,
63,
55,
17033,
9,
32,
890,
101,
40,
2010,
3005,
15,
47,
14,
4295,
931,
8389,
18,
55,
45,
13,
8,
184,
107,
42,
972,
11130,
21,
12666,
575,
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... |
datagridview bottom heder
===
is there abottom heder in datagridview ? (VS2008)
if yes, can i get some help
than'k | 0 | [
2,
1054,
16375,
4725,
2129,
24,
1157,
800,
3726,
3726,
25,
80,
21,
22389,
24,
1157,
19,
1054,
16375,
4725,
13,
60,
13,
5,
710,
18,
2753,
6,
100,
1643,
15,
92,
31,
164,
109,
448,
119,
22,
197,
3,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
JavaScript - detect if function called as constructor
===
Given a function:
function x(arg) { return 30; }
You can call it two ways:
result = x(4);
result = new x(4);
The first returns 30, the second returns an object.
Two questions:
1) How can you detect which way the function was calle... | 0 | [
2,
8247,
8741,
13,
8,
9092,
100,
1990,
227,
28,
6960,
248,
800,
3726,
3726,
504,
21,
1990,
45,
1990,
993,
5,
10663,
6,
13,
1,
788,
712,
73,
13,
1,
42,
92,
645,
32,
81,
2847,
45,
829,
800,
993,
5,
300,
6,
73,
829,
800,
78,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Prevent caching of AJAX call
===
It looks like that if I load dynamic content using $.get(), the result is cached in browser.
Adding some random string in QueryString seem to solve this issue (I use new Date().toString()), but this feels like a hack.
Is there any other way to achieve this?
Or, if unique string i... | 0 | [
2,
2501,
1658,
7192,
16,
20624,
645,
800,
3726,
3726,
32,
1879,
101,
30,
100,
31,
6305,
7782,
2331,
568,
5579,
9,
3060,
5,
6,
15,
14,
829,
25,
16522,
43,
19,
16495,
9,
4721,
109,
5477,
3724,
19,
25597,
11130,
2260,
20,
8402,
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... |
Custom IVR action in Asterik
===
Can you someone please point in me in a direction, sample code or an online resource to accomplish the following:
**Requirement:**
I would like to write a simple IVR menu option that will run a script (Bash or Python). For example, phone the Asterisk machine and request to restart... | 0 | [
2,
5816,
31,
6938,
1028,
19,
21,
1911,
2883,
800,
3726,
3726,
92,
42,
737,
2247,
454,
19,
55,
19,
21,
1400,
15,
5717,
1797,
54,
40,
2087,
6577,
20,
14570,
14,
249,
45,
13,
1409,
99,
3003,
99,
1130,
45,
1409,
31,
83,
101,
20,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
I'm a beginner at PostgreSQL, How do I create a simple counter which I can reset?
===
I want to achieve the following:
ID | Counter
------------
0 | 343
1 | 8344
Now say that I want to update counter for ID 1,,, what is the easiest way to do it? Do I use sequences? do I simply read the val... | 0 | [
2,
31,
22,
79,
21,
26931,
35,
678,
6879,
18,
22402,
15,
184,
107,
31,
1600,
21,
1935,
2105,
56,
31,
92,
23422,
60,
800,
3726,
3726,
31,
259,
20,
4689,
14,
249,
45,
4924,
13,
1,
2105,
13,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
VB.NET Predicate Array Find
===
How would I convert the following to a VB.NET predicate using Array.Find?
Private Function FindCulture(ByVal Code As String) As Globalization.CultureInfo
'
Dim AllCultures As Globalization.CultureInfo() = Globalization.CultureInfo.GetCultures(Globalization.Cultu... | 0 | [
2,
13,
20468,
9,
2328,
28712,
7718,
477,
800,
3726,
3726,
184,
83,
31,
8406,
14,
249,
20,
21,
13,
20468,
9,
2328,
28712,
568,
7718,
9,
19811,
60,
932,
1990,
477,
12518,
5,
779,
3377,
1797,
28,
3724,
6,
28,
27175,
9,
12518,
108,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
enum-int casting: operator or function
===
In the external code that I am using there is enum:
enum En {VALUE_A, VALUE_B, VALUE_C};
In another external code that I am using there are 3 #define directives:
#define ValA 5
#define ValB 6
#define ValC 7
Many times I have int X which is... | 0 | [
2,
1957,
723,
8,
6391,
9087,
45,
6022,
54,
1990,
800,
3726,
3726,
19,
14,
4886,
1797,
30,
31,
589,
568,
80,
25,
1957,
723,
45,
1957,
723,
1957,
13,
1,
15165,
1,
58,
15,
1923,
1,
220,
15,
1923,
1,
150,
1,
73,
19,
226,
4886,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Linq to SQL Nested IN FROM query
===
Can anyone tell me how to write a nested SQL query like
SELECT * FROM X WHERE X.ID IN (SELECT Y.XID FROM Y WHERE .....)
in LINQ? | 0 | [
2,
6294,
1251,
20,
4444,
255,
5618,
69,
19,
37,
25597,
800,
3726,
3726,
92,
1276,
494,
55,
184,
20,
2757,
21,
5618,
69,
4444,
255,
25597,
101,
5407,
1637,
37,
993,
113,
993,
9,
1340,
19,
13,
5,
18,
16964,
13,
93,
9,
5845,
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,
0,
0... |
Using Win32 API in Qt OSE project
===
*It is a messy question, hopefully you can figure out what I want :)*
**What is the best way to use Win32 functionality in a Qt Open Source Edition project?**
Currently I have included the necessary Windows SDK libraries and include directories to qmake project file by han... | 0 | [
2,
568,
628,
3125,
21,
2159,
19,
2593,
38,
13,
6641,
669,
800,
3726,
3726,
1637,
242,
25,
21,
21503,
1301,
15,
13416,
42,
92,
1465,
70,
98,
31,
259,
13,
45,
6,
2483,
13,
1409,
608,
25,
14,
246,
161,
20,
275,
628,
3125,
18548,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 map a related table to an inherited entity (table-per-hierarchy)?
===
i've got this tables in my database.
![alt text][1]
With Entity Framework i would like to have something like that:
![alt text][2]
I've used table-per-hierarchy inheritance, so i added a new entity for the premium user and map it ... | 0 | [
2,
184,
20,
2942,
21,
1597,
859,
20,
40,
7179,
9252,
13,
5,
5924,
8,
1432,
8,
18094,
8027,
93,
6,
60,
800,
3726,
3726,
31,
22,
195,
330,
48,
7484,
19,
51,
6018,
9,
13,
187,
2558,
192,
38,
1854,
500,
2558,
165,
500,
29,
9252,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Model Warnings in ASP.NET MVC
===
I'm currently using the ModelStateDictionary in asp.net mvc to hold validation errors and pass then back to the user. Being able to check if the whole model is valid with ModelState.IsValid is particularly. However, a current application I'm working on has a need to be able to report ... | 0 | [
2,
1061,
3590,
18,
19,
28,
306,
9,
2328,
307,
8990,
800,
3726,
3726,
31,
22,
79,
871,
568,
14,
1061,
3859,
22595,
1857,
19,
28,
306,
9,
2328,
307,
8990,
20,
1027,
27999,
11908,
17,
1477,
94,
97,
20,
14,
4155,
9,
142,
777,
20,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What is wrong with this simple CSS in IE?
===
There is a div that has inner content, a div with a border that's inside a div. Somehow, this div is expanded to encompass the next div. It blows my mind.
<div style="background: yellow;">
<div>
<div style="border: 1px solid black; background: green">green bac... | 0 | [
2,
98,
25,
1389,
29,
48,
1935,
272,
18,
18,
19,
13,
660,
60,
800,
3726,
3726,
80,
25,
21,
13,
12916,
30,
63,
3754,
2331,
15,
21,
13,
12916,
29,
21,
1862,
30,
22,
18,
572,
21,
13,
12916,
9,
3625,
15,
48,
13,
12916,
25,
2766... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Stored Procedure
===
Below is my stored procedure. I want use stored procedure select all row of date from tbl_member and insert 2 table. But it's not work. Some one can help me?
Create PROCEDURE sp_test
AS
BEGIN
SET NOCOUNT ON;
Declare @A Varchar(255), @B Varchar(255), @C Varchar(255), @D int
Dec... | 0 | [
2,
8214,
7004,
800,
3726,
3726,
1021,
25,
51,
8214,
7004,
9,
31,
259,
275,
8214,
7004,
5407,
65,
3131,
16,
1231,
37,
13,
38,
6287,
1,
6990,
17,
14692,
172,
859,
9,
47,
32,
22,
18,
52,
170,
9,
109,
53,
92,
448,
55,
60,
1600,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
ASP.Net PagingBulletedList Extender For ASP.Net GridView
===
Does any one know of a control that i can use with a ASP.Net gridview that provides the functionality of the ASP.Net Ajax Control PagingBulletedList. I want to provide the users with a easier way to access the data in the grid.
It should ideally work in t... | 0 | [
2,
28,
306,
9,
2328,
19006,
68,
9077,
1336,
69,
5739,
7206,
106,
26,
28,
306,
9,
2328,
7354,
4725,
800,
3726,
3726,
630,
186,
53,
143,
16,
21,
569,
30,
31,
92,
275,
29,
21,
28,
306,
9,
2328,
7354,
4725,
30,
1927,
14,
18548,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
MySQL - find records from one table which don't exist in another
===
I've got the following two MySQL tables:
Phone_book
+----+------+--------------+
| id | name | phone_number |
+----+------+--------------+
| 1 | John | 111111111111 |
+----+------+--------------+
| 2 | Jane | 22... | 0 | [
2,
51,
18,
22402,
13,
8,
477,
742,
37,
53,
859,
56,
221,
22,
38,
3182,
19,
226,
800,
3726,
3726,
31,
22,
195,
330,
14,
249,
81,
51,
18,
22402,
7484,
45,
1132,
1,
5199,
2754,
8,
8,
8,
8,
2430,
8,
8,
8,
8,
8,
8,
2430,
8,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Securing certain parts of an application.
===
If someone logs on to my application this user contains a dictionary with certain permissions.
ex: module.view.workspace = true
module.view.reporting = false
...
Then we know to what parts of the application the user has access.
What I want to know is how we... | 0 | [
2,
13498,
1200,
1341,
16,
40,
3010,
9,
800,
3726,
3726,
100,
737,
18893,
27,
20,
51,
3010,
48,
4155,
1588,
21,
9186,
29,
1200,
5572,
18,
9,
1396,
45,
12613,
9,
4725,
9,
3783,
5582,
800,
1151,
12613,
9,
4725,
9,
17437,
68,
800,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Debug/Release diffrence
===
What's the diffrence between Debug and Release? | 0 | [
2,
121,
16254,
118,
15202,
20811,
139,
2940,
800,
3726,
3726,
98,
22,
18,
14,
20811,
139,
2940,
128,
121,
16254,
17,
830,
60,
3,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Session level exception
===
I am having an page. I need to capture the exception which is thrown due to time out..
Is there any exception message like System.Applicationexception | 0 | [
2,
3723,
662,
5391,
800,
3726,
3726,
31,
589,
452,
40,
2478,
9,
31,
376,
20,
3683,
14,
5391,
56,
25,
6027,
397,
20,
85,
70,
9,
9,
25,
80,
186,
5391,
2802,
101,
329,
9,
2552,
20669,
10066,
872,
3,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Generated equals in Webservice Stub
===
All the generated webservice-stubs from our backend have an equals-method similar to this one:
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof PropertyData)) return false;
... | 0 | [
2,
6756,
2747,
18,
19,
2741,
11449,
21354,
800,
3726,
3726,
65,
14,
6756,
2741,
11449,
8,
384,
4502,
18,
37,
318,
97,
2451,
57,
40,
2747,
18,
8,
5909,
1807,
43,
835,
20,
48,
53,
45,
932,
8247,
9,
9949,
9,
23793,
13,
1,
62,
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... |
OpenGL: inaccurate color?
===
I'm trying to follow the directions from this page:
<http://www.opengl.org/resources/faq/technical/color.htm>
regarding rendering primitives with a unique color
I've checked the number of bits for every color and the result was 8 for each.
When calling:
glColor3ui(0x80... | 0 | [
2,
368,
8430,
45,
26349,
1665,
60,
800,
3726,
3726,
31,
22,
79,
749,
20,
1740,
14,
7876,
37,
48,
2478,
45,
13,
1,
21127,
6903,
6483,
9,
10157,
8430,
9,
5583,
118,
99,
12097,
18,
118,
1473,
1251,
118,
22307,
118,
11282,
9,
9020,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Free DNS server for Windows XP?
===
I'm currently developing a security solution that should work across domains and as such I need a small private dns server to add various entries to. I could alter the hosts file to achieve the same result but since the hosts file doesn't support wildcard chars I will have a whole l... | 0 | [
2,
551,
13,
43,
2172,
8128,
26,
1936,
23045,
60,
800,
3726,
3726,
31,
22,
79,
871,
3561,
21,
1221,
4295,
30,
378,
170,
464,
15544,
17,
28,
145,
31,
376,
21,
284,
932,
13,
43,
2172,
8128,
20,
3547,
617,
11399,
20,
9,
31,
110,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 state of a TCP socket after remote closed?
===
Say I have accepted() a connection to my server (that runs on a Solaris) and the client has closed the connection. What is the state of the socket (in netstat categories) of the socket on the server side before I close() it on the server side? Is it BOUND? | 0 | [
2,
98,
25,
14,
146,
16,
21,
13,
38,
7439,
18482,
75,
5388,
827,
60,
800,
3726,
3726,
395,
31,
57,
2217,
5,
6,
21,
2760,
20,
51,
8128,
13,
5,
887,
1461,
27,
21,
4535,
403,
6,
17,
14,
6819,
63,
827,
14,
2760,
9,
98,
25,
14... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.