unified_texts stringlengths 32 30.1k | OpenStatus_id int64 0 4 | input_ids list | token_type_ids list | attention_mask list |
|---|---|---|---|---|
How to create vector graphics and then generate icons from them?
===
For a Website I'm developing, I will need to create some graphics. I haven't yet locked in sizes so I didn't want to generate image files (PNG, GIF, JPG) directly in case I change my mind after I get further along with layout and UI to see what work... | 0 | [
2,
184,
20,
1600,
7497,
8351,
17,
94,
7920,
9801,
18,
37,
105,
60,
800,
3726,
3726,
26,
21,
2271,
31,
22,
79,
3561,
15,
31,
129,
376,
20,
1600,
109,
8351,
9,
31,
2933,
22,
38,
768,
4011,
19,
13403,
86,
31,
223,
22,
38,
259,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Vector graphics in Javascript?
===
One of the advantages of Flas/Flex is that you can use vector graphics (SVG), which is nice. I did a bit of searching around and came across this [Javascript vector graphics library][1]. It's pretty simple stuff but it got me thinking: is there any possibility of using vector graph... | 0 | [
2,
7497,
8351,
19,
8247,
8741,
60,
800,
3726,
3726,
53,
16,
14,
14683,
16,
13,
9165,
18,
118,
19752,
25,
30,
42,
92,
275,
7497,
8351,
13,
5,
18,
22955,
6,
15,
56,
25,
2210,
9,
31,
144,
21,
1142,
16,
5792,
140,
17,
281,
464,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 filter a TableAdapter's FillBy based on two tables?
===
I'm using VS2008 C# Express and the Northwind database on a Windows Form application.
I used drag and drop to set up the master details binding (I used the Orders and Order Details) for the two datagridviews. At this point, everything works as ex... | 0 | [
2,
184,
107,
42,
11945,
21,
859,
27576,
106,
22,
18,
3509,
779,
432,
27,
81,
7484,
60,
800,
3726,
3726,
31,
22,
79,
568,
4611,
2753,
272,
5910,
2999,
17,
14,
200,
7809,
6018,
27,
21,
1936,
505,
3010,
9,
31,
147,
5501,
17,
2804... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Protecting your images, CSS and Javascript files from being used by external sites with Apache?
===
I came across a site that demonstrated a Javascript library and it asked that you please not link to the Javascript file directly from your site. That's a reasonable request. In fact, it wouldn't have occurred to me t... | 0 | [
2,
8718,
154,
3502,
15,
272,
18,
18,
17,
8247,
8741,
6488,
37,
142,
147,
34,
4886,
3259,
29,
17140,
60,
800,
3726,
3726,
31,
281,
464,
21,
689,
30,
6861,
21,
8247,
8741,
1248,
17,
32,
411,
30,
42,
2247,
52,
3508,
20,
14,
8247,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 project template should I use for Visual C++ game development project?
===
Which project template should I use for Visual C++ game development project? I am really new to Visual Studio and I am little bit confused with all these Windows Form Application, Win32 Console Application, CLR Console Application, etc. s... | 0 | [
2,
56,
669,
22894,
378,
31,
275,
26,
3458,
272,
20512,
250,
522,
669,
60,
800,
3726,
3726,
56,
669,
22894,
378,
31,
275,
26,
3458,
272,
20512,
250,
522,
669,
60,
31,
589,
510,
78,
20,
3458,
1120,
17,
31,
589,
265,
1142,
4230,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
For Python programmers, is there anything equivalent to Perl's CPAN?
===
I'm new to python, reason I'm learning it right now is because of the Django framework. I have been a perl programmer for a number of years and I'm so used to Perl's tools. One of the things that I really miss is Perl's CPAN and it's tools. Is... | 0 | [
2,
26,
20059,
17968,
18,
15,
25,
80,
602,
4602,
20,
416,
255,
22,
18,
272,
3206,
60,
800,
3726,
3726,
31,
22,
79,
78,
20,
20059,
15,
1215,
31,
22,
79,
2477,
32,
193,
130,
25,
185,
16,
14,
3857,
14541,
6596,
9,
31,
57,
74,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Does anyone use typed DataSets in .NET?
===
I have once tried to use typed DateSets in a relatively small production application. Initially it looked like a pretty good idea, but turned out to be different. It was pretty fine for some basic tasks, but as soon as something more advanced was required, it's limitations k... | 0 | [
2,
630,
1276,
275,
1001,
43,
1054,
3554,
18,
19,
13,
9,
2328,
60,
800,
3726,
3726,
31,
57,
382,
794,
20,
275,
1001,
43,
4076,
6095,
19,
21,
3109,
284,
637,
3010,
9,
1537,
32,
292,
101,
21,
1772,
254,
882,
15,
47,
412,
70,
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... |
Interested in Collective Programming for the web -- Ruby or Python or PHP?
===
For something like a personal recommendation system, machine learning type of stuff on a website, what language would be best? | 0 | [
2,
3158,
19,
6553,
3143,
26,
14,
2741,
13,
8,
8,
10811,
54,
20059,
54,
13,
26120,
60,
800,
3726,
3726,
26,
301,
101,
21,
1319,
14066,
329,
15,
1940,
2477,
1001,
16,
3217,
27,
21,
2271,
15,
98,
816,
83,
44,
246,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Accessing an application's COM interface using C++ or C
===
In response to question, how can I (or find more information to) <b>automate</b> certain <b>functionality</b> without user intervention, from a C++ (or C) using:
<ul>
<li>ATL </li>
<li> Or Automation code directly in C/C++ </li>
</ul>
Regards
| 0 | [
2,
1381,
68,
40,
3010,
22,
18,
13,
960,
6573,
568,
272,
20512,
54,
272,
800,
3726,
3726,
19,
1627,
20,
1301,
15,
184,
92,
31,
13,
5,
248,
477,
91,
676,
20,
6,
13,
1,
220,
1,
18042,
5281,
1,
118,
220,
1,
1200,
13,
1,
220,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 reload a running Shoes app after making source code changes?
===
I'd like to start tinkering around with [Shoes][1]. There is one thing I can't figure out. How do I reload a running Shoes application after saving changes to the source code? I've already found the hotkeys for opening the Help, Console, and a n... | 0 | [
2,
184,
107,
31,
27339,
21,
946,
5028,
4865,
75,
544,
1267,
1797,
1693,
60,
800,
3726,
3726,
31,
22,
43,
101,
20,
799,
25438,
68,
140,
29,
636,
9468,
160,
500,
2558,
165,
500,
9,
80,
25,
53,
584,
31,
92,
22,
38,
1465,
70,
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... |
[ruby] How does ruby serialization (Marshaling) work?
===
I have found some info ([like this link)](http://rubylearning.com/satishtalim/object_serialization.html), but nothing that tells me how it actually works under the covers. My specific problem is this:
My problem is a bit complicated because I do not have th... | 0 | [
2,
636,
1820,
779,
500,
184,
630,
10811,
5956,
1829,
13,
5,
19988,
192,
68,
6,
170,
60,
800,
3726,
3726,
31,
57,
216,
109,
15404,
13,
5,
2558,
1403,
48,
3508,
6,
500,
5,
21127,
6903,
1820,
779,
26001,
9,
960,
118,
10833,
1595,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 language are these software programs written in
===
i was always curious what language these pieces of software were written in?
Visual Studio
Microsoft Office
Adobe Acrobat
Google Chrome
Firefox
| 0 | [
2,
98,
816,
50,
158,
2306,
1726,
642,
19,
800,
3726,
3726,
31,
23,
550,
7686,
98,
816,
158,
2491,
16,
2306,
46,
642,
19,
60,
3458,
1120,
7099,
488,
20299,
21,
7638,
4900,
8144,
13,
12985,
535,
18219,
3,
0,
0,
0,
0,
0,
0,
0,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Do you plan move from ASP.Net Web Forms to ASP.Net MVC?
===
If yes, when? and how much time do you think that the process will take to migrate your current projects (if it's the case)? | 0 | [
2,
107,
42,
944,
780,
37,
28,
306,
9,
2328,
2741,
1997,
20,
28,
306,
9,
2328,
307,
8990,
60,
800,
3726,
3726,
100,
1643,
15,
76,
60,
17,
184,
212,
85,
107,
42,
277,
30,
14,
953,
129,
247,
20,
22985,
154,
866,
2314,
13,
5,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... |
Natural/Relative days in Python
===
I'd like a way to show natural times for dated items in Python. Similar to how Twitter will show a message from "a moment ago", "a few minutes ago", "two hours ago", "three days ago", etc.
Django 1.0 has a "humanize" method in django.contrib. I'm not using the Django framework, a... | 0 | [
2,
1112,
118,
7256,
3366,
509,
19,
20059,
800,
3726,
3726,
31,
22,
43,
101,
21,
161,
20,
298,
1112,
436,
26,
5210,
3755,
19,
20059,
9,
835,
20,
184,
10623,
129,
298,
21,
2802,
37,
13,
7,
58,
688,
1464,
7,
15,
13,
7,
58,
310,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 connection close when command is disposed and the connection is defined directly on the command?
===
I know that a lot of examples exist where a SqlConnection is defined and then a SqlCommand is defined, both in Using blocks:
using (var conn = new SqlConnection(connString)) {
using (var cmd = ne... | 0 | [
2,
630,
2760,
543,
76,
1202,
25,
17913,
43,
17,
14,
2760,
25,
2811,
1703,
27,
14,
1202,
60,
800,
3726,
3726,
31,
143,
30,
21,
865,
16,
3770,
3182,
113,
21,
4444,
255,
25996,
872,
25,
2811,
17,
94,
21,
4444,
255,
16239,
25,
281... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Creating a UITableView with Taller Cells on the iPhone
===
How can I go about creating a UITableView with taller cells? Basically, I want to create a full screen table with only four cells, but they should take up the entire screen (1/4 each).
Assuming this is possible using a UITableView, can it be done both in co... | 0 | [
2,
2936,
21,
13,
11193,
579,
4725,
29,
12926,
2934,
27,
14,
21024,
800,
3726,
3726,
184,
92,
31,
162,
88,
2936,
21,
13,
11193,
579,
4725,
29,
12926,
2934,
60,
11374,
15,
31,
259,
20,
1600,
21,
503,
2324,
859,
29,
104,
222,
2934,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Test if object implements interface
===
What's the simplest way of testing if an object implements a given interface?
Is it possible to test if a class implements a given interface? | 0 | [
2,
1289,
100,
3095,
8713,
18,
6573,
800,
3726,
3726,
98,
22,
18,
14,
24384,
161,
16,
4431,
100,
40,
3095,
8713,
18,
21,
504,
6573,
60,
25,
32,
938,
20,
1289,
100,
21,
718,
8713,
18,
21,
504,
6573,
60,
3,
0,
0,
0,
0,
0,
0,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
java.util.Object.equals() AND java.util.Object.hasCode() ARE BFF!!!
===
When overriding the equals() function of java.lang.Object, the javadocs suggest that,
"it is generally necessary to override the hashCode method whenever this method is overridden, so as to maintain the general contract for the hashCode metho... | 0 | [
2,
8247,
9,
14255,
9,
23793,
9,
62,
14512,
18,
5,
6,
17,
8247,
9,
14255,
9,
23793,
9,
6482,
9375,
5,
6,
50,
334,
2460,
28116,
800,
3726,
3726,
76,
84,
5175,
68,
14,
2747,
18,
5,
6,
1990,
16,
8247,
9,
9949,
9,
23793,
15,
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... |
Appropriate Method of Retrieving Data from a Form.
===
New to C# and .NET.
In a windows application I place a form to query a user for some input. The user fills out the form and presses 'ok'.
What is the "correct" or "appropriate" method of retrieving that data from the form? Do forms have a return statement? D... | 0 | [
2,
4593,
2109,
16,
13,
6239,
3272,
8397,
1054,
37,
21,
505,
9,
800,
3726,
3726,
78,
20,
272,
5910,
17,
13,
9,
2328,
9,
19,
21,
1936,
3010,
31,
209,
21,
505,
20,
25597,
21,
4155,
26,
109,
6367,
9,
14,
4155,
3509,
18,
70,
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 to implement web services on an embedded device?
===
We have an embedded device that needs to interact with an enterprise software system.
The enterprise system currently uses many different mechanisms for communication between its components: ODBC, RPC, proprietary protocol over TCP/IP, and is moving to .Net... | 0 | [
2,
184,
20,
8713,
2741,
687,
27,
40,
12138,
3646,
60,
800,
3726,
3726,
95,
57,
40,
12138,
3646,
30,
2274,
20,
10001,
29,
40,
6002,
2306,
329,
9,
14,
6002,
329,
871,
2027,
151,
421,
11626,
26,
3291,
128,
82,
5090,
45,
12340,
7229... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 you lock on a generic dictionary?
===
or should you always create some other lock object . . | 0 | [
2,
92,
42,
3991,
27,
21,
12733,
9186,
60,
800,
3726,
3726,
54,
378,
42,
550,
1600,
109,
89,
3991,
3095,
13,
9,
13,
9,
3,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
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... |
How to create a 3D model and then create an icon/logo from it?
===
I want to create a simple logo and the the logo I have in mind will be a stylized 3D model with "iconic" lighting (front, left, even). The 3D model itself can be defined as a collection of geometric shapes. Programming is more my thing than design so... | 0 | [
2,
184,
20,
1600,
21,
203,
43,
1061,
17,
94,
1600,
40,
9801,
118,
5567,
111,
37,
32,
60,
800,
3726,
3726,
31,
259,
20,
1600,
21,
1935,
6449,
17,
14,
14,
6449,
31,
57,
19,
594,
129,
44,
21,
13,
22440,
203,
43,
1061,
29,
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... |
Implementing a buffer-like structure in Python
===
I'm trying to write a small wsgi application which will put some objects to an external queue after each request. I want to make this in batch, ie. make the webserver put the object to a buffer-like structure in memory, and another thread and/or process for sending th... | 0 | [
2,
17333,
21,
17497,
8,
1403,
1411,
19,
20059,
800,
3726,
3726,
31,
22,
79,
749,
20,
2757,
21,
284,
619,
18,
2234,
3010,
56,
129,
442,
109,
3916,
20,
40,
4886,
22521,
75,
206,
3772,
9,
31,
259,
20,
233,
48,
19,
13064,
15,
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... |
Convert a CGPoint from a UIView coordinate system to a CALayer coordinate system
===
There are methods to transfer a CGPoint from one UIView to another and from one CALayer to another. I cannot find a way to change a CGPoint from a UIView's coordinate system to a CALayer's coordinate system.
Does a layer and it's... | 0 | [
2,
8406,
21,
13,
15123,
3132,
37,
21,
13,
5661,
4725,
15154,
329,
20,
21,
1658,
15187,
15154,
329,
800,
3726,
3726,
80,
50,
3195,
20,
2617,
21,
13,
15123,
3132,
37,
53,
13,
5661,
4725,
20,
226,
17,
37,
53,
1658,
15187,
20,
226,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Google Windows Tookit User extensions missing Spinner?
===
When I look at the example of the user extensions of GWT-Ext I saw the Spinner as a user extension: [http://www.gwt-ext.com/demo-ux/#spinner][1]
When I download the library from [http://code.google.com/p/gwt-ext-ux/downloads/list][2] (I downloaded the late... | 0 | [
2,
8144,
1936,
199,
242,
4155,
17529,
2863,
3310,
1031,
60,
800,
3726,
3726,
76,
31,
361,
35,
14,
823,
16,
14,
4155,
17529,
16,
14094,
38,
8,
1706,
38,
31,
441,
14,
3310,
1031,
28,
21,
4155,
3896,
45,
636,
21127,
6903,
6483,
9,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Silly SSL cert question for Windows 2000/ASP/IIS
===
I've got an ssl certificate for what I think is my domain and I want to apply it to two separate applications in that domain that run under ASP classic in IIS on Windows 2000.
I have the following stupid questions:
1. Are certificates issued for URLs or domain... | 0 | [
2,
10752,
13,
18,
18,
255,
13,
17580,
1301,
26,
1936,
824,
118,
472,
306,
118,
2865,
18,
800,
3726,
3726,
31,
22,
195,
330,
40,
13,
18,
18,
255,
6259,
26,
98,
31,
277,
25,
51,
4603,
17,
31,
259,
20,
5645,
32,
20,
81,
1725,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 render to offscreen bitmap then blit to screen using Core Graphics
===
I would like to render to an offscreen bitmap (or array of RGBA values) and then blit those to a `UIView` during in the view's `drawRect` function. I would prefer to do full 32-bit rendering (including alpha channel), but would also be conte... | 0 | [
2,
184,
20,
16535,
20,
168,
7187,
1142,
15022,
94,
334,
6864,
20,
2324,
568,
2884,
8351,
800,
3726,
3726,
31,
83,
101,
20,
16535,
20,
40,
168,
7187,
1142,
15022,
13,
5,
248,
7718,
16,
13,
8911,
969,
4070,
6,
17,
94,
334,
6864,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 Web 3.0 exactly?
===
Some say, it's making web content more personalize.
Others say it's about sharing documents in a better way.
What is it really? | 4 | [
2,
98,
25,
2741,
203,
9,
387,
1890,
60,
800,
3726,
3726,
109,
395,
15,
32,
22,
18,
544,
2741,
2331,
91,
1319,
2952,
9,
654,
395,
32,
22,
18,
88,
6126,
4374,
19,
21,
574,
161,
9,
98,
25,
32,
510,
60,
3,
0,
0,
0,
0,
0,
0... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
What is Java written in?
===
What language is Sun's JVM written in? | 0 | [
2,
98,
25,
8247,
642,
19,
60,
800,
3726,
3726,
98,
816,
25,
939,
22,
18,
487,
20147,
642,
19,
60,
3,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Writing text to the middle of a file
===
Is there a way I can write text to a file from a certain point in the file?
For example, I open a file of 10 lines of text but I want to write a line of text to the 5th line.
I guess one way is to get the lines of text in the file back as an array using the readalllines m... | 0 | [
2,
1174,
1854,
20,
14,
772,
16,
21,
3893,
800,
3726,
3726,
25,
80,
21,
161,
31,
92,
2757,
1854,
20,
21,
3893,
37,
21,
1200,
454,
19,
14,
3893,
60,
26,
823,
15,
31,
368,
21,
3893,
16,
332,
1560,
16,
1854,
47,
31,
259,
20,
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... |
image to text in signup process
===
I am in the training of web developement.I have seen in most of the websites while registering new user it shows one image and tells the user to type the characters in the image.I dont know What is the use of that process? Is there any reason behind that?
thanks. | 0 | [
2,
1961,
20,
1854,
19,
1676,
576,
953,
800,
3726,
3726,
31,
589,
19,
14,
838,
16,
2741,
2803,
9632,
9,
49,
57,
541,
19,
127,
16,
14,
13931,
133,
2243,
68,
78,
4155,
32,
1285,
53,
1961,
17,
2609,
14,
4155,
20,
1001,
14,
1766,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Validate reflected method return type and parms in Java
===
I have a generic Callback object which provides a (primitive) callback capability for Java, in the absence of closures. The Callback object contains a Method, and returns the parameter and return types for the method via a couple of accessor methods that jus... | 0 | [
2,
7394,
1373,
7037,
2109,
788,
1001,
17,
2017,
79,
18,
19,
8247,
800,
3726,
3726,
31,
57,
21,
12733,
645,
1958,
3095,
56,
1927,
21,
13,
5,
6944,
5130,
1284,
6,
645,
1958,
11480,
26,
8247,
15,
19,
14,
5315,
16,
7790,
18,
9,
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... |
Adding a photo to a model's has_many model from a view
===
I have a model, Thing, that has a has_many with ThingPhoto, using Paperclip to manage everything. On the "show" view for Thing, I want to have a file upload, and have it relate to the Thing model.
For some reason, I'm totally glitching on how this should be... | 0 | [
2,
4721,
21,
3056,
20,
21,
1061,
22,
18,
63,
1,
14842,
1061,
37,
21,
1418,
800,
3726,
3726,
31,
57,
21,
1061,
15,
584,
15,
30,
63,
21,
63,
1,
14842,
29,
584,
25445,
15,
568,
1397,
150,
6013,
20,
4705,
796,
9,
27,
14,
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... |
Learning to write well structured programs in Perl?
===
I've started learning Perl but most of my former programming experience has been in languages that emphasize object oriented programming such as C# and Java. All the Perl examples I have found tend to be long single function programs and I find my self writing co... | 0 | [
2,
2477,
20,
2757,
134,
17784,
1726,
19,
416,
255,
60,
800,
3726,
3726,
31,
22,
195,
373,
2477,
416,
255,
47,
127,
16,
51,
336,
3143,
1496,
63,
74,
19,
2556,
30,
13,
19051,
3095,
13,
6800,
3143,
145,
28,
272,
5910,
17,
8247,
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... |
mySQL stored procedure with .NET connector problem
===
I've seen other topics that deal with this error but none that seem to correspond to my situation.
First of all, my code works completely fine when i run it locally.
But when i upload it to the server, i get the error:
Parameter '?PuserName' not found in ... | 0 | [
2,
51,
18,
22402,
8214,
7004,
29,
13,
9,
2328,
17991,
1448,
800,
3726,
3726,
31,
22,
195,
541,
89,
7569,
30,
1183,
29,
48,
7019,
47,
2369,
30,
2260,
20,
14217,
20,
51,
1858,
9,
64,
16,
65,
15,
51,
1797,
693,
1524,
1123,
76,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Cross .NET Languages Performances
===
Does using Multiple .NET Languages (Delphi, VB.NET, C#) into the same application (but in differents class library of course) can **down peformances** compared to a **full C# application** for example ? | 0 | [
2,
919,
13,
9,
2328,
2556,
3200,
800,
3726,
3726,
630,
568,
1886,
13,
9,
2328,
2556,
13,
5,
3436,
7805,
15,
13,
20468,
9,
2328,
15,
272,
5910,
6,
77,
14,
205,
3010,
13,
5,
811,
19,
421,
18,
718,
1248,
16,
674,
6,
92,
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... |
WAMP Server not working
===
Okay so a continuation from [this question][1], where you experts intro'd me to [WAMP][2], which can basically execute PHP within a Windows XP environment.
So now I've got it installed, but the **tray icon forever shows YELLOW**, and when I visit any PHP page in my browser, it just shows... | 0 | [
2,
619,
10158,
8128,
52,
638,
800,
3726,
3726,
1705,
86,
21,
15503,
37,
636,
1565,
1301,
500,
2558,
165,
500,
15,
113,
42,
8365,
17386,
22,
43,
55,
20,
636,
1608,
2554,
500,
2558,
135,
500,
15,
56,
92,
11374,
15644,
13,
26120,
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... |
Using AD as authentication for Django
===
I'm working on a Django-based application in a corporate environment and would like to use the existing Active Directory system for authentication of users (so they don't get yet another login/password combo). I would also like to continue to use Django's user authorization /... | 0 | [
2,
568,
21,
43,
28,
27963,
26,
3857,
14541,
800,
3726,
3726,
31,
22,
79,
638,
27,
21,
3857,
14541,
8,
1281,
3010,
19,
21,
4871,
2307,
17,
83,
101,
20,
275,
14,
3149,
1348,
16755,
329,
26,
27963,
16,
3878,
13,
5,
656,
59,
221,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 Git ready to be recommended to my boss?
===
I want to recomment Git to my boss as a new source control system, since we're stuck in the 90s with VSS (ouch), but are the tools and 3rd party support good enough yet?
Specifically I'm talking about GUI front-ends similar to TortoiseSVN, decent visual diff/merge supp... | 0 | [
2,
25,
13,
10404,
1451,
20,
44,
5773,
20,
51,
4054,
60,
800,
3726,
3726,
31,
259,
20,
302,
960,
1130,
13,
10404,
20,
51,
4054,
28,
21,
78,
1267,
569,
329,
15,
179,
95,
22,
99,
4549,
19,
14,
3151,
18,
29,
4611,
18,
13,
5,
2... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
sqlserver secutrity
===
Can anybody let me know that what permission does public have in sql server.
Thanks | 0 | [
2,
4444,
255,
10321,
106,
1353,
4118,
139,
856,
800,
3726,
3726,
92,
11181,
408,
55,
143,
30,
98,
5572,
630,
317,
57,
19,
4444,
255,
8128,
9,
3669,
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... | [
1,
1,
1,
1,
1,
1,
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... |
Get current page URL from a firefox sidebar extention
===
I'm writing a sidebar extension for FireFox and need a way to get the URL of the current page so I can check it against a database and display the results. How can I do this? | 0 | [
2,
164,
866,
2478,
287,
6362,
37,
21,
535,
18219,
270,
1850,
5674,
872,
800,
3726,
3726,
31,
22,
79,
1174,
21,
270,
1850,
3896,
26,
535,
18219,
17,
376,
21,
161,
20,
164,
14,
287,
6362,
16,
14,
866,
2478,
86,
31,
92,
2631,
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,
0,
0,
0... |
Why isn't System...Stack<T> implemented as a Linked List?
===
I was looking through my code and I found a couple of extension methods that I wrote in order to remove items from a System.Collections.Generic.Stack<T>. I was curious, so I looked at the source of Stack<T> with Reflector and I can see that they implemented... | 0 | [
2,
483,
2532,
22,
38,
329,
9,
9,
9,
25325,
1,
38,
1,
6807,
28,
21,
4727,
968,
60,
800,
3726,
3726,
31,
23,
699,
120,
51,
1797,
17,
31,
216,
21,
1335,
16,
3896,
3195,
30,
31,
738,
19,
389,
20,
4681,
3755,
37,
21,
329,
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... |
What are the best resources to learn web design for web applications?
===
I've built it now how do I create a half decent design? I need some techniques, resources, examples, books etc. for an information intensive web application.
P.S. - I just bought Web Design for Developers from Pragmatic Programmers and it... | 0 | [
2,
98,
50,
14,
246,
2566,
20,
2484,
2741,
704,
26,
2741,
3767,
60,
800,
3726,
3726,
31,
22,
195,
392,
32,
130,
184,
107,
31,
1600,
21,
519,
12238,
704,
60,
31,
376,
109,
4212,
15,
2566,
15,
3770,
15,
964,
2722,
9,
26,
40,
67... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Display formatted text on the iPhone
===
I need to display text in an iPhone application, something like the way a book is displayed, for example:
<center><h1>Heading</h1></center>
<center><h2>Sub heading</h2></center>
<center>The actual text of the book. Blah. Blah. Blah.</center>
<br/>
How would I go about ... | 0 | [
2,
3042,
13,
29850,
1854,
27,
14,
21024,
800,
3726,
3726,
31,
376,
20,
3042,
1854,
19,
40,
21024,
3010,
15,
301,
101,
14,
161,
21,
360,
25,
6115,
15,
26,
823,
45,
13,
1,
12641,
1,
252,
165,
1,
1743,
68,
1,
118,
252,
165,
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... |
If I wanted to learn how to create web apps, what route would you all recommend?
===
Would you recommend:
1. Taking an online course? If so, any recs?
2. Reading books? If so, again any recs?
3. Anything else?
I'm 31 years old and have a great career so going back to school full-time isn't an option...but I ... | 0 | [
2,
100,
31,
417,
20,
2484,
184,
20,
1600,
2741,
4865,
18,
15,
98,
858,
83,
42,
65,
12360,
60,
800,
3726,
3726,
83,
42,
12360,
45,
137,
9,
741,
40,
2087,
674,
60,
100,
86,
15,
186,
6042,
18,
60,
172,
9,
1876,
964,
60,
100,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Is stopwatch benchmarking acceptable?
===
Does anyone ever use [stopwatch benchmarking][1], or should a performance tool always be used? Are there any good free tools available for Java? What tools do you use?
[1]: http://java.sun.com/docs/books/performance/1st_edition/html/JPMeasurement.fm.html#17818 | 0 | [
2,
25,
747,
9054,
25324,
68,
12513,
60,
800,
3726,
3726,
630,
1276,
462,
275,
636,
7318,
9054,
25324,
68,
500,
2558,
165,
500,
15,
54,
378,
21,
956,
5607,
550,
44,
147,
60,
50,
80,
186,
254,
551,
4672,
904,
26,
8247,
60,
98,
4... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
[Erlang] This was suggested in a previous post, can my code be improved?
===
Archaelus suggested in [this post][1] that writing a new format routine to handle named parameters may be a good learning exercise. So, in the spirit of learning the language I wrote a formatting routine which handles named parameters.
<br... | 0 | [
2,
636,
106,
9949,
500,
48,
23,
2347,
19,
21,
1158,
678,
15,
92,
51,
1797,
44,
3999,
60,
800,
3726,
3726,
5071,
4391,
4334,
2347,
19,
636,
1565,
678,
500,
2558,
165,
500,
30,
1174,
21,
78,
2595,
8275,
20,
3053,
377,
12905,
123,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Font (typeface) selection for the Web?
===
I got to thinking about font (typeface) selection today. A site I did for work came with this professsionally done style guide that detailed colour selection, font selection, spacing, etc. It's the first time I'd seen anything like that but I have to admit, what they'd chos... | 0 | [
2,
9978,
13,
5,
4474,
6413,
6,
3155,
26,
14,
2741,
60,
800,
3726,
3726,
31,
330,
20,
1440,
88,
9978,
13,
5,
4474,
6413,
6,
3155,
786,
9,
21,
689,
31,
144,
26,
170,
281,
29,
48,
23145,
5991,
1326,
677,
1034,
3378,
30,
6036,
4... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Why don't TKinter windows appear when using multiprocessing on Linux?
===
I want to spawn another process to display an error message asynchronously while the rest of the application continues. I'm using the multiprocessing module in Python 2.6 to create the process and I'm trying to display the window with TKinter. T... | 0 | [
2,
483,
221,
22,
38,
13,
38,
1767,
815,
1936,
1893,
76,
568,
1889,
16835,
68,
27,
13024,
60,
800,
3726,
3726,
31,
259,
20,
13,
22860,
226,
953,
20,
3042,
40,
7019,
2802,
21,
16023,
13985,
133,
14,
760,
16,
14,
3010,
2622,
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... |
How can I pop a view from a UINavigationController and replace it with another in one operation?
===
I have an application where I need to remove one view from the stack of a UINavigationController and replace it with another. The situation is that the first view creates an editable item and then replaces itself with ... | 0 | [
2,
184,
92,
31,
1675,
21,
1418,
37,
21,
287,
1673,
13227,
857,
12898,
1252,
17,
3934,
32,
29,
226,
19,
53,
1453,
60,
800,
3726,
3726,
31,
57,
40,
3010,
113,
31,
376,
20,
4681,
53,
1418,
37,
14,
7566,
16,
21,
287,
1673,
13227,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
what's the 5 character alphanumeric id in reddit URL?
===
Whats the `7n5lu` in the reddit URL
`http://www.reddit.com/r/reddit.com/comments/7n5lu/man_can_fly_if_you_watch_one_video_in_2`
how is it generated? | 0 | [
2,
98,
22,
18,
14,
331,
925,
5705,
6336,
14744,
4924,
19,
402,
43,
242,
287,
6362,
60,
800,
3726,
3726,
98,
18,
14,
13,
1,
465,
103,
264,
2377,
1,
19,
14,
402,
43,
242,
287,
6362,
13,
1,
21127,
6903,
6483,
9,
2095,
43,
242,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 does the user need to run a WPF browser application?
===
I've been developing on WinForms and WebForms since the last 4 years. I didn't consider migration to WPF till now, but I am considering it now. Please tell me what's required at the client end to properly run WPF applications in the browser. What are the pl... | 0 | [
2,
98,
630,
14,
4155,
376,
20,
485,
21,
619,
7721,
16495,
3010,
60,
800,
3726,
3726,
31,
22,
195,
74,
3561,
27,
628,
4190,
18,
17,
2741,
4190,
18,
179,
14,
236,
268,
122,
9,
31,
223,
22,
38,
3563,
8443,
20,
619,
7721,
3924,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Win32 File Name Comparison Culture
===
Does anyone know what culture settings Win32 uses when dealing with case-insensitive files names?
Is this something that varies based on the user's culture, or are the casing rules that Win32 uses culture invariant? | 0 | [
2,
628,
3125,
3893,
204,
6050,
1365,
800,
3726,
3726,
630,
1276,
143,
98,
1365,
12410,
628,
3125,
2027,
76,
5746,
29,
610,
8,
108,
19435,
6488,
1817,
60,
25,
48,
301,
30,
9803,
432,
27,
14,
4155,
22,
18,
1365,
15,
54,
50,
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... |
Linux server account management
===
I am trying to help maintain a few dozen ubuntu servers and am looking for a way to maintain accounts on all the machines.
I tried using likewise-open but but found it to be unstable. I would constantly have to login to a local account and rejoin it to the domain. Had it proved... | 0 | [
2,
13024,
8128,
2176,
1097,
800,
3726,
3726,
31,
589,
749,
20,
448,
4027,
21,
310,
5550,
287,
12968,
2473,
17595,
17,
589,
699,
26,
21,
161,
20,
4027,
5310,
27,
65,
14,
6035,
9,
31,
794,
568,
11373,
8,
10157,
47,
47,
216,
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... |
Why is ActiveRecord issuing a separate query per join?
===
I'm doing an ActiveRecord find operation (via the "will_paginate" library) like this:
contacts = Contact.paginate(:all,
:conditions => conditions_specified,
:select => "DISTINCT contacts.*",
:joins => joins,
:includ... | 0 | [
2,
483,
25,
1348,
14953,
17502,
21,
1725,
25597,
416,
1865,
60,
800,
3726,
3726,
31,
22,
79,
845,
40,
1348,
14953,
477,
1453,
13,
5,
5034,
14,
13,
7,
5580,
1,
1060,
263,
17939,
7,
1248,
6,
101,
48,
45,
11894,
800,
2203,
9,
106... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Header files usage - Best practices - C++
===
I have the following doubts on header files usage
**1 - Include guards placing after comments**
/* Copyright Note and licence information (multiple lines) */
#ifndef FOO_H
#define FOO_H
// Header file contents
#endif
"Her Sutter" says in hi... | 0 | [
2,
157,
106,
6488,
7514,
13,
8,
246,
5242,
13,
8,
272,
20512,
800,
3726,
3726,
31,
57,
14,
249,
16313,
27,
157,
106,
6488,
7514,
13,
1409,
165,
13,
8,
468,
3429,
5861,
75,
7534,
1409,
13,
118,
2483,
8398,
1945,
17,
10899,
676,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Linking page title block to home - best practises?
===
I do most if not all my sites to have the page title block (generally a styled h1 on my pages) to link back to the home page.
Should this be linked on the first page, i.e. the home page? I read that this shouldn't be linked, but one thing I do when I go to a p... | 0 | [
2,
12585,
2478,
581,
1921,
20,
213,
13,
8,
246,
27954,
18,
60,
800,
3726,
3726,
31,
107,
127,
100,
52,
65,
51,
3259,
20,
57,
14,
2478,
581,
1921,
13,
5,
22787,
21,
1034,
43,
746,
165,
27,
51,
4434,
6,
20,
3508,
97,
20,
14,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What's the best alternative to an out of control switch statement?
===
I have inherited a project that has some huge switch statement blocks, some with 20 cases, what is a good way to rewrite these? | 0 | [
2,
98,
22,
18,
14,
246,
2676,
20,
40,
70,
16,
569,
5521,
3331,
60,
800,
3726,
3726,
31,
57,
7179,
21,
669,
30,
63,
109,
2329,
5521,
3331,
5198,
15,
109,
29,
434,
1871,
15,
98,
25,
21,
254,
161,
20,
27891,
158,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Ruby Basics
===
What is the best online resource for learning the ruby language? Preferably intermediate and advanced topics. | 0 | [
2,
10811,
2125,
18,
800,
3726,
3726,
98,
25,
14,
246,
2087,
6577,
26,
2477,
14,
10811,
816,
60,
6369,
4801,
6889,
17,
2255,
7569,
9,
3,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
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... |
Standard/common mark up language for user provided content?
===
I suppose this might be similar to [this question][1], but I'm wondering if there's a standard/popular mark up language for wiki and similar style user provided content. With the proliferation of different mark up syntaxes out there it seems like one wou... | 0 | [
2,
1236,
118,
17130,
943,
71,
816,
26,
4155,
1173,
2331,
60,
800,
3726,
3726,
31,
5787,
48,
530,
44,
835,
20,
636,
1565,
1301,
500,
2558,
165,
500,
15,
47,
31,
22,
79,
5712,
100,
80,
22,
18,
21,
1236,
118,
28252,
943,
71,
816,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
StructureMap with WCF?
===
Anyone had any luck integrating StructureMap (DI Framework) with WCF?
I can return the default instance in the constructor of my WCF service like this, but obviously it is not ideal.
public MemberService()
{
this.memberRepository = StructureMap.ObjectFactory.GetInsta... | 0 | [
2,
1411,
15022,
29,
11801,
410,
60,
800,
3726,
3726,
1276,
41,
186,
5419,
24529,
1411,
15022,
13,
5,
1115,
6596,
6,
29,
11801,
410,
60,
31,
92,
788,
14,
12838,
4851,
19,
14,
6960,
248,
16,
51,
11801,
410,
365,
101,
48,
15,
47,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Why are Exceptions said to be so bad for Input Validation
===
I understand that "Exceptions are for exceptional cases" [a], but besides just being repeated [over][1] and [over][2] again, I've never found an actual reason for this fact.
Being that they halt execution, it makes sense that you wouldn't want them for p... | 0 | [
2,
483,
50,
13392,
87,
20,
44,
86,
896,
26,
6367,
27999,
800,
3726,
3726,
31,
1369,
30,
13,
7,
10066,
5757,
50,
26,
12961,
1871,
7,
636,
58,
500,
15,
47,
3410,
114,
142,
4251,
636,
2549,
500,
2558,
165,
500,
17,
636,
2549,
500... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Binding for WPF Styles
===
I'm trying to create a custom control - a button - which will have multiple styles applied to it depending on the value of a property within the data context.
What I was thinking is using something similar to:
<Button Style="{Binding Path=ButtonStyleProperty, Converter={StaticResou... | 0 | [
2,
8728,
26,
619,
7721,
6443,
800,
3726,
3726,
31,
22,
79,
749,
20,
1600,
21,
5816,
569,
13,
8,
21,
5167,
13,
8,
56,
129,
57,
1886,
6443,
2435,
20,
32,
4758,
27,
14,
1923,
16,
21,
1354,
363,
14,
1054,
4141,
9,
98,
31,
23,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to autorun AP on USB or CD in MAC OS
===
Is there anybody know how to automatically launch app on USB or CD in MAC OS? it's easy for Windows to reach it, but I found the AutoRun.Inf is not work in MAC at all. Please help me. Thanks in advace. | 0 | [
2,
184,
20,
3108,
3169,
8442,
27,
182,
220,
54,
1745,
19,
1572,
13,
759,
800,
3726,
3726,
25,
80,
11181,
143,
184,
20,
7499,
3394,
4865,
27,
182,
220,
54,
1745,
19,
1572,
13,
759,
60,
32,
22,
18,
2010,
26,
1936,
20,
1470,
32,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What is the difference between Seq Scan and Bitmap heap scan in postgres ?
===
In output of explain command I found two terms 'Seq Scan' and 'Bitmap heap Scan'. Can somebody tell me what is the difference between these two types of scan? (I am using PostgreSql) | 0 | [
2,
98,
25,
14,
2841,
128,
13,
18,
18550,
8313,
17,
1142,
15022,
15414,
8313,
19,
678,
6879,
18,
13,
60,
800,
3726,
3726,
19,
5196,
16,
3271,
1202,
31,
216,
81,
1663,
13,
22,
18,
18550,
8313,
22,
17,
13,
22,
3326,
15022,
15414,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Pass by Reference / Value in C++
===
I would like to clarify the differences between by value and by reference.
I drew a picture
![alt text][1]
[1]: http://img363.imageshack.us/img363/7202/passbyvaluereferencehg1.th.jpg
So, for passing by value,
a copy of an identical object is created with a dif... | 0 | [
2,
1477,
34,
2801,
13,
118,
1923,
19,
272,
20512,
800,
3726,
3726,
31,
83,
101,
20,
23116,
14,
4921,
128,
34,
1923,
17,
34,
2801,
9,
31,
2115,
21,
2151,
13,
187,
2558,
192,
38,
1854,
500,
2558,
165,
500,
636,
165,
500,
45,
777... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Portable web font technology
===
After reading the question on [web font typeface selection][1], it occurred to me that portable network fonts were the answer. We used to use a package by Bitstream to generate subsets of needed fonts to embed in web pages so that it looked the same in every browser on every platform.... | 0 | [
2,
13469,
2741,
9978,
1099,
800,
3726,
3726,
75,
1876,
14,
1301,
27,
636,
14113,
9978,
1001,
6413,
3155,
500,
2558,
165,
500,
15,
32,
2437,
20,
55,
30,
13469,
982,
9978,
18,
46,
14,
1623,
9,
95,
147,
20,
275,
21,
6030,
34,
1142,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Optimal solution for struct with more than 16 bytes
===
I have a type which I consider use it as struct.
- It represents single value
- It is immutable
But the problem is, it has 6 fields of int.
So which solution I should use for this type?
1. keep using struct?
2. change to class?
3. or pack 6 integer... | 0 | [
2,
17586,
4295,
26,
13,
10346,
29,
91,
119,
347,
34,
3231,
800,
3726,
3726,
31,
57,
21,
1001,
56,
31,
3563,
275,
32,
28,
13,
10346,
9,
13,
8,
32,
4719,
345,
1923,
13,
8,
32,
25,
797,
7903,
579,
47,
14,
1448,
25,
15,
32,
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... |
Writing Signal handlers for Shared libraries or DLL?
===
i dont even know if this is even possible . but i m trying..
I have a Application A(by some company X). This application allows me to extend the functionality by allowing me to write my own functions(User written).
I tell the Application A to call my user ... | 0 | [
2,
1174,
2800,
24641,
18,
26,
2592,
8649,
54,
13,
43,
211,
60,
800,
3726,
3726,
31,
1049,
166,
143,
100,
48,
25,
166,
938,
13,
9,
47,
31,
307,
749,
9,
9,
31,
57,
21,
3010,
21,
5,
779,
109,
237,
993,
6,
9,
48,
3010,
2965,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 use ASP.NET TreeView to display informations
===
I´m trying to use the ASP.NET TreeView control to display informations like some sites do. For example:
http://www.codeproject.com/KB/webforms/ClientSideTreeView.aspx
The site of the link above have some code snippets that can be collapsed or expandend, sh... | 0 | [
2,
184,
92,
31,
275,
28,
306,
9,
2328,
1541,
4725,
20,
3042,
676,
18,
800,
3726,
3726,
31,
307,
749,
20,
275,
14,
28,
306,
9,
2328,
1541,
4725,
569,
20,
3042,
676,
18,
101,
109,
3259,
107,
9,
26,
823,
45,
7775,
6903,
6483,
9... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
disable gcov in gcc build
===
Anyone know how, when making GCC, to tell it not to build gcov? It's giving me lots of errors for my target (powerpc-wrs-vxworks). | 0 | [
2,
1460,
579,
13,
10362,
2026,
19,
489,
3384,
1895,
800,
3726,
3726,
1276,
143,
184,
15,
76,
544,
489,
3384,
15,
20,
494,
32,
52,
20,
1895,
13,
10362,
2026,
60,
32,
22,
18,
1438,
55,
7503,
16,
11908,
26,
51,
2935,
13,
5,
5484,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Convert an array into an index hash in Ruby
===
Let's say I have an array, and I want to make a hash so I can quickly ask "is X in the array?". In perl, there is an easy (and fast) way to do this:
my @array = qw( 1 2 3 );
my %hash;
@hash{@array} = undef;
This generates a hash that looks like:
... | 0 | [
2,
8406,
40,
7718,
77,
40,
4348,
19170,
19,
10811,
800,
3726,
3726,
408,
22,
18,
395,
31,
57,
40,
7718,
15,
17,
31,
259,
20,
233,
21,
19170,
86,
31,
92,
976,
1349,
13,
7,
403,
993,
19,
14,
7718,
60,
7,
9,
19,
416,
255,
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... |
How to declare special XML schema (XSD) case - need help
===
I need your help to define a special case in XML schema:
A sequence that contains two elements: 'x' and 'y' whereas:
'x' element can appear 0 to unbound times in the sequence
'y' element can appear 0 to 1 time in the sequence
'x' and 'y' locations ... | 0 | [
2,
184,
20,
10123,
621,
23504,
23874,
13,
5,
396,
18,
43,
6,
610,
13,
8,
376,
448,
800,
3726,
3726,
31,
376,
154,
448,
20,
9267,
21,
621,
610,
19,
23504,
23874,
45,
21,
4030,
30,
1588,
81,
2065,
45,
13,
22,
396,
22,
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... |
Table per Concrete Class Hierarchy in Hibernate
===
I have the following Hibernate Mapping, which has to be mapped using the Table per Concrete Class Hierarchy:
<hibernate-mapping package='dao'>
<meta attribute='class-description'></meta>
<class name='PropertyDAO' table='property'>
<id name='... | 0 | [
2,
859,
416,
4105,
718,
14417,
19,
4148,
2102,
8820,
800,
3726,
3726,
31,
57,
14,
249,
4148,
2102,
8820,
13305,
15,
56,
63,
20,
44,
20877,
568,
14,
859,
416,
4105,
718,
14417,
45,
13,
1,
8630,
106,
8820,
8,
540,
5574,
6030,
3726... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Manipulating list items with jQuery
===
I am currently trying to manipulate a unordered list with jQuery, essentially I have a list of links in an unordered list, certain users only have access (all set server side) to certain files / pages.
I was hoping to use some jQuery to remove a few list items from the DOM, s... | 0 | [
2,
27799,
968,
3755,
29,
487,
8190,
93,
800,
3726,
3726,
31,
589,
871,
749,
20,
18468,
21,
367,
7861,
69,
968,
29,
487,
8190,
93,
15,
7398,
31,
57,
21,
968,
16,
6271,
19,
40,
367,
7861,
69,
968,
15,
1200,
3878,
104,
57,
1381,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
progressbar algorithm
===
what is the mechanizm of progressbar..
what i want is set a max value to a progress bar and when i download some files (and i know each file size) i want each file takes a step value according it ratio from progressbar max valus
for example:
lets say that this is a progress bar
... | 0 | [
2,
3455,
1850,
9083,
800,
3726,
3726,
98,
25,
14,
55,
3606,
3186,
79,
16,
3455,
1850,
9,
9,
98,
31,
259,
25,
309,
21,
2049,
1923,
20,
21,
3455,
748,
17,
76,
31,
7121,
109,
6488,
13,
5,
290,
31,
143,
206,
3893,
1072,
6,
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... |
Test User Data (Fake Data)
===
Does anyone know of a large formatted collection of fake user data (names, email address, locations, etc.) that can be used for testing an application?
It can be clearly fake, this will be limited to the development server. But I'm sure anything would be better than what I could come ... | 0 | [
2,
1289,
4155,
1054,
13,
5,
1473,
1048,
1054,
6,
800,
3726,
3726,
630,
1276,
143,
16,
21,
370,
13,
29850,
1206,
16,
7031,
4155,
1054,
13,
5,
7259,
18,
15,
8517,
3218,
15,
4095,
15,
2722,
9,
6,
30,
92,
44,
147,
26,
4431,
40,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Anyone else agree that VS2008 WPF designer needs whole lot of work done on it.
===
I have xaml pages that the designer say there is an error and yet the
app compiles and runs.
Also add a clr namespace and still no intellisense on the classes.
WPF team does not have time for holidays that they heaps todo.
Th... | 4 | [
2,
1276,
962,
4524,
30,
4611,
2753,
619,
7721,
4742,
2274,
979,
865,
16,
170,
677,
27,
32,
9,
800,
3726,
3726,
31,
57,
13,
6791,
8184,
4434,
30,
14,
4742,
395,
80,
25,
40,
7019,
17,
768,
14,
4865,
26561,
18,
17,
1461,
9,
67,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Can I initialize a const string from a const char in C#?
===
I am trying to do the following in a way or another:
const char EscapeChar = '\\';
const string EscapeString = EscapeChar.ToString(); // or ("" + EscapeChar)
This does't compile. Is there another way to make it work? | 0 | [
2,
92,
31,
2104,
2952,
21,
11608,
38,
3724,
37,
21,
11608,
38,
4892,
19,
272,
5910,
60,
800,
3726,
3726,
31,
589,
749,
20,
107,
14,
249,
19,
21,
161,
54,
226,
45,
11608,
38,
4892,
2220,
5433,
800,
13,
22,
1,
22,
73,
11608,
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... |
Cyrillic characters in PHP's json_encode
===
I'm trying to encode Cyrillic UTF-8 array to JSON string using php's function json_encode. The sample code looks like this:
<?php
$arr = array(
'едно' => 'първи',
'две' => 'втори'
);
$str = js... | 0 | [
2,
18671,
1766,
19,
13,
26120,
22,
18,
487,
528,
1,
219,
9375,
800,
3726,
3726,
31,
22,
79,
749,
20,
20523,
18671,
287,
11720,
8,
457,
7718,
20,
487,
528,
3724,
568,
13,
26120,
22,
18,
1990,
487,
528,
1,
219,
9375,
9,
14,
5717... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Best way to determine if two path reference to same file in C#
===
In the upcoming Java7, there is a [new API][1] to check if two file object are same file reference.
Are there similar API provided in the .NET framework?
I've search it over MSDN but nothing enlighten me.
I want it simple but I don't want to c... | 0 | [
2,
246,
161,
20,
3746,
100,
81,
2013,
2801,
20,
205,
3893,
19,
272,
5910,
800,
3726,
3726,
19,
14,
9078,
8247,
465,
15,
80,
25,
21,
636,
2681,
21,
2159,
500,
2558,
165,
500,
20,
2631,
100,
81,
3893,
3095,
50,
205,
3893,
2801,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
F# Seq module implemented in C# for IEnumerable?
===
F# has a bunch of standard sequence operators I have come to know and love from my experience with Mathematica. F# is getting lots of my attention now, and when it is in general release, I intend to use it frequently.
Right now, since F# isn't yet in general rel... | 0 | [
2,
398,
5910,
13,
18,
18550,
12613,
6807,
19,
272,
5910,
26,
13,
660,
6336,
106,
579,
60,
800,
3726,
3726,
398,
5910,
63,
21,
7653,
16,
1236,
4030,
9475,
31,
57,
340,
20,
143,
17,
339,
37,
51,
1496,
29,
5057,
5996,
12630,
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... |
NotImplementedException - are they kidding me?
===
This really, really urks me, so I hope that someone can give me a reasonable justification for why things are as they are.
**NotImplementedException.** You are pulling my leg, right?
No, I'm not going to take the cheap stab at this by saying, "hang on, the meth... | 4 | [
2,
52,
8983,
413,
1130,
69,
10066,
872,
13,
8,
50,
59,
13838,
55,
60,
800,
3726,
3726,
48,
510,
15,
510,
13,
911,
4020,
55,
15,
86,
31,
1376,
30,
737,
92,
590,
55,
21,
9954,
21875,
26,
483,
564,
50,
28,
59,
50,
9,
13,
1409... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Can I change the thickness of the border of a window with MFC?
===
Normally, the thickness of a window is 4 pixels, which can be retrieved by GetSystemMetrics method. Can I change its value, for example 2 pixels?
Thank you very much! | 0 | [
2,
92,
31,
753,
14,
16008,
16,
14,
1862,
16,
21,
1463,
29,
307,
7061,
60,
800,
3726,
3726,
4147,
15,
14,
16008,
16,
21,
1463,
25,
268,
18146,
18,
15,
56,
92,
44,
3685,
34,
164,
10724,
15321,
18,
2109,
9,
92,
31,
753,
82,
192... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Is there a difference between private const and private readonly variables in C#?
===
Is there a difference between having a `private const` variable or a `private static readonly` variable in C# (other than having to assign the `const` a compile-time expression)?
Since they are both private, there is no linking wi... | 0 | [
2,
25,
80,
21,
2841,
128,
932,
11608,
38,
17,
932,
1302,
4965,
12157,
19,
272,
5910,
60,
800,
3726,
3726,
25,
80,
21,
2841,
128,
452,
21,
13,
1,
20181,
11608,
38,
1,
7612,
54,
21,
13,
1,
20181,
12038,
1302,
4965,
1,
7612,
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... |
Inject multiple service imlementations with Windsor
===
I would like to have Windsor inject multiple implementations of a service to a constructor.
My scenario is that I have multiple search providers that implement a common interface. I would like to register each of these with windsor and then inject them into m... | 0 | [
2,
20316,
1886,
365,
797,
413,
1130,
7504,
29,
10784,
800,
3726,
3726,
31,
83,
101,
20,
57,
10784,
20316,
1886,
6123,
18,
16,
21,
365,
20,
21,
6960,
248,
9,
51,
12705,
25,
30,
31,
57,
1886,
2122,
13488,
30,
8713,
21,
757,
6573,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
resolving svn binary conflicts
===
I use svn for a project im working on with a couple of other developers. Svn works fine for source control however we are all ways getting conflicts when we commit the dlls.
When i do i resolve the conflict (which deletes my dlls as the diff program cant handle binary files) then ... | 0 | [
2,
28687,
13,
18,
16578,
14171,
10344,
800,
3726,
3726,
31,
275,
13,
18,
16578,
26,
21,
669,
797,
638,
27,
29,
21,
1335,
16,
89,
10168,
9,
13,
18,
16578,
693,
1123,
26,
1267,
569,
207,
95,
50,
65,
2847,
1017,
10344,
76,
95,
96... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 do basic View tracking?
===
I have a web facing, anonymously accessible, blog directory and blogs and I would like to track the number of views each of the blog posts receives.
I want to keep this as simple as possible, accuracy need only be an approximation. This is not for analytics (we h... | 0 | [
2,
98,
25,
14,
246,
161,
20,
107,
2125,
1418,
10353,
60,
800,
3726,
3726,
31,
57,
21,
2741,
4325,
15,
10364,
102,
7342,
15,
8146,
16755,
17,
8146,
18,
17,
31,
83,
101,
20,
792,
14,
234,
16,
4146,
206,
16,
14,
8146,
9868,
8359,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Avoiding array duplication
===
According to [MSDN: Array usage guidelines](http://msdn.microsoft.com/en-us/library/k2604h5s(VS.71\).aspx):
Array Valued Properties
>You should use collections to avoid code inefficiencies. In the following code example, each call to the myObj property creates a copy of the array.... | 0 | [
2,
10298,
7718,
1052,
20669,
800,
3726,
3726,
496,
20,
636,
79,
18,
43,
103,
45,
7718,
7514,
12629,
500,
5,
21127,
6903,
79,
18,
43,
103,
9,
22019,
12980,
9,
960,
118,
219,
8,
267,
118,
1210,
2559,
622,
118,
197,
13675,
300,
252... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Optimization techniques for large databases
===
What optimization techniques do you use on extremely large databases? If our estimations are correct, our application will have billions of records stored in the db (MS SQL Server 2005), mostly logs that will be used for statistics.
I am interested in ANY kind of tips... | 0 | [
2,
21597,
4212,
26,
370,
6018,
18,
800,
3726,
3726,
98,
21597,
4212,
107,
42,
275,
27,
3898,
370,
6018,
18,
60,
100,
318,
25390,
18,
50,
4456,
15,
318,
3010,
129,
57,
2786,
18,
16,
742,
8214,
19,
14,
13,
9007,
13,
5,
79,
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... |
ASP.Net MVC and N-Tier
===
Greetings,
Apologies in advance that I have not researched this toughly enough to answer the question myself, but I imagine it would take me some time and I would rather know now before I invest more time in learning it. I couldn't find anything in my initial research..
Why use ASP.Ne... | 0 | [
2,
28,
306,
9,
2328,
307,
8990,
17,
13,
103,
8,
5259,
800,
3726,
3726,
13769,
18,
15,
27101,
19,
3612,
30,
31,
57,
52,
527,
69,
48,
6161,
102,
511,
20,
1623,
14,
1301,
992,
15,
47,
31,
4382,
32,
83,
247,
55,
109,
85,
17,
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... |
mod_rewrite with spaces in the urls
===
I need to set up some RewriteRules to redirect a URL which has a space in it. I've tried this:
RewriteRule ^article/with%20spaces.html$ /article/without_spaces.html [R=301,L]
... but it doesn't work. Putting in a space instead of %20 causes a 500 Internal Server Error.... | 0 | [
2,
7226,
1,
99,
23716,
29,
7644,
19,
14,
13,
911,
7532,
800,
3726,
3726,
31,
376,
20,
309,
71,
109,
27891,
16154,
18,
20,
302,
14706,
21,
287,
6362,
56,
63,
21,
726,
19,
32,
9,
31,
22,
195,
794,
48,
45,
27891,
16154,
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... |
Resize jquery UI dialog with JS?
===
Even better would be if autoResize in latest branch would work as intended, but till then the question is simlpe: how to resize a dialog once it is created? | 0 | [
2,
302,
10454,
487,
8190,
93,
13,
5661,
28223,
29,
487,
18,
60,
800,
3726,
3726,
166,
574,
83,
44,
100,
3108,
99,
10454,
19,
5736,
1686,
83,
170,
28,
2081,
15,
47,
3924,
94,
14,
1301,
25,
4861,
5478,
62,
45,
184,
20,
302,
1045... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
How can I make a button like 'Digg it' for my website?
===
I've got a blogging site hosted on Windows Sever, ASP.Net 3.5, ASP.Net AJAX, SQL Server in background.
I want to give bloggers a button like 'digg-it' which they can put on their blogs for the readers to click to thumb-up the post if they like it.
I know... | 0 | [
2,
184,
92,
31,
233,
21,
5167,
101,
13,
22,
12158,
263,
32,
22,
26,
51,
2271,
60,
800,
3726,
3726,
31,
22,
195,
330,
21,
334,
13919,
689,
2812,
27,
1936,
15114,
15,
28,
306,
9,
2328,
203,
9,
264,
15,
28,
306,
9,
2328,
20624,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 (if any) technical debt am I incurring with Ruby on Rails?
===
I'm a big fan of ruby on rails, and it seems to incorporate many of the 'greatest hits' of web application programming techniques. Convention over configuration in particular is a big win to my mind.
However I also have the feeling that some of the... | 0 | [
2,
98,
13,
5,
821,
186,
6,
2447,
5853,
589,
31,
19,
28119,
29,
10811,
27,
2240,
18,
60,
800,
3726,
3726,
31,
22,
79,
21,
580,
2514,
16,
10811,
27,
2240,
18,
15,
17,
32,
2206,
20,
14710,
151,
16,
14,
13,
22,
6894,
1430,
3858,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Factory method implementation - C++
===
I have the following code for "factory" design pattern implementation.
class Pen{
public:
virtual void Draw() = 0;
};
class RedPen : public Pen{
public:
virtual void Draw(){
cout << "Drawing with red pen" << endl;
... | 0 | [
2,
3129,
2109,
6123,
13,
8,
272,
20512,
800,
3726,
3726,
31,
57,
14,
249,
1797,
26,
13,
7,
17455,
93,
7,
704,
3732,
6123,
9,
718,
2402,
1,
317,
45,
6599,
11364,
2003,
5,
6,
800,
713,
73,
13,
1,
73,
718,
402,
3014,
13,
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... |
Bootstraping all functions in PHP
===
This is a bit of a crazy idea, but would there be a way to bootstrap all the functions that php have without using a helper function to call the functions.
What I mean is actually calling some code or function before and after every basic function call.
Example:
<?php... | 0 | [
2,
5894,
16514,
68,
65,
3719,
19,
13,
26120,
800,
3726,
3726,
48,
25,
21,
1142,
16,
21,
3328,
882,
15,
47,
83,
80,
44,
21,
161,
20,
5894,
16514,
65,
14,
3719,
30,
13,
26120,
57,
366,
568,
21,
448,
106,
1990,
20,
645,
14,
371... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Flex/Accordion: Conditionally hide a child
===
How do I hide a child in a accordion? Using visible doesn't seem to work and enabled isn't what I'm after.
<mx:Accordion>
<mx:VBox width="100%" height="100%" label="Foo" id="viewOverview" visible="false">
...
</mx:VBox>
...
</mx:Accordion>
... | 0 | [
2,
14409,
118,
22301,
897,
872,
45,
2874,
1326,
3077,
21,
850,
800,
3726,
3726,
184,
107,
31,
3077,
21,
850,
19,
21,
20753,
60,
568,
4560,
1437,
22,
38,
2260,
20,
170,
17,
9338,
2532,
22,
38,
98,
31,
22,
79,
75,
9,
13,
1,
79... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
TortoiseSVN can't connect to machine in workgroup
===
I've created a SubVersion server on one of the machines in my workgroup. From my development box I'm able to access the repository and check in/out files without any problem.
I've just installed TortoiseSVN and no matter what I do it won't connect to the reposit... | 0 | [
2,
25691,
18,
16578,
92,
22,
38,
6379,
20,
1940,
19,
170,
8024,
800,
3726,
3726,
31,
22,
195,
679,
21,
972,
10898,
8128,
27,
53,
16,
14,
6035,
19,
51,
170,
8024,
9,
37,
51,
522,
1649,
31,
22,
79,
777,
20,
1381,
14,
24869,
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... |
How do you check for infinite and indeterminate values in C++?
===
In my programs infinity usually arises when a value is divided by zero. I get indeterminate when I divide zero by zero. How do you check for infinite and indeterminate values in C++?
In C++, infinity is represented by 1.#INF. Indeterminate is repres... | 0 | [
2,
184,
107,
42,
2631,
26,
9698,
17,
19,
546,
3964,
17939,
4070,
19,
272,
20512,
60,
800,
3726,
3726,
19,
51,
1726,
18425,
951,
21461,
76,
21,
1923,
25,
2350,
34,
4606,
9,
31,
164,
19,
546,
3964,
17939,
76,
31,
8918,
4606,
34,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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.