unified_texts stringlengths 32 30.1k | OpenStatus_id int64 0 4 | input_ids list | token_type_ids list | attention_mask list |
|---|---|---|---|---|
Convincing a large company to use free software?
===
I'm currently a developer at my first job right out of college. I work for a large company, and the trend I notice with them is that they tend to go with more expensive, closed source software about 99% of the time, while there are perfectly good open source altern... | 0 | [
2,
13650,
21,
370,
237,
20,
275,
551,
2306,
60,
800,
3726,
3726,
31,
22,
79,
871,
21,
10058,
35,
51,
64,
1205,
193,
70,
16,
314,
9,
31,
170,
26,
21,
370,
237,
15,
17,
14,
8703,
31,
3551,
29,
105,
25,
30,
59,
5480,
20,
162,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Where can I find the source for a small, yet full featured, C# application (for learning purposes)?
===
Can anyone direct me to a smallish C# application that would be symbolic of the "right way" to design a program? I'm looking for a relatively simple (potentially trivial) program from which to analyze and learn from... | 0 | [
2,
113,
92,
31,
477,
14,
1267,
26,
21,
284,
15,
768,
503,
1070,
15,
272,
5910,
3010,
13,
5,
1106,
2477,
4612,
6,
60,
800,
3726,
3726,
92,
1276,
1744,
55,
20,
21,
284,
1595,
272,
5910,
3010,
30,
83,
44,
12882,
16,
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... |
How do I force a spring container to return a non-singleton instance of a bean?
===
When I call `getBean(name)` on a `BeanFactory`, I get back an instance of the bean defined in the application context. However, when I call `getBean(name)` again (with the same name,) I get the same instance of the bean back. I under... | 0 | [
2,
184,
107,
31,
558,
21,
1573,
12147,
20,
788,
21,
538,
8,
14031,
444,
4851,
16,
21,
15322,
60,
800,
3726,
3726,
76,
31,
645,
13,
1,
3060,
863,
210,
5,
7259,
6,
1,
27,
21,
13,
1,
863,
210,
17455,
93,
1,
15,
31,
164,
97,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
C# thread pool limiting threads
===
Alright...I've given the site a fair search and have read over many posts about this topic. I found this question: http://stackoverflow.com/questions/435668/code-for-a-simple-thread-pool-in-c especially helpful.
However, as it always seems, what I need varies slightly.
I hav... | 0 | [
2,
272,
5910,
9322,
3067,
17567,
20396,
800,
3726,
3726,
11885,
9,
9,
9,
49,
22,
195,
504,
14,
689,
21,
1768,
2122,
17,
57,
1302,
84,
151,
9868,
88,
48,
8303,
9,
31,
216,
48,
1301,
45,
7775,
6903,
25325,
2549,
9990,
9,
960,
11... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
strange HashMap.put() behaviour
===
I am attempting to troubleshoot an intermittent failure that appears to be related to removing an object from a HashMap and then putting that same object back using a new key. My HashMap is created as follows:
transactions = new HashMap<Short, TransactionBase>();
The code... | 0 | [
2,
2578,
19170,
15022,
9,
4881,
5,
6,
7727,
800,
3726,
3726,
31,
589,
6314,
20,
2572,
12511,
40,
19667,
2990,
30,
1780,
20,
44,
1597,
20,
9096,
40,
3095,
37,
21,
19170,
15022,
17,
94,
3873,
30,
205,
3095,
97,
568,
21,
78,
1246,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Exceptions vs return codes : do we loose something (while gaining something else) ?
===
My question is pretty vague :o) - But here is an example :
When I was writing C code, I was able to log counter's value when something failed :
<...>
for ( int i = 0 ; i < n ; i++ )
if ( SUCCESS != myCall())
... | 0 | [
2,
13392,
4611,
788,
11358,
13,
45,
107,
95,
4675,
301,
13,
5,
10144,
8299,
301,
962,
6,
13,
60,
800,
3726,
3726,
51,
1301,
25,
1772,
14800,
13,
45,
111,
6,
13,
8,
47,
235,
25,
40,
823,
13,
45,
76,
31,
23,
1174,
272,
1797,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 set a column value to NULL in SQL Server Management Studio?
===
How do I clear the value from a cell and make it NULL? | 0 | [
2,
184,
107,
31,
309,
21,
4698,
1923,
20,
16203,
19,
4444,
255,
8128,
1097,
1120,
60,
800,
3726,
3726,
184,
107,
31,
1207,
14,
1923,
37,
21,
1667,
17,
233,
32,
16203,
60,
3,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Strange parameter sequence using Reflection.Emit
===
I have been looking at Reflection.Emit recently. I wrote a simple program that generates a DynamicMethod which simple calls another method with the same parameters
class Program
{
static void Main(string[] args)
{
Program p... | 0 | [
2,
2578,
18906,
4030,
568,
9138,
9,
7411,
38,
800,
3726,
3726,
31,
57,
74,
699,
35,
9138,
9,
7411,
38,
1989,
9,
31,
738,
21,
1935,
625,
30,
7920,
18,
21,
7782,
5909,
1807,
43,
56,
1935,
3029,
226,
2109,
29,
14,
205,
12905,
718... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Perl memory fault (coredump) - common reasons?
===
What are the most common reasons that I would be getting this error from running a Perl script....<br><br>
Memory fault(coredump)
I am running two SQL commands beforehand that only store ~1500 rows each with 6 fields<br>The SQL works fine out of the script, ... | 0 | [
2,
416,
255,
1912,
4173,
13,
5,
4966,
69,
11134,
6,
13,
8,
757,
2932,
60,
800,
3726,
3726,
98,
50,
14,
127,
757,
2932,
30,
31,
83,
44,
1017,
48,
7019,
37,
946,
21,
416,
255,
3884,
9,
9,
9,
9,
1,
5145,
1,
5145,
1,
1912,
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... |
Can't Attach ASPNETDB.MDF on Vista
===
I can't connect to the ASPNETDB.MDF file in the App\_Data that is created by the ASP.NET MVC Beta project from Visual Studio 2008 or SQL Management Studio 2008 Express on Vista. The project is in C:\Users\Matthew\Documents\Visual Studio 2008\Projects\MVCTest so the MDF file is in... | 0 | [
2,
92,
22,
38,
19514,
28,
306,
2328,
9007,
9,
79,
8736,
27,
13520,
800,
3726,
3726,
31,
92,
22,
38,
6379,
20,
14,
28,
306,
2328,
9007,
9,
79,
8736,
3893,
19,
14,
4865,
1,
18768,
30,
25,
679,
34,
14,
28,
306,
9,
2328,
307,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Where can I learn more about "ant colony" optimizations?
===
I've been reading things here and there for a while now about using an "ant colony" model as a heuristic approach to optimizing various types of algorithms. However, I have yet to find an article or book that discusses ant colony optimizations in an introdu... | 0 | [
2,
113,
92,
31,
2484,
91,
88,
13,
7,
1830,
4529,
7,
21597,
18,
60,
800,
3726,
3726,
31,
22,
195,
74,
1876,
564,
235,
17,
80,
26,
21,
133,
130,
88,
568,
40,
13,
7,
1830,
4529,
7,
1061,
28,
21,
24,
911,
3771,
2141,
20,
19259... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
SQL - Use results of a query as basis for two other queries in one statement
===
I'm doing a probability calculation. I have a query to calculate the total number of times an event occurs. From these events, I want to get the number of times a sub-event occurs. The query to get the total events is 25 lines long and I ... | 0 | [
2,
4444,
255,
13,
8,
275,
1736,
16,
21,
25597,
28,
2239,
26,
81,
89,
9386,
2829,
19,
53,
3331,
800,
3726,
3726,
31,
22,
79,
845,
21,
10177,
19644,
9,
31,
57,
21,
25597,
20,
18469,
14,
600,
234,
16,
436,
40,
807,
3690,
9,
37,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Parsing XML into a SQL table WITHOUT predefining structure. Possible?
===
So using the code below... can I parse "@xml_data" into a table structure WITHOUT predefining the structure?
<div><code style="font-size: 12px;"><span style="color: #000000;">
<div><span style="color: #000000;"> </span></div>
</span></cod... | 0 | [
2,
2017,
18,
68,
23504,
77,
21,
4444,
255,
859,
366,
782,
13862,
108,
68,
1411,
9,
938,
60,
800,
3726,
3726,
86,
568,
14,
1797,
1021,
9,
9,
9,
92,
31,
2017,
870,
13,
7,
1,
396,
8184,
1,
18768,
7,
77,
21,
859,
1411,
366,
78... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Offline HTML templating processor for Windows
===
I am teaching my friend how to make websites. I would like to keep the websites static, so that he does not [yet] have to learn PHP, worry about testing on his Windows machine, worry about the server configuration, security etc. The bad thing is that without some tool ... | 0 | [
2,
168,
1143,
13,
15895,
13,
9577,
255,
1880,
14762,
26,
1936,
800,
3726,
3726,
31,
589,
2540,
51,
860,
184,
20,
233,
13931,
9,
31,
83,
101,
20,
643,
14,
13931,
12038,
15,
86,
30,
24,
630,
52,
636,
16480,
500,
57,
20,
2484,
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... |
Efficient way to handle COM related errors (C++)
===
Efficient way to handle COM related errors in <b>C++</b>.
For instance:
switch (HRESULT_CODE(hresult)) {
case NOERROR:
cout << "Object instantiated and "
"pointer to interface IS8Simulation "
"obtained" << endl;
break;
/... | 0 | [
2,
8243,
161,
20,
3053,
13,
960,
1597,
11908,
13,
5,
150,
20512,
6,
800,
3726,
3726,
8243,
161,
20,
3053,
13,
960,
1597,
11908,
19,
13,
1,
220,
1,
150,
20512,
1,
118,
220,
1,
9,
26,
4851,
45,
5521,
13,
5,
252,
29955,
1,
9375... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Loop through all elements in a ListView in virtual mode
===
I have a reporting module which creates PDF reports from ListViews.
Now, I have a ListView in Virtual mode and therefore I cannot loop over the Items collection.
How do I loop over all elements in the list view from the reporting module?
I can get the `V... | 0 | [
2,
5293,
120,
65,
2065,
19,
21,
968,
4725,
19,
6599,
3740,
800,
3726,
3726,
31,
57,
21,
6670,
12613,
56,
9695,
13,
11124,
2813,
37,
968,
4725,
18,
9,
130,
15,
31,
57,
21,
968,
4725,
19,
6599,
3740,
17,
1793,
31,
1967,
5293,
84... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Javascript: Lazy Load Images In Horizontal Div?
===
I have a div that has a bunch of thumbnails showing horizontally (with a horizontal scrollbar). Is there a way to lazy load these thumbnails and only show them once the user horizontally scrolls to their position? All the examples I've seen check the browser window, ... | 0 | [
2,
8247,
8741,
45,
16792,
6305,
3502,
19,
10095,
13,
12916,
60,
800,
3726,
3726,
31,
57,
21,
13,
12916,
30,
63,
21,
7653,
16,
5078,
325,
947,
18,
3187,
25658,
13,
5,
1410,
21,
10095,
12159,
1850,
6,
9,
25,
80,
21,
161,
20,
167... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Multithreading and concurency with C#
===
In a Windows Form window, multiple events can trigger an asynchronous method. This method downloads a file and caches it. My problem is that I want that method to be executed once. In other words, I want to prevent the file to be downloaded multiple times.
**If the method ... | 0 | [
2,
1889,
96,
22883,
17,
1065,
4734,
8883,
29,
272,
5910,
800,
3726,
3726,
19,
21,
1936,
505,
1463,
15,
1886,
963,
92,
7286,
40,
21,
16023,
1291,
2109,
9,
48,
2109,
7121,
18,
21,
3893,
17,
16522,
18,
32,
9,
51,
1448,
25,
30,
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... |
Hinky Oracle Connection (TNSNAMES.ora Help)
===
We recently changed physical DB's, new servers, new locations, same database schema and data and since the change over, whenever we try to connect directly to the DB in our own desktop type applications about half of the time we get this error:
SQL*Loader-704: Int... | 0 | [
2,
9349,
3329,
15759,
2760,
13,
5,
38,
2172,
7259,
18,
9,
6055,
448,
6,
800,
3726,
3726,
95,
1989,
1015,
1825,
13,
9007,
22,
18,
15,
78,
17595,
15,
78,
4095,
15,
205,
6018,
23874,
17,
1054,
17,
179,
14,
753,
84,
15,
6634,
95,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Passing an array as a function parameter in C++
===
In C++, arrays cannot be passed simply as parameters. Meaning if I create a function like so:
void doSomething(char charArray[])
{
// if I want the array size
int size = sizeof(charArray);
// NO GOOD, will always get 4 (as in 4 ... | 0 | [
2,
2848,
40,
7718,
28,
21,
1990,
18906,
19,
272,
20512,
800,
3726,
3726,
19,
272,
20512,
15,
7718,
18,
1967,
44,
1100,
1659,
28,
12905,
9,
1813,
100,
31,
1600,
21,
1990,
101,
86,
45,
11364,
107,
9099,
5,
5433,
4892,
8576,
93,
25... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Spring.net Drop all adotemplate connections?
===
I have an application which is connected to a database through a spring.net AdoTemplate. I am charged with creating a restore database method which keeps the app running but drops the network connections so as to drop the old database and bring up the new one. My ques... | 0 | [
2,
1573,
9,
2328,
2804,
65,
21,
537,
9577,
6554,
6760,
60,
800,
3726,
3726,
31,
57,
40,
3010,
56,
25,
2587,
20,
21,
6018,
120,
21,
1573,
9,
2328,
21,
537,
9577,
6554,
9,
31,
589,
4029,
29,
2936,
21,
8454,
6018,
2109,
56,
8968,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Yearly Developer Review
===
What criteria do you rate your developers on when doing their yearly reviews? We are looking to improve our process more than "we feel you did a good job, here is a raise!"
We were thinking something like:
1. Attendance
2. Teamwork
3. Quality of Work
We are a .NET / C# shop if t... | 4 | [
2,
14767,
10058,
1487,
800,
3726,
3726,
98,
9157,
107,
42,
1684,
154,
10168,
27,
76,
845,
66,
14767,
2783,
60,
95,
50,
699,
20,
3545,
318,
953,
91,
119,
13,
7,
458,
583,
42,
144,
21,
254,
1205,
15,
235,
25,
21,
3972,
187,
7,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How do I make NHibernate delete child refererences when I delete a parent?
===
I have a NewsFeed object mapped as such:
<class name="NewsFeed">
<id name="NewsFeedId">
<generator class="guid"/>
</id>
<property name="FeedName" not-null="true" />
<property name="F... | 0 | [
2,
184,
107,
31,
233,
12109,
15191,
8820,
27448,
850,
5017,
106,
2940,
18,
76,
31,
27448,
21,
4766,
60,
800,
3726,
3726,
31,
57,
21,
996,
20954,
3095,
20877,
28,
145,
45,
13,
1,
1898,
204,
3726,
7,
14962,
20954,
7,
1,
13,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 create custom events on non-UIComponent based objects in Flex 3?
===
I have a simple object that get's geocoding data from the Google Maps API and I'd like it to dispatch a set of custom events depending on the response from Google. However, I don't have the addEventListener() and dispatchEvent() methods on t... | 0 | [
2,
92,
42,
1600,
5816,
963,
27,
538,
8,
5661,
11103,
218,
2291,
432,
3916,
19,
14409,
203,
60,
800,
3726,
3726,
31,
57,
21,
1935,
3095,
30,
164,
22,
18,
6389,
15458,
1054,
37,
14,
8144,
6867,
21,
2159,
17,
31,
22,
43,
101,
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... |
NHibernate IQuery.List Error "Invalid index 4 for this SqlParameterCollection with Count=4."
===
Long title, I know but I searched all over and couldn't find that error message coming from that function call so I thought this might be more useful.
This is the code snippet:
string hql = " from LabRequest r wh... | 0 | [
2,
12109,
15191,
8820,
13,
5312,
622,
9,
5739,
7019,
13,
7,
108,
18506,
43,
4348,
268,
26,
48,
4444,
255,
6351,
7307,
15015,
872,
29,
2468,
3726,
300,
9,
7,
800,
3726,
3726,
175,
581,
15,
31,
143,
47,
31,
9036,
65,
84,
17,
711... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
WPF EventRouting to Children
===
Is there any way to broadcast a RoutedEvent to all of my children in WPF?
For example lets say I have a Window that has 4 children. 2 of them know about the RoutedEvent 'DisplayYourself' and are listening for it. How can I raise this event from the window and have it sent to all ch... | 0 | [
2,
619,
7721,
807,
8821,
1203,
20,
391,
800,
3726,
3726,
25,
80,
186,
161,
20,
1992,
21,
858,
546,
6645,
20,
65,
16,
51,
391,
19,
619,
7721,
60,
26,
823,
6884,
395,
31,
57,
21,
1463,
30,
63,
268,
391,
9,
172,
16,
105,
143,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 regex library for iphone sdk app?
===
I'm confused about the regex librarys that can be available for the iphone. For example RegexLite look like need a dinamyc link, nad as I understood this is not possible for the sdk on the iPhone.
I wanna a regex library for do data validation... which one is the best avai... | 0 | [
2,
246,
7953,
1706,
1248,
26,
21024,
13,
18,
43,
197,
4865,
60,
800,
3726,
3726,
31,
22,
79,
4230,
88,
14,
7953,
1706,
1248,
18,
30,
92,
44,
904,
26,
14,
21024,
9,
26,
823,
7953,
1706,
10601,
361,
101,
376,
21,
13,
10599,
915,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 recover from svn hotcopy backups
===
Our current backup process is doing a SVN HOTCOPY every night, to a backup location on a different machine.
Can I somehow recover from that backup and retain all revision history?
Or do I need to use the svn dump/load?
Thanks,
Chandrajeet | 0 | [
2,
184,
20,
7635,
37,
13,
18,
16578,
1047,
19625,
10119,
18,
800,
3726,
3726,
318,
866,
10119,
953,
25,
845,
21,
13,
18,
16578,
1047,
19625,
352,
343,
15,
20,
21,
10119,
1474,
27,
21,
421,
1940,
9,
92,
31,
3625,
7635,
37,
30,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to create .NET interface with static members?
===
In .NET 3.5, I'd like to create a singleton interface:
interface ISingleton <T>
{
public static T Instance {get;}
}
Of course that doesn't work but is what I'd like. Any suggestions? | 0 | [
2,
184,
20,
1600,
13,
9,
2328,
6573,
29,
12038,
443,
60,
800,
3726,
3726,
19,
13,
9,
2328,
203,
9,
264,
15,
31,
22,
43,
101,
20,
1600,
21,
345,
444,
6573,
45,
6573,
25,
68,
16607,
13,
1,
38,
1,
13,
1,
317,
12038,
13,
38,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Spinning javascript menu
===
I would like to create a spinning menu akin to the one done in flash [here.][1] Are there any relevant links you know about to help with this endeavor?
Thank you kindly.
[1]: http://accuval.net | 0 | [
2,
9609,
8247,
8741,
11379,
800,
3726,
3726,
31,
83,
101,
20,
1600,
21,
9609,
11379,
21,
1767,
20,
14,
53,
677,
19,
4433,
636,
6836,
9,
500,
2558,
165,
500,
50,
80,
186,
7480,
6271,
42,
143,
88,
20,
448,
29,
48,
17698,
60,
353... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
PostMessage occasionally loses a message
===
I wrote a multi-threaded windows application where thread: <br>
A – is a windows form that handles user interaction and process the data from B. <br>
B – occasionally generates data and passes it two A.
A thread safe queue is used to pass the data from thread B... | 0 | [
2,
678,
3845,
18,
1303,
4533,
14745,
21,
2802,
800,
3726,
3726,
31,
738,
21,
1889,
8,
96,
10647,
69,
1936,
3010,
113,
9322,
45,
13,
1,
5145,
1,
21,
13,
10,
25,
21,
1936,
505,
30,
3053,
18,
4155,
7754,
17,
953,
14,
1054,
37,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Can intellisense be exported or extracted from Visual Studio to a text file?
===
I'm trying to write some documentation for a webservice that has been provided by one of our vendors for an application we're integrating. A bunch of the interface is custom objects defined in the web service itself. The vendor has put ... | 0 | [
2,
92,
14635,
3159,
6498,
44,
18011,
54,
18607,
37,
3458,
1120,
20,
21,
1854,
3893,
60,
800,
3726,
3726,
31,
22,
79,
749,
20,
2757,
109,
13945,
26,
21,
2741,
11449,
30,
63,
74,
1173,
34,
53,
16,
318,
19787,
26,
40,
3010,
95,
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... |
Case insensitive contains(string)
===
Is there a way to make the following return true?
string title = "STRING";
title.Contains("string");
There doesn't seem to be an overload that allows me to set the case sensitivity..
Currently I UPPERCASE them both, but that's just silly. | 0 | [
2,
610,
19,
19435,
1588,
5,
11130,
6,
800,
3726,
3726,
25,
80,
21,
161,
20,
233,
14,
249,
788,
1151,
60,
3724,
581,
800,
13,
7,
11130,
7,
73,
581,
9,
1126,
5851,
18,
5,
7,
11130,
7,
6,
73,
80,
1437,
22,
38,
2260,
20,
44,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Move X number of rows in a table using jquery
===
I'm trying ot move X number of rows down ina table using jQuery...
I can do the following and it works....
/* Now let's move next 3 times to arrive at the foo account */
for (var rowCount = 1; rowCount <=3; rowCount++) {
foobarRow = $(foobarR... | 0 | [
2,
780,
993,
234,
16,
11295,
19,
21,
859,
568,
487,
8190,
93,
800,
3726,
3726,
31,
22,
79,
749,
13,
2779,
780,
993,
234,
16,
11295,
125,
19,
58,
859,
568,
487,
8190,
93,
9,
9,
9,
31,
92,
107,
14,
249,
17,
32,
693,
9,
9,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Getting a CGImage out of a PDF file
===
I have a PDF file where every page is a (LZW) TIFF file. I know this because I created it. I want to be able to load it and save it as a bunch of TIFF files.
I can open the PDF file with CGPDFDocumentCreateWithURL, and get a page. I can even draw the page onto the screen.
... | 0 | [
2,
1017,
21,
13,
15123,
22039,
70,
16,
21,
13,
11124,
3893,
800,
3726,
3726,
31,
57,
21,
13,
11124,
3893,
113,
352,
2478,
25,
21,
13,
5,
255,
22263,
6,
13,
38,
6021,
3893,
9,
31,
143,
48,
185,
31,
679,
32,
9,
31,
259,
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... |
Left outer join on two columns performance issue
===
I'm using a SQL query that is similar to the following form:
SELECT col1, col2
FROM table1
LEFT OUTER JOIN table2
ON table1.person_uid = table2.person_uid
AND table1.period = table2.period
And it's either way too slow or something's dea... | 0 | [
2,
225,
4896,
1865,
27,
81,
7498,
956,
1513,
800,
3726,
3726,
31,
22,
79,
568,
21,
4444,
255,
25597,
30,
25,
835,
20,
14,
249,
505,
45,
5407,
3313,
165,
15,
3313,
135,
37,
859,
165,
225,
4896,
1865,
859,
135,
27,
859,
165,
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... |
altering jquery datepicker to work with blueprint css
===
Does anyone have any pointers how to to fix the styling issue presented when using jquery ui's datepicker along side blueprint css framework? Specifically the table with the dates appears larger (wider) than the container it sits in. | 0 | [
2,
7835,
68,
487,
8190,
93,
1231,
16855,
106,
20,
170,
29,
26272,
272,
18,
18,
800,
3726,
3726,
630,
1276,
57,
186,
454,
445,
184,
20,
20,
6098,
14,
23020,
1513,
1831,
76,
568,
487,
8190,
93,
13,
5661,
22,
18,
1231,
16855,
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... |
How Many Static Methods is Too Many For One Class?
===
I have the following abstract class:
abstract class LP_Model_Abstract
{
protected static $_collectionClass = 'LP_Model_Collection';
protected $_row = null;
protected $_data = array();
public function __construct($row = null)
{
$thi... | 0 | [
2,
184,
151,
12038,
3195,
25,
266,
151,
26,
53,
718,
60,
800,
3726,
3726,
31,
57,
14,
249,
8502,
718,
45,
8502,
718,
6759,
1,
13998,
1,
2297,
18,
19915,
13,
1,
3803,
12038,
5579,
1,
15015,
872,
1898,
800,
13,
22,
5478,
1,
1399... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Annoying eclipse automatic closing quotes
===
I've always found the automatic close quotes/parenthesis features in eclipse kinda useless. For example hitting on a single " will lead to
"<cursor>"
Inevitably there will be more code AFTER the closing quote, even if it's only a semi-colon. Which means we have t... | 0 | [
2,
17610,
11652,
6715,
4239,
18901,
800,
3726,
3726,
31,
22,
195,
550,
216,
14,
6715,
543,
18901,
118,
18908,
438,
4557,
967,
19,
11652,
21096,
12858,
9,
26,
823,
6687,
27,
21,
345,
13,
7,
129,
672,
20,
13,
7,
1,
4734,
18,
248,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Simple Facebook Connect Demo in ASP.NET
===
Does anyone have a simple and successful demo implementation of facebook connect in an asp.net application. I am developing an asp.net web application and want facebook connect to be the primary method for logging in. | 0 | [
2,
1935,
9090,
6379,
8376,
19,
28,
306,
9,
2328,
800,
3726,
3726,
630,
1276,
57,
21,
1935,
17,
1300,
8376,
6123,
16,
9090,
6379,
19,
40,
28,
306,
9,
2328,
3010,
9,
31,
589,
3561,
40,
28,
306,
9,
2328,
2741,
3010,
17,
259,
9090... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Escaping Special Characters Posted to Servlet
===
I have a jsp containing a form which posts to a servlet, when the servlet receives the parameters from the form the pound sign (£) is preceded with the following character Â. So £ becomes £. What is causing this and how can I get round it? | 0 | [
2,
14700,
621,
1766,
6054,
20,
13,
10321,
1336,
800,
3726,
3726,
31,
57,
21,
487,
3401,
3503,
21,
505,
56,
9868,
20,
21,
13,
10321,
1336,
15,
76,
14,
13,
10321,
1336,
8359,
14,
12905,
37,
14,
505,
14,
11168,
1676,
13,
5,
11,
6... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Can I implement State Transitions for a DFA in Java using java.util.Set
===
I'm implementing a DFA as close as I can to the formal definition as a learning exercise (and blogging material)
I planned on using a java.util.Set where a set is involved in the definition.
The definition involves a set of tuples to def... | 0 | [
2,
92,
31,
8713,
146,
4513,
18,
26,
21,
13,
43,
1473,
19,
8247,
568,
8247,
9,
14255,
9,
3554,
800,
3726,
3726,
31,
22,
79,
17333,
21,
13,
43,
1473,
28,
543,
28,
31,
92,
20,
14,
3337,
5465,
28,
21,
2477,
5935,
13,
5,
290,
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... |
jQuery scope or race condition in AJAX/getJSON
===
I have a piece of jQuery code which invokes several `getJSON()` calls in quick succession:
var table = $("table#output");
for (var i in items) {
var thisItem = items[i];
$.getJSON("myService", { "itemID": thisItem }, function(json) {
... | 0 | [
2,
487,
8190,
93,
9914,
54,
764,
2874,
19,
20624,
118,
3060,
728,
528,
800,
3726,
3726,
31,
57,
21,
1855,
16,
487,
8190,
93,
1797,
56,
28371,
18,
238,
13,
1,
3060,
728,
528,
5,
6,
1,
3029,
19,
2231,
7676,
45,
4033,
859,
800,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
jQuery 1.3 - Issue with Setting an Attribute Value
===
This is my first stackoverflow question, so try to be nice. ;-D
My issue is this, I am refactoring some existing javascript code and using jQuery to do it. In several places I've come across javascript code similar to the following:
// some js code worki... | 0 | [
2,
487,
8190,
93,
137,
9,
240,
13,
8,
1513,
29,
2697,
40,
35,
14755,
1923,
800,
3726,
3726,
48,
25,
51,
64,
7566,
2549,
9990,
1301,
15,
86,
1131,
20,
44,
2210,
9,
13,
73,
8,
43,
51,
1513,
25,
48,
15,
31,
589,
302,
17455,
6... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Deploying a SharePoint WebPart with its Web Service Reference
===
I'm trying to built a SharePoint Web Part that has as part of it a service reference to <i>Another</i> SharePoint server that I need to call from within vb code. However when I try to call the remote web service for the first time, I get the following ... | 0 | [
2,
17617,
68,
21,
1891,
3132,
2741,
3091,
29,
82,
2741,
365,
2801,
800,
3726,
3726,
31,
22,
79,
749,
20,
392,
21,
1891,
3132,
2741,
141,
30,
63,
28,
141,
16,
32,
21,
365,
2801,
20,
13,
1,
49,
1,
14945,
1,
118,
49,
1,
1891,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Java - Modifying serialVersionUID of binary serialized object
===
A few months back I serialized a java.io.Serializable object into a file. Now I need to read the contents, but since then the serialVersionUID has changed, and now I'm getting a "class incompatible" error. I know for a fact that none of the data membe... | 0 | [
2,
8247,
13,
8,
17579,
68,
5956,
10898,
5661,
43,
16,
14171,
27877,
3095,
800,
3726,
3726,
21,
310,
818,
97,
31,
27877,
21,
8247,
9,
1963,
9,
4104,
2815,
3186,
579,
3095,
77,
21,
3893,
9,
130,
31,
376,
20,
1302,
14,
8478,
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... |
Programming test for hiring iPhone developers
===
My company is starting a new branch with IPhone development and we need to hire a developer.
I like to test this person in his/her skills in iPhone developement (Objective-C etc) and general programming skills.
iPhone programming skills is not a must to apply f... | 0 | [
2,
3143,
1289,
26,
16867,
21024,
10168,
800,
3726,
3726,
51,
237,
25,
1422,
21,
78,
1686,
29,
21024,
522,
17,
95,
376,
20,
10039,
21,
10058,
9,
31,
101,
20,
1289,
48,
840,
19,
33,
118,
1694,
3207,
19,
21024,
2803,
9632,
13,
5,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Logic behind hiding elements
===
I am having a dilemma in the logic of this particular issue. Forgive me if this is quite newbie question but I'd rather have a solid bg on it.
There are a lot of examples of this all around the web where you click on an element to display another element. such case may be a menu th... | 0 | [
2,
7085,
439,
5314,
2065,
800,
3726,
3726,
31,
589,
452,
21,
23314,
19,
14,
7085,
16,
48,
1498,
1513,
9,
8591,
55,
100,
48,
25,
1450,
78,
5893,
1301,
47,
31,
22,
43,
864,
57,
21,
2941,
13,
19924,
27,
32,
9,
80,
50,
21,
865,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Hibernate generates invalid SQL query with MySQL
===
I have the following JPA entity classes (example case). A House belongs on a single Street. A Street has many Houses.
@Entity
public class House {
@Id
@GeneratedValue(strategy=GenerationType.IDENTITY)
public Integer id;
... | 0 | [
2,
4148,
2102,
8820,
7920,
18,
16671,
4444,
255,
25597,
29,
51,
18,
22402,
800,
3726,
3726,
31,
57,
14,
249,
487,
1060,
9252,
2684,
13,
5,
29041,
610,
6,
9,
21,
191,
7034,
27,
21,
345,
446,
9,
21,
446,
63,
151,
1947,
9,
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... |
Balancing HTML/CSS Between Designers and Engineers
===
I have a development process question.
**Background:** I work for a modest sized web company where, historically, the designers created mockups/screenshots of what they wanted pages and components to look like, and the engineering team (myself included) turned ... | 0 | [
2,
16416,
6302,
13,
15895,
118,
6824,
18,
128,
12760,
17,
5379,
800,
3726,
3726,
31,
57,
21,
522,
953,
1301,
9,
13,
1409,
1958,
8810,
45,
1409,
31,
170,
26,
21,
8904,
13,
6560,
2741,
237,
113,
15,
6246,
15,
14,
12760,
679,
10506... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
zsh: stop backward-kill-word on directory delimiter
===
In [zsh](http://www.zsh.org/), how can I set up the line editor such that backward-kill-word stops on a directory separator? Currently in my bash setup, if I type
cd ~/devel/sandbox
and then hit C-w point will be right after "devel/". In my zsh setup... | 0 | [
2,
2052,
1635,
45,
747,
8540,
8,
7577,
8,
9587,
27,
16755,
121,
20565,
106,
800,
3726,
3726,
19,
636,
380,
1635,
500,
5,
21127,
6903,
6483,
9,
380,
1635,
9,
5583,
118,
6,
15,
184,
92,
31,
309,
71,
14,
293,
1835,
145,
30,
8540,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Is it possible to communicate directly over USB?
===
Is it possible to have two applications on the same computer to talk to each other directly over USB (no cable, no associated devices)? Is it easy/hard? What API would you guys recommend?
Yes, I posted a similar thread, but it was asking specifically for a JA... | 0 | [
2,
25,
32,
938,
20,
8709,
1703,
84,
182,
220,
60,
800,
3726,
3726,
25,
32,
938,
20,
57,
81,
3767,
27,
14,
205,
1428,
20,
930,
20,
206,
89,
1703,
84,
182,
220,
13,
5,
251,
4454,
15,
90,
1598,
4690,
6,
60,
25,
32,
2010,
118,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Working with IPv6 Addresses in PHP
===
After searching around somewhat thoroughly, I noticed a slight lack of functions in PHP for handling [IPv6][0]. For my own personal satisfaction I created a few functions to help the transition.
The `IPv6ToLong()` function is a temporary solution to that brought up here: [How ... | 0 | [
2,
638,
29,
31,
10166,
379,
12636,
19,
13,
26120,
800,
3726,
3726,
75,
5792,
140,
4131,
13632,
15,
31,
2711,
21,
6442,
1792,
16,
3719,
19,
13,
26120,
26,
7988,
636,
49,
10166,
379,
500,
2558,
387,
500,
9,
26,
51,
258,
1319,
1066... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
SQL/T-SQL - how to get the MAX value from 1 of N columns?
===
In SQL/Transact SQL, I am trying to update a temp table to take the latest date from 3 different date columns (in that temp table), and put that MAX date into a "latest date" column.
What is the best way to do this, using an update statement? | 0 | [
2,
4444,
255,
118,
38,
8,
18,
22402,
13,
8,
184,
20,
164,
14,
2049,
1923,
37,
137,
16,
13,
103,
7498,
60,
800,
3726,
3726,
19,
4444,
255,
118,
7028,
5183,
4444,
255,
15,
31,
589,
749,
20,
11100,
21,
13,
9577,
859,
20,
247,
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... |
sync SQL Server 2005 login passwords
===
Background:<br/>
We are running a web application where each user has a login to the system. The application login is mapped to an actual SQL Server 2005 login (which we needed to create). Our development and disaster recovery sites are simply copies of this setup. On a nig... | 0 | [
2,
6063,
150,
4444,
255,
8128,
812,
6738,
108,
20884,
18,
800,
3726,
3726,
2395,
45,
1,
5145,
118,
1,
95,
50,
946,
21,
2741,
3010,
113,
206,
4155,
63,
21,
6738,
108,
20,
14,
329,
9,
14,
3010,
6738,
108,
25,
20877,
20,
40,
3463... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Suppressing Linking Errors in G++ 3.4.6
===
Don't ask why, but is there any way to suppress a failed linking error?
Such as:
undefined reference to BLANK
This is in GCC 3.4.6
| 0 | [
2,
12451,
68,
12585,
11908,
19,
489,
20512,
203,
9,
300,
9,
379,
800,
3726,
3726,
221,
22,
38,
1349,
483,
15,
47,
25,
80,
186,
161,
20,
12451,
21,
1702,
12585,
7019,
60,
145,
28,
45,
367,
13439,
2801,
20,
6463,
48,
25,
19,
489... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Use linq to generate direct update without select
===
G'day everyone.
I'm still learning LINQ so forgive me if this is naive. When your dealing with SQL directly, you can generate update commands with conditionals, without running a select statement.
When I work with linq I seem to follow the pattern of:
1.... | 0 | [
2,
275,
6294,
1251,
20,
7920,
1744,
11100,
366,
5407,
800,
3726,
3726,
489,
22,
1185,
1266,
9,
31,
22,
79,
174,
2477,
6294,
1251,
86,
8591,
55,
100,
48,
25,
16288,
9,
76,
154,
5746,
29,
4444,
255,
1703,
15,
42,
92,
7920,
11100,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
NHibernate Mapping Issue (I think)
===
Ok, so I have an object named "Business" (I know, I know, "Business Business Object")
When it saved its foreign keys are getting lost somehow. Everything else is saving. I have stepped through the code and followed the object up until the
session.SaveOrUpdate(businessObject... | 0 | [
2,
12109,
15191,
8820,
13305,
1513,
13,
5,
49,
277,
6,
800,
3726,
3726,
5854,
15,
86,
31,
57,
40,
3095,
377,
13,
7,
18717,
7,
13,
5,
49,
143,
15,
31,
143,
15,
13,
7,
18717,
508,
3095,
7,
6,
76,
32,
4377,
82,
1228,
5534,
50... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 do cleanup at request end in Catalyst?
===
I'm trying get get some code called after each request completes using Catalyst. Basically, I want to run some code as part of `finalize`. Supposedly <a href="http://search.cpan.org/dist/Catalyst-Plugin-Observe/">Catalyst::Plugin::Observe</a> will do this, but it appea... | 0 | [
2,
184,
20,
107,
26862,
35,
3772,
241,
19,
17072,
60,
800,
3726,
3726,
31,
22,
79,
749,
164,
164,
109,
1797,
227,
75,
206,
3772,
1279,
18,
568,
17072,
9,
11374,
15,
31,
259,
20,
485,
109,
1797,
28,
141,
16,
13,
1,
4932,
2952,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to make a wx Toolbar buttons larger?
===
I've got a wx.Toolbar and I'd like to make the buttons larger. I've searched and can't seem to find any concrete documentation on how to do this.
I'm also wondering how well this will translate across platforms; what will happen to the buttons and icons on OSX? | 0 | [
2,
184,
20,
233,
21,
619,
396,
5607,
1850,
12861,
1662,
60,
800,
3726,
3726,
31,
22,
195,
330,
21,
619,
396,
9,
20799,
1850,
17,
31,
22,
43,
101,
20,
233,
14,
12861,
1662,
9,
31,
22,
195,
9036,
17,
92,
22,
38,
2260,
20,
477,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 revert a file in TFS
===
On occasion, I'll end up checking in a file to our TFS db that I didn't intend to.
Reverting to the prior version is quite tedious with my current approach.
If there a fast way to revert a file to a prior version in TFS? I'm open to command line, powertool, or UI approaches. | 0 | [
2,
184,
107,
31,
24156,
21,
3893,
19,
13,
11720,
18,
800,
3726,
3726,
27,
5434,
15,
31,
22,
211,
241,
71,
9886,
19,
21,
3893,
20,
318,
13,
11720,
18,
13,
9007,
30,
31,
223,
22,
38,
13863,
20,
9,
24156,
68,
20,
14,
1313,
615,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
java.awt.HeadlessException - Applet not displayed
===
I am using Tomcat 5.5.23, JDK 1.5 on HP Unix. We have an application which when invoked form tomcat starts an applet. It was working fine till JDK 1.4. But now we have moved to JDK 1.5 and the applet does not start. The exception thrown is -
java.awt.HeadlessExcep... | 0 | [
2,
8247,
9,
3885,
38,
9,
1743,
923,
10066,
872,
13,
8,
4037,
38,
52,
6115,
800,
3726,
3726,
31,
589,
568,
2067,
5782,
331,
9,
264,
9,
2001,
15,
487,
43,
197,
137,
9,
264,
27,
5301,
22540,
9,
95,
57,
40,
3010,
56,
76,
26252,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 cache objects in ASP.NET MVC?
===
For instance I have a BaseController that I want all Controllers to inherit from. Within there I want to have a User property that will simply grab the User data from the database so that I can use it within the controller, pass it to the views, stuff like that.
Code wou... | 0 | [
2,
184,
92,
31,
16522,
3916,
19,
28,
306,
9,
2328,
307,
8990,
60,
800,
3726,
3726,
26,
4851,
31,
57,
21,
1000,
12898,
1252,
30,
31,
259,
65,
9919,
18,
20,
17569,
37,
9,
363,
80,
31,
259,
20,
57,
21,
4155,
1354,
30,
129,
1659... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Adobe Flex control missing vertical scroll bar
===
I have a canvas containing a datagrid. I set horz and vert scroll to 'off' for the canvas, and set both to 'auto' for the DG. This works until I have a larger number of columns in the DG (>=16), then the vert scroll bar doesn't appear. Anyone seen this and, better ... | 0 | [
2,
20299,
14409,
569,
2863,
7035,
12159,
748,
800,
3726,
3726,
31,
57,
21,
9696,
3503,
21,
1054,
16375,
9,
31,
309,
4523,
380,
17,
13,
8122,
12159,
20,
13,
22,
1299,
22,
26,
14,
9696,
15,
17,
309,
156,
20,
13,
22,
18042,
22,
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... |
Vectorize my thinking: Vector Operations in R
===
So earlier I answered my own question on thinking in vectors in R. But now I have another problem which I can't 'vectorize.' I know vectors are faster and loops slower, but I can't figure out how to do this in a vector method:
I have a data frame (which for sentimen... | 0 | [
2,
7497,
2952,
51,
1440,
45,
7497,
1311,
19,
761,
800,
3726,
3726,
86,
1201,
31,
3094,
51,
258,
1301,
27,
1440,
19,
7497,
18,
19,
761,
9,
47,
130,
31,
57,
226,
1448,
56,
31,
92,
22,
38,
13,
22,
28033,
2952,
9,
22,
31,
143,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 vs. Switch Speed
===
Switch statements are typically faster than equivalent if-else-if statements (as e.g. descibed in this [article][1]) due to compiler optimizations.
How does this optimization actually work? Does anyone have a good explanation?
[1]: http://www.blackwasp.co.uk/SpeedTestIfElseSwitch.aspx | 0 | [
2,
100,
4611,
9,
5521,
1362,
800,
3726,
3726,
5521,
9015,
50,
2442,
4233,
119,
4602,
100,
8,
6798,
62,
8,
821,
9015,
13,
5,
472,
13,
62,
9,
263,
9,
1746,
1892,
4283,
19,
48,
636,
20360,
500,
2558,
165,
500,
6,
397,
20,
21486,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Pacman in Java questions
===
For my university assignment I have to make a networkable version of pacman. I thought I would best approach this problem with making a local copy of pacman first and then extend this functionality for network play.
I would have to say that I am relatively new to java GUI development a... | 0 | [
2,
9049,
177,
19,
8247,
2346,
800,
3726,
3726,
26,
51,
155,
8427,
31,
57,
20,
233,
21,
982,
579,
615,
16,
9049,
177,
9,
31,
289,
31,
83,
246,
2141,
48,
1448,
29,
544,
21,
375,
4344,
16,
9049,
177,
64,
17,
94,
7206,
48,
18548... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Move two WPF windows at once?
===
My main window has spawned a child window that's positioned on top to look like part of the main. I would like to move the child window in sync with the main but I'm not sure how.
My main window has my own title bar which event MouseLeftButtonDown calls this function:
public v... | 0 | [
2,
780,
81,
619,
7721,
1936,
35,
382,
60,
800,
3726,
3726,
51,
407,
1463,
63,
21305,
21,
850,
1463,
30,
22,
18,
12125,
27,
371,
20,
361,
101,
141,
16,
14,
407,
9,
31,
83,
101,
20,
780,
14,
850,
1463,
19,
6063,
150,
29,
14,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
.Net WFC/Web service exception handling design pattern
===
I'm trying to come up with a simple, easy to use design pattern for error handling in a .net wcf service (specifically a silverlight enabled wcf service). If an exception gets thrown in the service method the silverlight application will see a CommunicationExc... | 0 | [
2,
13,
9,
2328,
619,
7061,
118,
14113,
365,
5391,
7988,
704,
3732,
800,
3726,
3726,
31,
22,
79,
749,
20,
340,
71,
29,
21,
1935,
15,
2010,
20,
275,
704,
3732,
26,
7019,
7988,
19,
21,
13,
9,
2328,
11801,
410,
365,
13,
5,
9219,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Visual Studio XSD files with DLLs for Web Projects
===
I'm trying to create a DLL using a Dataset.XSD file to access my website's VistaDB database. The DLL develops and builds fine but I need to build the DLL once and then change the "path" of the database in the all the Website projects that finally references the d... | 0 | [
2,
3458,
1120,
993,
18,
43,
6488,
29,
13,
43,
211,
18,
26,
2741,
2314,
800,
3726,
3726,
31,
22,
79,
749,
20,
1600,
21,
13,
43,
211,
568,
21,
1054,
3554,
9,
396,
18,
43,
3893,
20,
1381,
51,
2271,
22,
18,
13520,
9007,
6018,
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... |
"Approximate" greatest common divisor
===
Suppose you have a list of floating point numbers that are **approximately** multiples of a common quantity, for example
2.468, 3.700, 6.1699
which are approximately all multiples of 1.234. How would you characterize this "approximate gcd", and how would you proceed to ... | 0 | [
2,
13,
7,
19896,
49,
5281,
7,
3023,
757,
13,
11390,
18,
248,
800,
3726,
3726,
5787,
42,
57,
21,
968,
16,
8319,
454,
2116,
30,
50,
13,
1409,
24853,
1409,
1886,
18,
16,
21,
757,
12881,
15,
26,
823,
172,
9,
300,
4279,
15,
203,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 place the same path multiple times at different sizes/coordinates?
===
I have a path I've created in Illustrator and saved as an SVG.
Now I want to programmatically place it at different sizes and coordinates on a large canvas.
Say I've got this image:
![original image][1]
How would I reproduce that... | 0 | [
2,
184,
20,
209,
14,
205,
2013,
1886,
436,
35,
421,
13403,
118,
716,
23239,
18,
60,
800,
3726,
3726,
31,
57,
21,
2013,
31,
22,
195,
679,
19,
13805,
17,
4377,
28,
40,
13,
18,
22955,
9,
130,
31,
259,
20,
625,
6732,
1326,
209,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
svn dump fails with WScript.Shell
===
new ActiveXObject("WScript.Shell");
var commandLine = "svnadmin dump " + repoFullPath + " > " + repoName + ".dumpfile";
WshShell.Exec(commandLine)
I am trying to run above cscript in windows but it seems like, it's doing nothing. It doesn't create the dump file.
Any mistak... | 0 | [
2,
13,
18,
16578,
11424,
13614,
29,
619,
8741,
9,
15984,
800,
3726,
3726,
78,
1348,
396,
23793,
5,
7,
499,
8741,
9,
15984,
7,
6,
73,
4033,
1202,
1143,
800,
13,
7,
18,
16578,
1283,
2160,
11424,
13,
7,
2754,
302,
1638,
13727,
8353... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Library Database System Design
===
I have a library, and I want to migrate it from an old system to a new optimized one.
The old library was built using MS Access (mdb files), where each book is a file by itself. Each book consists of two tables, one for chapters titles and the second for contents. There is also on... | 0 | [
2,
1248,
6018,
329,
704,
800,
3726,
3726,
31,
57,
21,
1248,
15,
17,
31,
259,
20,
22985,
32,
37,
40,
315,
329,
20,
21,
78,
22864,
43,
53,
9,
14,
315,
1248,
23,
392,
568,
4235,
1381,
13,
5,
79,
9007,
6488,
6,
15,
113,
206,
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... |
C# Fingerprint SDK
===
I am looking for a comparison of Fingerprint reader SDKs available for C# (we are using .Net 3.5). My requirements are
1. Associate more than one fingerprint with a person.
2. Store the fingerprints it self. (So I do not have to change the Database for my program.)
3. Work in bot... | 0 | [
2,
272,
5910,
21564,
13,
18,
43,
197,
800,
3726,
3726,
31,
589,
699,
26,
21,
6050,
16,
21564,
7765,
13,
18,
43,
4020,
904,
26,
272,
5910,
13,
5,
458,
50,
568,
13,
9,
2328,
203,
9,
264,
6,
9,
51,
4786,
50,
137,
9,
4169,
91,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 handle a DBNull to Boolean conversion in my XSD DataSet?
===
In my database, I have a few columns in one of my tables that are bit (boolean) values. They are allowed to be NULL since the fields are not always going to contain data.
I've gone through the process of creating an XSD DataSet using the table an... | 0 | [
2,
184,
107,
31,
3053,
21,
13,
9007,
4215,
211,
20,
9827,
413,
210,
6263,
19,
51,
993,
18,
43,
1054,
3554,
60,
800,
3726,
3726,
19,
51,
6018,
15,
31,
57,
21,
310,
7498,
19,
53,
16,
51,
7484,
30,
50,
1142,
13,
5,
10858,
413,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 schedule a daily script run on Windows XP?
===
I wrote a script in Ruby. I'd like to run it every day at a certain time. How do you do that on a Windows XP system?
I poked around on the machine and discovered the "scheduled tasks" control panel, but it doesn't seem to have anything to do with running scr... | 0 | [
2,
184,
107,
42,
4345,
21,
1954,
3884,
485,
27,
1936,
23045,
60,
800,
3726,
3726,
31,
738,
21,
3884,
19,
10811,
9,
31,
22,
43,
101,
20,
485,
32,
352,
208,
35,
21,
1200,
85,
9,
184,
107,
42,
107,
30,
27,
21,
1936,
23045,
329,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 get Program Files folder path (not Program Files (x86)) from 32bit WOW process?
===
I need to get the path to the native (rather than the WOW) program files directory from a 32bit WOW process.
When I pass CSIDL\_PROGRAM\_FILES (or CSIDL\_PROGRAM\_FILESX86) into SHGetSpecialFolderPath it returns the WOW (Prog... | 0 | [
2,
184,
20,
164,
625,
6488,
19294,
2013,
13,
5,
1270,
625,
6488,
13,
5,
396,
3274,
6,
6,
37,
2512,
3326,
15293,
953,
60,
800,
3726,
3726,
31,
376,
20,
164,
14,
2013,
20,
14,
1275,
13,
5,
23658,
119,
14,
15293,
6,
625,
6488,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Preventing XSS
===
Let's say I have a simple ASP.NET MVC blog application and I want to allow readers to add comments to a blog post. If I want to prevent any type of XSS shenanigans, I could HTML encode all comments so that they become harmless when rendered. However, what if I wanted to *some* basic functionality ... | 0 | [
2,
11520,
993,
18,
18,
800,
3726,
3726,
408,
22,
18,
395,
31,
57,
21,
1935,
28,
306,
9,
2328,
307,
8990,
8146,
3010,
17,
31,
259,
20,
1655,
7807,
20,
3547,
7534,
20,
21,
8146,
678,
9,
100,
31,
259,
20,
2501,
186,
1001,
16,
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... |
multiple forms
===
For example, would like 5 checks boxes to have their own submit button and the other 5 to have their own submit. Should be independednt of each other but they are not grouped together in the html page.
Do I nest the other form? Do I put them under the same <form> name and if so how do I distinct... | 0 | [
2,
1886,
1997,
800,
3726,
3726,
26,
823,
15,
83,
101,
331,
16602,
8120,
20,
57,
66,
258,
12298,
5167,
17,
14,
89,
331,
20,
57,
66,
258,
12298,
9,
378,
44,
19,
19038,
69,
2877,
16,
206,
89,
47,
59,
50,
52,
19511,
429,
19,
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... |
Making mixed numeric and alpha entry easier for mobile browers
===
I'm refurbishing a simple web-app that our field techs to use. One of my goals is to make it Blackberry-friendly, as all of the techs are now using those. This app accepts basic information about a job and stores it. Among that info are times, telephon... | 0 | [
2,
544,
2198,
15764,
596,
17,
5705,
2792,
4950,
26,
3241,
7246,
445,
800,
3726,
3726,
31,
22,
79,
302,
8822,
23092,
68,
21,
1935,
2741,
8,
7753,
30,
318,
575,
6145,
18,
20,
275,
9,
53,
16,
51,
1547,
25,
20,
233,
32,
27367,
8,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Automatically generating XML documentation for thrown exceptions in C#
===
In C#, it is good practice to add XML documentation to describe any exceptions that a method can throw. It is not difficult to add these for exceptions that you throw yourself. However, if I'm calling another method, and I've decided not to han... | 0 | [
2,
7499,
13500,
23504,
13945,
26,
6027,
13392,
19,
272,
5910,
800,
3726,
3726,
19,
272,
5910,
15,
32,
25,
254,
1345,
20,
3547,
23504,
13945,
20,
4996,
186,
13392,
30,
21,
2109,
92,
3814,
9,
32,
25,
52,
1956,
20,
3547,
158,
26,
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... |
Should we put units of measurements in attribute names?
===
I think most of us agree that **it's a good idea to use a descriptive name for variables**, object attributes, and database columns. If you want to store something's name, you may as well call the attribute ``Name`` so people know what to put in it.
Where... | 0 | [
2,
378,
95,
442,
1398,
16,
12776,
19,
35,
14755,
1817,
60,
800,
3726,
3726,
31,
277,
127,
16,
182,
4524,
30,
13,
1409,
242,
22,
18,
21,
254,
882,
20,
275,
21,
25508,
204,
26,
12157,
1409,
15,
3095,
13422,
15,
17,
6018,
7498,
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... |
Where can I find a good treeview control for Flex that supports checkboxes?
===
To my best knowledge the out-of-the-box Flex 3 treeview control does not support checkboxes. Where can I find a good treeview control that supports checkboxes on any and all nodes. I would prefer open source software but commercial compon... | 0 | [
2,
113,
92,
31,
477,
21,
254,
1541,
4725,
569,
26,
14409,
30,
6747,
2631,
5309,
160,
60,
800,
3726,
3726,
20,
51,
246,
1918,
14,
70,
8,
1041,
8,
124,
8,
5309,
14409,
203,
1541,
4725,
569,
630,
52,
555,
2631,
5309,
160,
9,
113,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Explanation about hashing and its use for data compression
===
I am facing an application that uses hashing, but I cannot still figure out how it works. Here is my problem, hashing is used to generate some index, and with those index I access to different tables, and after I add the value of every table, and I get my ... | 0 | [
2,
5764,
88,
19170,
68,
17,
82,
275,
26,
1054,
14864,
800,
3726,
3726,
31,
589,
4325,
40,
3010,
30,
2027,
19170,
68,
15,
47,
31,
1967,
174,
1465,
70,
184,
32,
693,
9,
235,
25,
51,
1448,
15,
19170,
68,
25,
147,
20,
7920,
109,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
VS2008 Team Edition Code Metrics - Skip Generated Code?
===
According to [this][1] blog the build in code metrics feature in VS2008 Team Edition is suppose to be smart enough to skip generated code. It's not. Is there an option somewhere that I need to set?
[1]: http://www.vitalygorn.com/blog/post/2007/11/Cod... | 0 | [
2,
4611,
2753,
173,
1322,
1797,
11544,
18,
13,
8,
12532,
6756,
1797,
60,
800,
3726,
3726,
496,
20,
636,
1565,
500,
2558,
165,
500,
8146,
14,
1895,
19,
1797,
11544,
18,
1580,
19,
4611,
2753,
173,
1322,
25,
5787,
20,
44,
3978,
511,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Switched to ASP.NET 3.5, DropDownList doesn't remember dynamically added items
===
I have a site that uses a couple DropDownLists that are databound. I was also doing the traditional if (!IsPostBack) {list.Databind();} and relied on viewstate to keep the lists filled during a post back. I recently converted the site t... | 0 | [
2,
6667,
20,
28,
306,
9,
2328,
203,
9,
264,
15,
2804,
2968,
5739,
1437,
22,
38,
1518,
7782,
1326,
905,
3755,
800,
3726,
3726,
31,
57,
21,
689,
30,
2027,
21,
1335,
2804,
2968,
5739,
18,
30,
50,
1054,
7410,
9,
31,
23,
67,
845,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Emacs Command to Delete Up to Non-Whitespace Character
===
I often want to make a multiline function call and reduce it down to one line. For example, convert...
function_call(
'first_arg',
'second')
to
function_call('first_arg', 'second')
Does emacs have some commands to help w... | 0 | [
2,
13,
62,
6893,
18,
1202,
20,
27448,
71,
20,
538,
8,
5051,
5582,
925,
800,
3726,
3726,
31,
478,
259,
20,
233,
21,
1889,
1143,
1990,
645,
17,
4136,
32,
125,
20,
53,
293,
9,
26,
823,
15,
8406,
9,
9,
9,
1990,
1,
9200,
5,
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... |
Generating random results by weight in PHP?
===
I know how to generate a random number in PHP but lets say I want a random number between 1-10 but I want more 3,4,5's then 8,9,10's. How is this possible? I would post what I have tried but honestly, I don't even know where to start. | 0 | [
2,
13500,
5477,
1736,
34,
1763,
19,
13,
26120,
60,
800,
3726,
3726,
31,
143,
184,
20,
7920,
21,
5477,
234,
19,
13,
26120,
47,
6884,
395,
31,
259,
21,
5477,
234,
128,
137,
8,
1036,
47,
31,
259,
91,
203,
15,
300,
15,
264,
22,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What language to further develop in?
===
Okay, so far, I have been taking computer science courses in my high school and doing some of my own research on the web, and I have found I really like the subject. However, the computer science courses, having given me a small amount of experience in a few languages (C++, jav... | 0 | [
2,
98,
816,
20,
653,
2803,
19,
60,
800,
3726,
3726,
1705,
15,
86,
463,
15,
31,
57,
74,
741,
1428,
762,
4392,
19,
51,
183,
116,
17,
845,
109,
16,
51,
258,
527,
27,
14,
2741,
15,
17,
31,
57,
216,
31,
510,
101,
14,
1550,
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... |
Where can I get images or full Windows OS's to run in Virtual Machines
===
I want to test my software on different Windows Operating Systems. I plan to do it using Virtual Machine software, either VMWare or Microsoft Virtual PC.
I would like to be able to test Windows 7, Windows Vista, Windows XP and Windows 98 in ... | 0 | [
2,
113,
92,
31,
164,
3502,
54,
503,
1936,
13,
759,
22,
18,
20,
485,
19,
6599,
6035,
800,
3726,
3726,
31,
259,
20,
1289,
51,
2306,
27,
421,
1936,
2455,
1242,
9,
31,
944,
20,
107,
32,
568,
6599,
1940,
2306,
15,
694,
13,
20147,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Use Exchange Web Services to enumerate all the properties(mapi properties?) on a mail item
===
I'm trying to troublshoot a problem with some mail items in on an Exchange 2007 server. I've been able to determine there is something wrong with I think a reciepient property, but I'm not sure, so I'd like to just enumerat... | 0 | [
2,
275,
1950,
2741,
687,
20,
26940,
62,
65,
14,
3704,
5,
15022,
49,
3704,
60,
6,
27,
21,
4216,
9101,
800,
3726,
3726,
31,
22,
79,
749,
20,
26894,
6287,
12511,
21,
1448,
29,
109,
4216,
3755,
19,
27,
40,
1950,
624,
8128,
9,
31,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
SharePoint Lists, GetListItems, XML, and VBA - I just want to crossreference!
===
I have a SharePoint list with, among other things, two columns that I care about; in Excel-ese, I want to match value X in column 1, and return the corresponding value in column 2. I'm able to use a variant of code at <http://guruj.net/n... | 0 | [
2,
1891,
3132,
7227,
15,
164,
5739,
2119,
79,
18,
15,
23504,
15,
17,
566,
969,
13,
8,
31,
114,
259,
20,
919,
28018,
187,
800,
3726,
3726,
31,
57,
21,
1891,
3132,
968,
29,
15,
497,
89,
564,
15,
81,
7498,
30,
31,
781,
88,
73,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
C# - Attribute to Skip over a Method while Stepping in Debug Mode
===
Is there an attribute I can use on a method so that when stepping through some code in Debug mode the Debugger stays on the outside of the method?
| 0 | [
2,
272,
5910,
13,
8,
35,
14755,
20,
12532,
84,
21,
2109,
133,
9451,
19,
121,
16254,
3740,
800,
3726,
3726,
25,
80,
40,
35,
14755,
31,
92,
275,
27,
21,
2109,
86,
30,
76,
9451,
120,
109,
1797,
19,
121,
16254,
3740,
14,
121,
2345... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
How do I find duplicate data in xml document using XQuery?
===
I have a bunch of documents in a MarkLogic xml database. One document has:
<colors>
<color>red</color>
<color>red</color>
</colors>
Having multiple colors is not a problem. Having multiple colors that are both red is a problem.... | 0 | [
2,
184,
107,
31,
477,
19429,
1054,
19,
23504,
4492,
568,
993,
8190,
93,
60,
800,
3726,
3726,
31,
57,
21,
7653,
16,
4374,
19,
21,
943,
24268,
23504,
6018,
9,
53,
4492,
63,
45,
13,
1,
11282,
18,
1,
13,
1,
11282,
1,
2095,
1,
11... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Nested User Controls - how to best get a reference to an ancestor control
===
I realize that a whole lot of code cannot fit here, but I am asking for general direction or pointer.
I have .NET user controls nested six deep for an interactive gadget with (outer to inner) of : wrapper, tabs, panels, lists, rows, item... | 0 | [
2,
5618,
69,
4155,
8671,
13,
8,
184,
20,
246,
164,
21,
2801,
20,
40,
14628,
569,
800,
3726,
3726,
31,
4007,
30,
21,
979,
865,
16,
1797,
1967,
2742,
235,
15,
47,
31,
589,
3379,
26,
297,
1400,
54,
454,
106,
9,
31,
57,
13,
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... |
Need help with building a web server
===
Greetings!
I'd like to build an apache web server, running on debian lenny.
It will primarily be used for hosting a web-shop, so it should have some light db i/o and lots of image serving (item previews/thumbs/etc...).
It's tough to put a finger on the exact number of ... | 0 | [
2,
376,
448,
29,
353,
21,
2741,
8128,
800,
3726,
3726,
13769,
18,
187,
31,
22,
43,
101,
20,
1895,
40,
17140,
2741,
8128,
15,
946,
27,
121,
10035,
23364,
9,
32,
129,
2257,
44,
147,
26,
10637,
21,
2741,
8,
18,
5347,
15,
86,
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 correct syntax when passing CComSafeArray to a method expecting SAFEARRAY**
===
This most likely has a very simple answer, but I can't figure it out.
I'm trying to refactor some code that looks like this:
SAFEARRAY* psa;
long* count;
HRESULT hr = pSomeInterface->ListSomething(&psa, &c... | 0 | [
2,
98,
25,
14,
4456,
22649,
76,
2848,
272,
960,
18166,
8576,
93,
20,
21,
2109,
7752,
1834,
8576,
93,
1409,
800,
3726,
3726,
48,
127,
1720,
63,
21,
253,
1935,
1623,
15,
47,
31,
92,
22,
38,
1465,
32,
70,
9,
31,
22,
79,
749,
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... |
RubyOnRails - Confirm Page
===
Using RubyOnRails I want a confirm page before creating an ActiveRecord object. The user will see a preview of the item they are creating before submitting and the object being saved in the database
A common pattern;
- User visits /entry/new
- User enters details and clicks subm... | 0 | [
2,
10811,
218,
7301,
18,
13,
8,
10265,
2478,
800,
3726,
3726,
568,
10811,
218,
7301,
18,
31,
259,
21,
10265,
2478,
115,
2936,
40,
1348,
14953,
3095,
9,
14,
4155,
129,
196,
21,
16121,
16,
14,
9101,
59,
50,
2936,
115,
28848,
17,
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... |
Why does OpenCV reject cvLoadImage("string.ext"), but accept cvLoadImage(argv[1])?
===
#include "cv.h"
#include "highgui.h"
#include <stdio.h>
int main(int argc, char* argv[]){
cvNamedWindow("Window1", CV_WINDOW_AUTOSIZE);
IplImage* image = 0;
->->image = cvLoadImage(ar... | 0 | [
2,
483,
630,
368,
12732,
12170,
13,
12732,
8294,
22039,
5,
7,
11130,
9,
1706,
38,
7,
6,
15,
47,
3440,
13,
12732,
8294,
22039,
5,
10663,
710,
2558,
165,
500,
6,
60,
800,
3726,
3726,
6926,
22640,
13,
7,
12732,
9,
252,
7,
6926,
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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.