unified_texts stringlengths 32 30.1k | OpenStatus_id int64 0 4 | input_ids list | token_type_ids list | attention_mask list |
|---|---|---|---|---|
COALESCE SUM GROUP?
===
Alright. I have a query that looks like this:
SELECT
SUM(`order_items`.`quantity`) as `count`,
`menu_items`.`name`
FROM
`orders`,
`menu_items`,
`order_items`
WHERE
`orders`.`id` = `order_items`.`order_id` AND
`m... | 0 | [
2,
3507,
160,
1105,
3907,
214,
60,
800,
3726,
3726,
11885,
9,
31,
57,
21,
25597,
30,
1879,
101,
48,
45,
5407,
3907,
5,
1,
7861,
1,
2119,
79,
18,
1,
9,
1,
18405,
38,
856,
1,
6,
28,
13,
1,
16549,
1,
15,
13,
1,
755,
291,
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... |
What is the best way to store a user name and password for a Windows Service?
===
What is the best way to store a user name and password for a Windows Service?
The service has to be able to access an MS SQL Server database on a remote machine. We have to support MS SQL Server authentication (mixed mode) instead of... | 0 | [
2,
98,
25,
14,
246,
161,
20,
1718,
21,
4155,
204,
17,
20884,
26,
21,
1936,
365,
60,
800,
3726,
3726,
98,
25,
14,
246,
161,
20,
1718,
21,
4155,
204,
17,
20884,
26,
21,
1936,
365,
60,
14,
365,
63,
20,
44,
777,
20,
1381,
40,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
launching vs2008 build from python
===
The first batch file launches a command prompt, i need the second command to be in the ccontext of the first. how can I do this in python?
As is, it launches the batch, and blocks until the batch (with its command prompt context) terminates, and then executes `devenv` without... | 0 | [
2,
13762,
4611,
2753,
1895,
37,
20059,
800,
3726,
3726,
14,
64,
13064,
3893,
22933,
21,
1202,
11443,
4417,
15,
31,
376,
14,
153,
1202,
20,
44,
19,
14,
272,
1126,
11969,
16,
14,
64,
9,
184,
92,
31,
107,
48,
19,
20059,
60,
28,
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... |
Is writing code out still considered an algorithmic representation?
===
I just lost 50% of my answer on a test because I wrote the code out instead of an algorithm on my midterm, bumping me from an A to a C. Is writing code out still considered an algorithmic representation?
[Wikipedia: Algorithm Representation][1]... | 0 | [
2,
25,
1174,
1797,
70,
174,
724,
40,
9083,
596,
5442,
60,
800,
3726,
3726,
31,
114,
529,
10496,
16,
51,
1623,
27,
21,
1289,
185,
31,
738,
14,
1797,
70,
700,
16,
40,
9083,
27,
51,
907,
3964,
15,
9797,
68,
55,
37,
40,
21,
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... |
Generating SQL Schema from XML
===
We are using an Oracle 11 database and a java development environment (using Eclipse) and would like to migrate several xml schemas to SQL schemas.
Have looked ax xsd but really need something that we can run from ant/
Eclipse without SQL Server installed.
Regards,
Andy | 0 | [
2,
13500,
4444,
255,
23874,
37,
23504,
800,
3726,
3726,
95,
50,
568,
40,
15759,
547,
6018,
17,
21,
8247,
522,
2307,
13,
5,
12655,
11652,
6,
17,
83,
101,
20,
22985,
238,
23504,
23874,
18,
20,
4444,
255,
23874,
18,
9,
57,
292,
21,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
HashMap default types for K and V
===
I usually type my map declarations but was doing some maint and found one without typing. This got me thinking (Oh No!). What is the default typing of a Map declaration. Consider the following:
Map map = new HashMap();
map.put("one", "1st");
map.put("two", new ... | 0 | [
2,
19170,
15022,
12838,
2551,
26,
680,
17,
566,
800,
3726,
3726,
31,
951,
1001,
51,
2942,
7098,
18,
47,
23,
845,
109,
407,
38,
17,
216,
53,
366,
25266,
9,
48,
330,
55,
1440,
13,
5,
1134,
90,
187,
6,
9,
98,
25,
14,
12838,
252... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Number/Date Conversion helpers in MVC, where to use them?
===
Stackoverflow is built on MVC and does a bunch of simple but nice things with dates and numbers (answer counts, votes, etc...). I'm assuming this is all done with a couple of static helper classes.
My question is should the view call these helper object... | 0 | [
2,
234,
118,
8209,
6263,
448,
445,
19,
307,
8990,
15,
113,
20,
275,
105,
60,
800,
3726,
3726,
7566,
2549,
9990,
25,
392,
27,
307,
8990,
17,
630,
21,
7653,
16,
1935,
47,
2210,
564,
29,
4076,
17,
2116,
13,
5,
5950,
4662,
9927,
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... |
Numbering a list via CSS, only if there are multiple items.
===
I have an XML document that I'm trying to style via CSS. A relevant snippet of this XML looks like this:
<senseBlock>
<prelim>Not numbered</prelim>
<sense>first item</sense>
<sense>second item</sense>
<sense>thi... | 0 | [
2,
18404,
21,
968,
1197,
272,
18,
18,
15,
104,
100,
80,
50,
1886,
3755,
9,
800,
3726,
3726,
31,
57,
40,
23504,
4492,
30,
31,
22,
79,
749,
20,
1034,
1197,
272,
18,
18,
9,
21,
7480,
13,
29061,
16,
48,
23504,
1879,
101,
48,
45,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How do I find the width & height of a terminal window?
===
As a simple example, I want to write a CLI script which can print '=' across the entire width of the terminal window.
#!/usr/bin/env php
<?php
echo str_repeat('=', ???);
or
#!/usr/bin/env python
print '=' * ???
or
#!/u... | 0 | [
2,
184,
107,
31,
477,
14,
9456,
279,
2947,
16,
21,
3855,
1463,
60,
800,
3726,
3726,
28,
21,
1935,
823,
15,
31,
259,
20,
2757,
21,
19391,
3884,
56,
92,
4793,
13,
22,
3726,
22,
464,
14,
1078,
9456,
16,
14,
3855,
1463,
9,
6926,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Using an array in the FileHelpers mapping class
===
I have been searching for a way to allow one element of my FileHelpers mappling class to be an array of specific length.
For instance, I have a class like this:
[DelimitedRecord(",")]
public class Example
{
public string code;
pu... | 0 | [
2,
568,
40,
7718,
19,
14,
3893,
14593,
445,
13305,
718,
800,
3726,
3726,
31,
57,
74,
5792,
26,
21,
161,
20,
1655,
53,
4520,
16,
51,
3893,
14593,
445,
2942,
306,
802,
718,
20,
44,
40,
7718,
16,
1903,
1476,
9,
26,
4851,
15,
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... |
how to remove a module from a minicpan repository
===
I have a local MINICPAN repository, but I want to remove a specific version of a module, and inject an older version.
This is the steps I've taken.
- create the MINICPAN, not filtering any modules
- use mcpani --add for the module in question
- use mcpani --i... | 0 | [
2,
184,
20,
4681,
21,
12613,
37,
21,
4236,
150,
3206,
24869,
800,
3726,
3726,
31,
57,
21,
375,
4236,
150,
3206,
24869,
15,
47,
31,
259,
20,
4681,
21,
1903,
615,
16,
21,
12613,
15,
17,
20316,
40,
1234,
615,
9,
48,
25,
14,
2382,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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++ construction weird uninitialized pointer
===
AlertEvent::AlertEvent(const std::string& text) :
IMEvent(kIMEventAlert, alertText.c_str()),
alertText(text)
{
//inspection at time of crash shows alertText is a valid string
}
IMEvent::IMEvent(long eventID, cons... | 0 | [
2,
272,
20512,
900,
5455,
367,
27313,
1333,
454,
106,
800,
3726,
3726,
7863,
4943,
38,
45,
45,
192,
106,
591,
6645,
5,
12124,
38,
354,
43,
45,
45,
11130,
1569,
1854,
6,
13,
45,
31,
790,
6645,
5,
17574,
4943,
3663,
6767,
15,
7863... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 shrink 'list' object in Reporting Services
===
I have a table and an associated chart contained within a 'list' object in SSRS 2005. I am using an expression to determine the visibility of the table and chart, however when the table and chart are not visible an ugly large blank space (where they would otherwis... | 0 | [
2,
184,
20,
16269,
13,
22,
5739,
22,
3095,
19,
6670,
687,
800,
3726,
3726,
31,
57,
21,
859,
17,
40,
1598,
1795,
3437,
363,
21,
13,
22,
5739,
22,
3095,
19,
22118,
18,
812,
9,
31,
589,
568,
40,
1803,
20,
3746,
14,
19476,
16,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to set the "insert new row" as first row in DataGridView
===
I am trying to get the DataGridView to render the "insert new row" row as the first row in the grid instead of the last row. How do I go about doing that, is it even possible in the control?
Regards, Egil. | 0 | [
2,
184,
20,
309,
14,
13,
7,
108,
18,
6767,
78,
3131,
7,
28,
64,
3131,
19,
1054,
16375,
4725,
800,
3726,
3726,
31,
589,
749,
20,
164,
14,
1054,
16375,
4725,
20,
16535,
14,
13,
7,
108,
18,
6767,
78,
3131,
7,
3131,
28,
14,
64,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Barest Bare Boned Operating System Possible
===
What are some tiny open source operating systems? I'm looking for something several orders of magnitude smaller than Puppy Linux, Feather Linux, DSL, etc. I want to run a command-line text editor and compiler; anything else is extraneous. I'm looking for a system I can t... | 0 | [
2,
748,
1430,
4856,
4664,
43,
2455,
329,
938,
800,
3726,
3726,
98,
50,
109,
3228,
368,
1267,
2455,
1242,
60,
31,
22,
79,
699,
26,
301,
238,
3204,
16,
10323,
2012,
119,
19478,
13024,
15,
12090,
13024,
15,
13,
43,
18,
255,
15,
272... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 happens if you call erase() on a map element while iterating from begin to end?
===
In the following code I loop through a map and test if an element needs to be erased. Is it safe to erase the element and keep iterating or do I need to collect the keys in another container and do a second loop to call the erase... | 0 | [
2,
98,
5531,
100,
42,
645,
23593,
5,
6,
27,
21,
2942,
4520,
133,
32,
106,
1880,
37,
2348,
20,
241,
60,
800,
3726,
3726,
19,
14,
249,
1797,
31,
5293,
120,
21,
2942,
17,
1289,
100,
40,
4520,
2274,
20,
44,
25513,
9,
25,
32,
183... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Stand-alone NetBeans-compatible .form editor
===
Is there a stand-alone GUI designer that can read and write the .form files that NetBeans (Matisse) generates? I like the GUI designer, but I don't want all the overhead of a complete Java IDE just to create and edit .form XML files. | 0 | [
2,
1261,
8,
17979,
4275,
863,
5950,
8,
20049,
13,
9,
4190,
1835,
800,
3726,
3726,
25,
80,
21,
1261,
8,
17979,
9457,
4742,
30,
92,
1302,
17,
2757,
14,
13,
9,
4190,
6488,
30,
4275,
863,
5950,
13,
5,
5146,
11001,
6,
7920,
18,
60,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Link to unless current -- possible in CI?
===
In Ruby (forgive me for mentioning it's name), I noticed you could do a anchor link with "link to unless current", which would remove the link if it was the current page.
I know there's nothing built into CI to do something similar, but I'm trying to come up with the be... | 0 | [
2,
3508,
20,
4003,
866,
13,
8,
8,
938,
19,
5486,
60,
800,
3726,
3726,
19,
10811,
13,
5,
1106,
8448,
55,
26,
21215,
32,
22,
18,
204,
6,
15,
31,
2711,
42,
110,
107,
21,
6265,
3508,
29,
13,
7,
6258,
20,
4003,
866,
7,
15,
56,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How can I convert a string to boolean in JavaScript?
===
Can I convert a string representing a boolean value (e.g., 'true', 'false') into a intrinsic type in JavaScript?
I have a hidden form in HTML that is updated based upon a user's selection within a list. This form contains some fields which represent boolean v... | 0 | [
2,
184,
92,
31,
8406,
21,
3724,
20,
9827,
413,
210,
19,
8247,
8741,
60,
800,
3726,
3726,
92,
31,
8406,
21,
3724,
3793,
21,
9827,
413,
210,
1923,
13,
5,
62,
9,
263,
9,
15,
13,
22,
13398,
22,
15,
13,
22,
13192,
870,
22,
6,
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... |
Disaplinary Algorithm Construction with Non-developers
===
Yeah, I know the title is a mouthful...
What I mean is to say is how do you communicate with a subject matter expert who needs a theory coded and tested?
For example, weather simulation is a collaboration between meteorologists, computer scientists, and ... | 0 | [
2,
1460,
2552,
1226,
1857,
9083,
900,
29,
538,
8,
26051,
445,
800,
3726,
3726,
3979,
15,
31,
143,
14,
581,
25,
21,
26934,
9,
9,
9,
98,
31,
884,
25,
20,
395,
25,
184,
107,
42,
8709,
29,
21,
1550,
1161,
5390,
72,
2274,
21,
163... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How do I get a .NET assembly running under Delphi from a network drive?
===
I have a Delphi 5 executable that calls into a .NET assembly via the free <a href="http://sourceforge.net/projects/delphinet/">Delphi .NET</a> code, and for the most part, this works great. However, one of the requirements of my application i... | 0 | [
2,
184,
107,
31,
164,
21,
13,
9,
2328,
1475,
946,
131,
23030,
37,
21,
982,
1493,
60,
800,
3726,
3726,
31,
57,
21,
23030,
331,
1396,
17194,
5924,
30,
3029,
77,
21,
13,
9,
2328,
1475,
1197,
14,
551,
13,
1,
58,
746,
14057,
3726,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to use ASP.NET MVC ActionFilterAttribute/IResultFilter to modify output
===
I am trying to modify the output stream to search/replace some XHTML tags returned from a View. I could use an traditional ASP.NET response filter, but thought to try the ASP.NET MVC action filter first.
public class MyResultFilter... | 0 | [
2,
184,
20,
275,
28,
306,
9,
2328,
307,
8990,
1028,
11924,
815,
721,
14755,
118,
49,
29955,
11924,
815,
20,
17579,
5196,
800,
3726,
3726,
31,
589,
749,
20,
17579,
14,
5196,
3766,
20,
2122,
118,
99,
5119,
109,
993,
15895,
3383,
18,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Tools for code snippet execution
===
By "code snippet execution", I mean the ability to write a few lines of code, run and test it without having to fire up an IDE and create a dummy project.
I'm not asking about the best code snippets or a snippet editor or where to store snippets!
For C#, I use [Snippet Compil... | 0 | [
2,
4672,
26,
1797,
13,
29061,
5769,
800,
3726,
3726,
34,
13,
7,
9375,
13,
29061,
5769,
7,
15,
31,
884,
14,
2165,
20,
2757,
21,
310,
1560,
16,
1797,
15,
485,
17,
1289,
32,
366,
452,
20,
535,
71,
40,
13,
3448,
17,
1600,
21,
26... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Fastest possible XML handling in Delphi for very large documents
===
I need recommendations on what to use in Delphi (I use Delphi 2009) to handle very large XML files (e.g. 100 MB) as fast as possible.
I need to input the XML, access and update the data in it from my program, and then export the modified XML agai... | 0 | [
2,
7518,
938,
23504,
7988,
19,
23030,
26,
253,
370,
4374,
800,
3726,
3726,
31,
376,
12121,
27,
98,
20,
275,
19,
23030,
13,
5,
49,
275,
23030,
588,
6,
20,
3053,
253,
370,
23504,
6488,
13,
5,
62,
9,
263,
9,
808,
14023,
6,
28,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 better to master a few programming languages than to learn many?
===
I find myself constantly reading books on programming languages, design patterns, etc. and playing around writing small programs to just test the waters. Often I am reading more than one book at a time on different subjects (reminds me of schoo... | 0 | [
2,
25,
32,
574,
20,
1129,
21,
310,
3143,
2556,
119,
20,
2484,
151,
60,
800,
3726,
3726,
31,
477,
992,
7545,
1876,
964,
27,
3143,
2556,
15,
704,
6282,
15,
2722,
9,
17,
791,
140,
1174,
284,
1726,
20,
114,
1289,
14,
4770,
9,
478,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 overhead is there of using an MXML file in Flex vs. a plain actionscript class?
===
I find it much easier to write MXML classes with embedded Script than trying to make an actionscript file.
I was wondering however what kind of overhead there is of using an MXML file - in terms of file size. I'm not especially... | 0 | [
2,
98,
8860,
25,
80,
16,
568,
40,
307,
396,
8184,
3893,
19,
14409,
4611,
9,
21,
3748,
1028,
8741,
718,
60,
800,
3726,
3726,
31,
477,
32,
212,
4950,
20,
2757,
307,
396,
8184,
2684,
29,
12138,
3884,
119,
749,
20,
233,
40,
1028,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Have you used the traveling salesman algorithm to solve a problem?
===
I studied TSA in college in the context of NP Completeness. I have never actually had a situation where it would apply to a practical problem. A little bit of research shows that it has been used to pick the cheapest path to move a drill aro... | 0 | [
2,
57,
42,
147,
14,
6530,
20957,
9083,
20,
8402,
21,
1448,
60,
800,
3726,
3726,
31,
1449,
13,
38,
1229,
19,
314,
19,
14,
4141,
16,
13,
8157,
1279,
720,
9,
31,
57,
243,
1121,
41,
21,
1858,
113,
32,
83,
5645,
20,
21,
5713,
144... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
iostream linker error
===
I have some old C code that I would like to combine with some C++ code.
The C code used to have has the following includes:
#include `<windows.h`>
#include `<stdio.h`>
#include `<string.h`>
#include "mysql.h"
Now I'm trying to make it use C++ with iostream like this:
#include `<win... | 0 | [
2,
13,
1963,
11260,
3508,
106,
7019,
800,
3726,
3726,
31,
57,
109,
315,
272,
1797,
30,
31,
83,
101,
20,
12287,
29,
109,
272,
20512,
1797,
9,
14,
272,
1797,
147,
20,
57,
63,
14,
249,
1103,
45,
6926,
22640,
13,
1,
27508,
18,
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... |
VS 2008 keeps removing and re-adding <SubType>ASPXCodeBehind</SubType>
===
I've got a VS 2008 C# Web project and whenever I make some changes to the files in it (not even to the project file itself) VS will remove some lines like this from the csproj file:
<SubType>ASPXCodeBehind</SubType>
So something like this... | 0 | [
2,
4611,
570,
8968,
9096,
17,
302,
8,
58,
11365,
13,
1,
7563,
4474,
1,
472,
306,
396,
9375,
24878,
1,
118,
7563,
4474,
1,
800,
3726,
3726,
31,
22,
195,
330,
21,
4611,
570,
272,
5910,
2741,
669,
17,
6634,
31,
233,
109,
1693,
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... |
Properties in partial class not appearing in Data Sources window!
===
Entity Framework has created the required partial classes. I can add these partial classes to the Data Sources window and the properties display as expected. However, if I extend any of the classes in a separate source file these properties do not a... | 0 | [
2,
3704,
19,
7284,
718,
52,
4870,
19,
1054,
2662,
1463,
187,
800,
3726,
3726,
9252,
6596,
63,
679,
14,
1390,
7284,
2684,
9,
31,
92,
3547,
158,
7284,
2684,
20,
14,
1054,
2662,
1463,
17,
14,
3704,
3042,
28,
1727,
9,
207,
15,
100,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How do you make a ASP.NET Control talk to a Silverlight app on the same page in C#
===
For example:
First, say I have a Silverlight app with Windowless=true so that I can place ASP.NET controls on top of it. Then I place an ASP.NET button on the page. How can I have say the text of a control in the Silverlight a... | 0 | [
2,
184,
107,
42,
233,
21,
28,
306,
9,
2328,
569,
930,
20,
21,
1172,
3130,
4865,
27,
14,
205,
2478,
19,
272,
5910,
800,
3726,
3726,
26,
823,
45,
64,
15,
395,
31,
57,
21,
1172,
3130,
4865,
29,
1463,
923,
3726,
13398,
86,
30,
3... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How do I calculate the closest power of 2 or 10 a number is?
===
What is the most efficient way to cacluate the closest power of a 2 or 10 to another number? e.g.
3.5 would return 2 for power of 2 and 1 for power of 10
123 would return 128 for power of 2 and 100 for power of 10
0.24 would return 0.25 for power of... | 0 | [
2,
184,
107,
31,
18469,
14,
6993,
414,
16,
172,
54,
332,
21,
234,
25,
60,
800,
3726,
3726,
98,
25,
14,
127,
8243,
161,
20,
1658,
10301,
1373,
14,
6993,
414,
16,
21,
172,
54,
332,
20,
226,
234,
60,
13,
62,
9,
263,
9,
203,
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... |
SQL: Table contains something
===
Sorry, still learning SQL.
How can i make.
DELETE FROM foo WHERE id=1 AND ->**bar not contains id==1**<-
ty | 0 | [
2,
4444,
255,
45,
859,
1588,
301,
800,
3726,
3726,
1875,
15,
174,
2477,
4444,
255,
9,
184,
92,
31,
233,
9,
27448,
37,
4310,
111,
113,
4924,
3726,
165,
17,
13,
8,
1,
1409,
1850,
52,
1588,
4924,
3726,
3726,
165,
1409,
1,
8,
3254... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
MySQL data modeling.
===
I have this current problem with data i have to represent in a MySQL database:
I have to support different kinds of products with different data each one, for example, cars, hotel rooms, books, etc. For my application there is some data which is common for each product, like name, descripti... | 0 | [
2,
51,
18,
22402,
1054,
12807,
9,
800,
3726,
3726,
31,
57,
48,
866,
1448,
29,
1054,
31,
57,
20,
3501,
19,
21,
51,
18,
22402,
6018,
45,
31,
57,
20,
555,
421,
8623,
16,
1985,
29,
421,
1054,
206,
53,
15,
26,
823,
15,
2137,
15,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to move build task into parent pom
===
I have a pom for my ejb project. In it I have added a maven-antrun-plugin execution step to build websphere ejb stubs during the verify phase. This works but is quite verbose, and as I need to add similiar steps to a number of other ejb projects I want to move the common sect... | 0 | [
2,
184,
20,
780,
1895,
3005,
77,
4766,
16214,
800,
3726,
3726,
31,
57,
21,
16214,
26,
51,
13,
10022,
220,
669,
9,
19,
32,
31,
57,
905,
21,
1216,
3124,
8,
1830,
3169,
8,
18527,
5831,
5769,
1424,
20,
1895,
2741,
14079,
13,
10022,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 call the main program from a winform opened by it'?
===
I have a program that when it starts, opens a winform (it is the one specified in Application.Run(new ...). From this form I open another form:
OtherForm newForm=new OtherForm();
newForm.Show();
How can i communicate from the new winform wit... | 0 | [
2,
184,
20,
645,
14,
407,
625,
37,
21,
628,
4190,
520,
34,
32,
22,
60,
800,
3726,
3726,
31,
57,
21,
625,
30,
76,
32,
3244,
15,
8965,
21,
628,
4190,
13,
5,
242,
25,
14,
53,
9931,
19,
3010,
9,
3169,
5,
2681,
13,
9,
9,
9,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Ruby to Python via XML-RPC
===
I am trying to export a Ruby framework via XML-RPC. However I am having some problems when trying to call a method from a class not directly added as a handler to the XML-RPC server. Please see my example below:
I have a test Ruby XML-RPC server as follows:
require "xmlrpc/serv... | 0 | [
2,
10811,
20,
20059,
1197,
23504,
8,
139,
5779,
800,
3726,
3726,
31,
589,
749,
20,
7487,
21,
10811,
6596,
1197,
23504,
8,
139,
5779,
9,
207,
31,
589,
452,
109,
1716,
76,
749,
20,
645,
21,
2109,
37,
21,
718,
52,
1703,
905,
28,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 HTTP post request for getting JSON object in response for iPhone application?
===
I've a web service running on server which return data either in XML format or JSON format.
I wanted to request a JSON format but using HTTP Post method.
any help greatly appreciated.
thanks in advance.
| 0 | [
2,
184,
107,
31,
233,
7775,
678,
3772,
26,
1017,
487,
528,
3095,
19,
1627,
26,
21024,
3010,
60,
800,
3726,
3726,
31,
22,
195,
21,
2741,
365,
946,
27,
8128,
56,
788,
1054,
694,
19,
23504,
2595,
54,
487,
528,
2595,
9,
31,
417,
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... |
Any pointers on making a downloader application? Preferably a Wix/MSI ?
===
We've got an application we'd like our users to download. Currently they click a link and download the EXE. What we'd like to do is have a launchpad/downloader application that would be small and fast to download, which would then download ... | 0 | [
2,
186,
454,
445,
27,
544,
21,
7121,
106,
3010,
60,
6369,
4801,
21,
4807,
396,
118,
79,
18,
49,
13,
60,
800,
3726,
3726,
95,
22,
195,
330,
40,
3010,
95,
22,
43,
101,
318,
3878,
20,
7121,
9,
871,
59,
10840,
21,
3508,
17,
7121... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Google AppEngine: How to fetch more than 1000?
===
First: I'm a beginner in python.
How can I fetch more than 1000 record from data store and put all in one single list to pass to django? | 0 | [
2,
8144,
4865,
16847,
45,
184,
20,
18312,
91,
119,
6150,
60,
800,
3726,
3726,
64,
45,
31,
22,
79,
21,
26931,
19,
20059,
9,
184,
92,
31,
18312,
91,
119,
6150,
571,
37,
1054,
1718,
17,
442,
65,
19,
53,
345,
968,
20,
1477,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
WPF Dispatcher.Invoke 'hanging'
===
I have a somewhat complex WPF application which seems to be 'hanging' or getting stuck in a Wait call when trying to use the dispatcher to invoke a call on the UI thread.
The general process is:
1. Handle the click event on a button
2. Create a new thread (STA) which: creat... | 0 | [
2,
619,
7721,
14226,
106,
9,
108,
2625,
1048,
13,
22,
7065,
68,
22,
800,
3726,
3726,
31,
57,
21,
4131,
1502,
619,
7721,
3010,
56,
2206,
20,
44,
13,
22,
7065,
68,
22,
54,
1017,
4549,
19,
21,
1760,
645,
76,
749,
20,
275,
14,
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... |
Convert MYSQL_ROW type to String
===
I am using the MYSQL C API and I have a MYSQL_ROW object that I would like to convert to a string. Does anyone know how to do this? I haven't found anything in the API's doc yet.
string str = (string)row[0] <-- runtime error
P.S. I tried casting it to a string but it doesn't... | 0 | [
2,
8406,
51,
18,
22402,
1,
5417,
1001,
20,
3724,
800,
3726,
3726,
31,
589,
568,
14,
51,
18,
22402,
272,
21,
2159,
17,
31,
57,
21,
51,
18,
22402,
1,
5417,
3095,
30,
31,
83,
101,
20,
8406,
20,
21,
3724,
9,
630,
1276,
143,
184,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Entity Framework & LINQ To SQL - Conflict of interest?
===
I've been reading on the blogosphere for the past week that Linq to SQL is dead [and long live EF and Linq to Entities]. But when I read the overview on MSDN, it appeared to me Linq to Entities generates eSQL just the way Linq to SQL generates SQL queries.
... | 0 | [
2,
9252,
6596,
279,
6294,
1251,
20,
4444,
255,
13,
8,
2930,
16,
1163,
60,
800,
3726,
3726,
31,
22,
195,
74,
1876,
27,
14,
8146,
111,
14079,
26,
14,
640,
877,
30,
6294,
1251,
20,
4444,
255,
25,
828,
636,
290,
175,
515,
11599,
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 I create a new quartz job and trigger or one job and many triggers?
===
I am looking to use quartz to schedule emails, but I'm not sure which approach to take:
1. Create a new job and trigger whenever an email is scheduled OR
2. Create a single job, and create a new trigger each time an email is scheduled... | 0 | [
2,
378,
31,
1600,
21,
78,
20913,
1205,
17,
7286,
54,
53,
1205,
17,
151,
7286,
18,
60,
800,
3726,
3726,
31,
589,
699,
20,
275,
20913,
20,
4345,
8517,
18,
15,
47,
31,
22,
79,
52,
562,
56,
2141,
20,
247,
45,
137,
9,
1600,
21,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How can I control the order in which event handlers are fired?
===
Are event handlers fired in the order that they attached to the event? If not, can I enforce some kind of order onto the event handlers such that they are called in a specific order? | 0 | [
2,
184,
92,
31,
569,
14,
389,
19,
56,
807,
24641,
18,
50,
3899,
60,
800,
3726,
3726,
50,
807,
24641,
18,
3899,
19,
14,
389,
30,
59,
3638,
20,
14,
807,
60,
100,
52,
15,
92,
31,
16525,
109,
825,
16,
389,
1204,
14,
807,
24641,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
$.getJSON missing in action!
===
I'm playing around with ASP.net MVC and JQuery at the moment. I've come across behavour which doesn't seem to make sense.
I'm calling JQuery's $.getJSON function to populate some div's. The event is triggered on the $(document).ready event. This works perfectly.
There is a s... | 0 | [
2,
5579,
9,
3060,
728,
528,
2863,
19,
1028,
187,
800,
3726,
3726,
31,
22,
79,
791,
140,
29,
28,
306,
9,
2328,
307,
8990,
17,
487,
8190,
93,
35,
14,
688,
9,
31,
22,
195,
340,
464,
44,
994,
23739,
56,
1437,
22,
38,
2260,
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... |
Multiple menu items in bold face
===
I've been investigating the effort needed in getting menu items displayed in bold face - without having to draw the menu myself - and discovered MFS_DEFAULT menu item state after some googling. The [MSDN documentation][1] mentions
> **MFS_DEFAULT**
> Specifies that the menu
... | 0 | [
2,
1886,
11379,
3755,
19,
5657,
276,
800,
3726,
3726,
31,
22,
195,
74,
12490,
14,
2150,
851,
19,
1017,
11379,
3755,
6115,
19,
5657,
276,
13,
8,
366,
452,
20,
2003,
14,
11379,
992,
13,
8,
17,
1848,
13,
13235,
18,
1,
13862,
9708,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Color margins in VIM
===
Does anybody know how I can get diff's color margins in VIM (if it is possible)? I mean something like this: (e.g., in NetBeans: [Netbeans color margins](http://www.picamatic.com/show/2008/11/05/05/39/1308705_147x152.png)). It was very useful when I was working with NetBeans, maybe somebody wr... | 0 | [
2,
1665,
5440,
18,
19,
1790,
79,
800,
3726,
3726,
630,
11181,
143,
184,
31,
92,
164,
20811,
22,
18,
1665,
5440,
18,
19,
1790,
79,
13,
5,
821,
32,
25,
938,
6,
60,
31,
884,
301,
101,
48,
45,
13,
5,
62,
9,
263,
9,
15,
19,
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... |
setting the gzip timestamp from Python
===
I'm interested in compressing data using Python's `gzip` module. It happens that I want the compressed output to be deterministic, because that's often a really convenient property for things to have in general -- if some non-gzip-aware process is going to be looking for cha... | 0 | [
2,
2697,
14,
489,
2553,
306,
436,
38,
10158,
37,
20059,
800,
3726,
3726,
31,
22,
79,
3158,
19,
26060,
68,
1054,
568,
20059,
22,
18,
13,
1,
263,
2553,
306,
1,
12613,
9,
32,
5531,
30,
31,
259,
14,
18472,
5196,
20,
44,
15190,
216... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 grab the top result of a Google search?
===
In a PHP script I want to get just the URL of the top result of a Google search and redirect to it. I could scrape it but is there a better way? | 0 | [
2,
184,
107,
31,
4931,
14,
371,
829,
16,
21,
8144,
2122,
60,
800,
3726,
3726,
19,
21,
13,
26120,
3884,
31,
259,
20,
164,
114,
14,
287,
6362,
16,
14,
371,
829,
16,
21,
8144,
2122,
17,
302,
14706,
20,
32,
9,
31,
110,
23855,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
How do you determine what to put in .rhost file in an VAX open vms when accessing from CYGWIN
===
How do you determine what to put in .rhost file in an VAX openvms system when trying to remotely access the server using a remote shell from Cygwin on windows XP.rlogin and rsh are the only methods that can be used to acc... | 0 | [
2,
184,
107,
42,
3746,
98,
20,
442,
19,
13,
9,
139,
11694,
3893,
19,
40,
3471,
396,
368,
13,
20147,
18,
76,
1381,
68,
37,
6728,
263,
4181,
800,
3726,
3726,
184,
107,
42,
3746,
98,
20,
442,
19,
13,
9,
139,
11694,
3893,
19,
40... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
php Echo/printing a multiline string?
===
i have a php file launching my exe. the exe does cout and the text is printed in html which is all fine. until i write "someline\n"; The \n breaks the output and i only see the last line. How do i print/echo text/strings that has multilines in them?
The current paste has \n... | 0 | [
2,
13,
26120,
8117,
118,
10299,
68,
21,
1889,
1143,
3724,
60,
800,
3726,
3726,
31,
57,
21,
13,
26120,
3893,
13762,
51,
1396,
62,
9,
14,
1396,
62,
630,
272,
1320,
17,
14,
1854,
25,
5317,
19,
13,
15895,
56,
25,
65,
1123,
9,
163,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
.config to constructor tricks?
===
I'm working on a quick project to monitor/process data. Essentially that's just monitors, schedules and processors. The monitor checks for data (ftp, local, imap, pop, etc) using a schedule and sends new data to a processor. They call have interfaces.
I'm trying to find a sane way... | 0 | [
2,
13,
9,
14093,
2816,
20,
6960,
248,
13747,
60,
800,
3726,
3726,
31,
22,
79,
638,
27,
21,
2231,
669,
20,
7626,
118,
16835,
1054,
9,
7398,
30,
22,
18,
114,
18521,
15,
4345,
18,
17,
21034,
9,
14,
7626,
16602,
26,
1054,
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... |
Proper way to write and read an xml string
===
I've been beating my head against this wall for quite some time now, so I thought I'd ask some experts.
I need to send an xml string from one computer to the next. I would like to format the xml something like this:
<xml>
<author>Joe the Magnificent</aut... | 0 | [
2,
4119,
161,
20,
2757,
17,
1302,
40,
23504,
3724,
800,
3726,
3726,
31,
22,
195,
74,
4785,
51,
157,
149,
48,
769,
26,
1450,
109,
85,
130,
15,
86,
31,
289,
31,
22,
43,
1349,
109,
8365,
9,
31,
376,
20,
2660,
40,
23504,
3724,
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... |
What is the best mime-type and extension to use when exporting tab delimited?
===
I've come across the problem where Excel will not play nice with UTF-8 encoded CSV files. See this [related question][1] on Stack Overflow.
I've followed the solution of exporting as UTF-16, however it seems that with UTF-16, the comm... | 0 | [
2,
98,
25,
14,
246,
26193,
8,
4474,
17,
3896,
20,
275,
76,
7487,
68,
6523,
121,
23012,
60,
800,
3726,
3726,
31,
22,
195,
340,
464,
14,
1448,
113,
20700,
129,
52,
418,
2210,
29,
287,
11720,
8,
457,
13665,
272,
18,
710,
6488,
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... |
Grammar Writing Tools
===
I am trying to write a grammar in EBNF (barring a really good reason, it has to be EBNF) and am looking for a couple of utilities for it - if there's a GUI interface that can make one, that would be great, but the thing I'm looking for most is something that can check the grammar, for instanc... | 0 | [
2,
7207,
1174,
4672,
800,
3726,
3726,
31,
589,
749,
20,
2757,
21,
7207,
19,
11817,
11408,
13,
5,
1850,
2090,
21,
510,
254,
1215,
15,
32,
63,
20,
44,
11817,
11408,
6,
17,
589,
699,
26,
21,
1335,
16,
19817,
26,
32,
13,
8,
100,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What is a good reference documenting patterns of use of X-Macros in C (or possibly C++)?
===
A basic definition and example and a few references for "X-Macros" is given in this wikipedia entry on the C pre-processor:
http://en.wikipedia.org/wiki/C_preprocessor
What are some good sources of information on how to... | 0 | [
2,
98,
25,
21,
254,
2801,
4492,
68,
6282,
16,
275,
16,
993,
8,
6893,
3171,
19,
272,
13,
5,
248,
2879,
272,
20512,
6,
60,
800,
3726,
3726,
21,
2125,
5465,
17,
823,
17,
21,
310,
7231,
26,
13,
7,
396,
8,
6893,
3171,
7,
25,
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... |
Spell checking city names?
===
I figure this problem is easier than just a regular spell checker since the list of U.S cities is small compared to all known English words.
Anyhow, here's the problem:
I have text files with full of city names; some of which are spelled correctly and some which aren't.
What kind... | 0 | [
2,
4762,
9886,
136,
1817,
60,
800,
3726,
3726,
31,
1465,
48,
1448,
25,
4950,
119,
114,
21,
1290,
4762,
2631,
106,
179,
14,
968,
16,
287,
9,
18,
1920,
25,
284,
2428,
20,
65,
167,
486,
715,
9,
186,
1544,
15,
235,
22,
18,
14,
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... |
Java Serial Communication on Windows
===
I've been looking around for a Java API that can communicate with Serial on Windows/Win32 but many of the API's I've checked out are either for Linux, too outdated, or just had bad critics.
Can someone recommend one to me that they've tried or knows about that is easy to imp... | 0 | [
2,
8247,
5956,
3291,
27,
1936,
800,
3726,
3726,
31,
22,
195,
74,
699,
140,
26,
21,
8247,
21,
2159,
30,
92,
8709,
29,
5956,
27,
1936,
118,
4181,
3125,
47,
151,
16,
14,
21,
2159,
22,
18,
31,
22,
195,
6505,
70,
50,
694,
26,
130... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Systray Access
===
Is there a way (in C#) to access the systray?
I am not talking about making a notify icon.
I want to iterate through the items in the tray (I would guess through the processes but I don't know how to determine what is actually in the tray and what is just a process) and also represent the items wi... | 0 | [
2,
10315,
5253,
93,
1381,
800,
3726,
3726,
25,
80,
21,
161,
13,
5,
108,
272,
5910,
6,
20,
1381,
14,
10315,
5253,
93,
60,
31,
589,
52,
1582,
88,
544,
21,
52,
8612,
9801,
9,
31,
259,
20,
32,
106,
1373,
120,
14,
3755,
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... |
VS2008 ObjectDataSource throws Exceptions
===
I am working on an ASP.NET page with a GridView and an ObjectDataSource.
I want to configure the ObjectDataSource against a class (decorated with DataObject()) in my business layer. A class amonst many others set up in a very similar fashion. I select the class and cl... | 0 | [
2,
4611,
2753,
3095,
18768,
12097,
13566,
13392,
800,
3726,
3726,
31,
589,
638,
27,
40,
28,
306,
9,
2328,
2478,
29,
21,
7354,
4725,
17,
40,
3095,
18768,
12097,
9,
31,
259,
20,
1065,
15951,
14,
3095,
18768,
12097,
149,
21,
718,
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... |
Best Continuous Integration Setup for a solo developer (.NET)
===
I'm looking for a lightweight, easy to setup CI server that I can run on my laptop along with Visual Studio & Resharper. I'm obviously looking at all the big names like CruiseControl, TeamCity etc etc but the biggest consideration to me is ease of setup... | 4 | [
2,
246,
6357,
8078,
18161,
26,
21,
2046,
10058,
13,
5,
9,
2328,
6,
800,
3726,
3726,
31,
22,
79,
699,
26,
21,
13613,
15,
2010,
20,
18161,
5486,
8128,
30,
31,
92,
485,
27,
51,
12294,
303,
29,
3458,
1120,
279,
302,
23646,
106,
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... |
Why do people defend the regex syntax?
===
There is a similar question going around, but it just got the same old answers that people always give about Regex syntax, but that's not the point here, so please try to not knee jerk the same old answers about regex syntax. Try to be a little more original and personal abou... | 0 | [
2,
483,
107,
148,
5589,
14,
7953,
1706,
22649,
60,
800,
3726,
3726,
80,
25,
21,
835,
1301,
228,
140,
15,
47,
32,
114,
330,
14,
205,
315,
6709,
30,
148,
550,
590,
88,
7953,
1706,
22649,
15,
47,
30,
22,
18,
52,
14,
454,
235,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Lookup Op performance
===
I'm trying to squeeze some more performance out of my rendering pipeline. The (by far) slowest part is performing a java.awt.imaging.LookupOp on a large image.
The image size is about 2048x2048.
I have figured out that having the filter done along with the drawing operation is much f... | 0 | [
2,
361,
576,
3088,
956,
800,
3726,
3726,
31,
22,
79,
749,
20,
10202,
109,
91,
956,
70,
16,
51,
15307,
12250,
9,
14,
13,
5,
779,
463,
6,
2276,
1430,
141,
25,
2955,
21,
8247,
9,
3885,
38,
9,
1660,
7426,
9,
5810,
576,
2594,
27,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Can CArchive read and write from a specified location of a file?
===
I want to serialize and deserialize a list of objects into a file. But I found that if I use CArchive, the new content will overwrite the original content in the file, which is not my expectation. Is there any method to allow me to read and write fro... | 0 | [
2,
92,
272,
23941,
1302,
17,
2757,
37,
21,
9931,
1474,
16,
21,
3893,
60,
800,
3726,
3726,
31,
259,
20,
5956,
2952,
17,
1746,
106,
2815,
2952,
21,
968,
16,
3916,
77,
21,
3893,
9,
47,
31,
216,
30,
100,
31,
275,
272,
23941,
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... |
vb.net byte[] to C++ char*
===
I am calling an unmanaged C++ dll that expects a char* as one of its parameters and I want to push a byte[] into it. The project is written in VB.NET.
What type of marshalling will work for this? | 0 | [
2,
13,
20468,
9,
2328,
34,
591,
2558,
500,
20,
272,
20512,
4892,
2483,
800,
3726,
3726,
31,
589,
2555,
40,
367,
177,
8030,
272,
20512,
13,
43,
211,
30,
4186,
18,
21,
4892,
2483,
28,
53,
16,
82,
12905,
17,
31,
259,
20,
3250,
21... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
SVN recursive delete
===
Is there a way to delete a folder, lets call it FolX from an SVN trunk recursively? A quick search on google only tells me how to recursively delete all .svn folders and this is not what I want to do | 0 | [
2,
13,
18,
16578,
302,
24244,
27448,
800,
3726,
3726,
25,
80,
21,
161,
20,
27448,
21,
19294,
15,
6884,
645,
32,
8938,
396,
37,
40,
13,
18,
16578,
6436,
302,
24244,
102,
60,
21,
2231,
2122,
27,
8144,
104,
2609,
55,
184,
20,
302,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 SaveFileDialog - Restrict Drives
===
How can I restrict the list of drive letters displayed by the WPF SaveFileDialog? | 0 | [
2,
619,
7721,
2079,
16877,
4286,
5567,
13,
8,
15436,
10396,
800,
3726,
3726,
184,
92,
31,
15436,
14,
968,
16,
1493,
2516,
6115,
34,
14,
619,
7721,
2079,
16877,
4286,
5567,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Querying ManyToMany relationship with Hibernate Criteria
===
I'm not sure how to describe this problem, so I think an example is the best way to ask my question:
I have two tables with a manyToMany relationship:
DriversLicence <-> LicenceClass
LicenceClass is things like "Car", "Motorbike", and "Medium Rigid"... | 0 | [
2,
25597,
68,
151,
262,
14842,
1429,
29,
4148,
2102,
8820,
9157,
800,
3726,
3726,
31,
22,
79,
52,
562,
184,
20,
4996,
48,
1448,
15,
86,
31,
277,
40,
823,
25,
14,
246,
161,
20,
1349,
51,
1301,
45,
31,
57,
81,
7484,
29,
21,
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... |
any alternative for sleep() in c?
===
Is there any alternative for sleep() in c?In traditional embedded programming we will give delay function like below
for(i=0;i<255;i++)
for(j=0;j<255;j++);
but in microprocessor's view how sleep(x) works.it will give some 'x' seconds delay?and if there is any alternat... | 0 | [
2,
186,
2676,
26,
1742,
5,
6,
19,
272,
60,
800,
3726,
3726,
25,
80,
186,
2676,
26,
1742,
5,
6,
19,
272,
60,
108,
1361,
12138,
3143,
95,
129,
590,
7255,
1990,
101,
1021,
26,
5,
49,
3726,
387,
73,
49,
1,
20038,
73,
49,
20512,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 go back to some position already printed in C?
===
let us have a situation in which the following program prints some 10 lines of #
for(i=0;i<10;i++)
prinf("#");
now how to go back to 5 th line and edit that # and change the color of it without clearing the screen or clearing the below 5 lines?
<p... | 0 | [
2,
184,
20,
162,
97,
20,
109,
649,
614,
5317,
19,
272,
60,
800,
3726,
3726,
408,
182,
57,
21,
1858,
19,
56,
14,
249,
625,
12202,
109,
332,
1560,
16,
6926,
26,
5,
49,
3726,
387,
73,
49,
1,
1036,
73,
49,
20512,
6,
4566,
11408,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Performance Tuning WCF Service
===
What is the single most important performance tuning area for a WCF Web service?
- ASP.net Thread settings?
- WCF throttling? | 0 | [
2,
956,
19253,
11801,
410,
365,
800,
3726,
3726,
98,
25,
14,
345,
127,
681,
956,
19253,
217,
26,
21,
11801,
410,
2741,
365,
60,
13,
8,
28,
306,
9,
2328,
9322,
12410,
60,
13,
8,
11801,
410,
13,
96,
19879,
802,
60,
3,
0,
0,
0,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
iPhone Web App Cache Persistence
===
How can I write an ASP.NET (C#) application that will render a page can be permanently cached on the iPhone when it is bookmarked as a "Homescreen Icon"? I have tried setting this on the code behind "Response.ExpiresAbsolute = DateTime.MaxValue;" but to no avail. The server code... | 0 | [
2,
21024,
2741,
4865,
16522,
28584,
800,
3726,
3726,
184,
92,
31,
2757,
40,
28,
306,
9,
2328,
13,
5,
150,
5910,
6,
3010,
30,
129,
16535,
21,
2478,
92,
44,
8384,
16522,
43,
27,
14,
21024,
76,
32,
25,
360,
22048,
28,
21,
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... |
Upgrading a large VB6 app to .NET. Opinions on VB Migration Partner
===
I have a really large VB6 code base with a ton of 3rd party controls. Want to move it to .NET. Rewriting it is out of question - the client sees no value in spending money to get the same thing. Moving to .NET with the built-in upgrade wizard ... | 0 | [
2,
26939,
21,
370,
13,
20468,
379,
4865,
20,
13,
9,
2328,
9,
11900,
27,
13,
20468,
8443,
2417,
800,
3726,
3726,
31,
57,
21,
510,
370,
13,
20468,
379,
1797,
1000,
29,
21,
13,
444,
16,
203,
897,
346,
8671,
9,
259,
20,
780,
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... |
Has anyone developed a PHP based Client for a WCF Service?
===
Has anyone developed a PHP based Client for a WCF Service? I'm in the process of completing a WCF Service for my work. Only I don't expect the client to be running on the .Net Stack. I expect PHP (LAMP) will be the norm.
Are there some obvious pitfa... | 0 | [
2,
63,
1276,
885,
21,
13,
26120,
432,
6819,
26,
21,
11801,
410,
365,
60,
800,
3726,
3726,
63,
1276,
885,
21,
13,
26120,
432,
6819,
26,
21,
11801,
410,
365,
60,
31,
22,
79,
19,
14,
953,
16,
6869,
21,
11801,
410,
365,
26,
51,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Is there a way to force case sensitivity in MySQL / Rails for a single find?
===
I'm doing some searching of tags, and some users like "cat" while others like "Cat" Go figure...
Anyways, is there a way to force a particular find to be case sensitive? Such as:
Tag.find(:some-special-option-here)
Any idea... | 0 | [
2,
25,
80,
21,
161,
20,
558,
610,
17018,
19,
51,
18,
22402,
13,
118,
2240,
18,
26,
21,
345,
477,
60,
800,
3726,
3726,
31,
22,
79,
845,
109,
5792,
16,
3383,
18,
15,
17,
109,
3878,
101,
13,
7,
5782,
7,
133,
654,
101,
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... |
Running vc2008 debug builds on non-dev machines
===
I'm building my app in vc2008 and testing it on a network of machines.
Is there any way, other than installing Visual Studio 2008, to run a debug build of a C++ program on another machine? (i.e. that doesn't have vc2008 installed)
Installing the redist package ... | 0 | [
2,
946,
13,
8990,
2753,
121,
16254,
1895,
18,
27,
538,
8,
14438,
6035,
800,
3726,
3726,
31,
22,
79,
353,
51,
4865,
19,
13,
8990,
2753,
17,
4431,
32,
27,
21,
982,
16,
6035,
9,
25,
80,
186,
161,
15,
89,
119,
25429,
3458,
1120,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
DataList, Conditional statements in <ItemTemplate>?
===
I am trying to do the following in ASP.NET 3.5. Basically, I am binding a LINQDataSource to a DataList. There is a property called "Deleted" and if it is true, I want to display different markup. The following code throws errors:
<asp:DataList runat="se... | 0 | [
2,
1054,
5739,
15,
21206,
9015,
19,
13,
1,
2119,
79,
9577,
6554,
1,
60,
800,
3726,
3726,
31,
589,
749,
20,
107,
14,
249,
19,
28,
306,
9,
2328,
203,
9,
264,
9,
11374,
15,
31,
589,
8728,
21,
6294,
1251,
18768,
12097,
20,
21,
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... |
<q> element not identified in IE 6.0
===
I have used this in my page <q> Hai How r u </q>. showing the text in quotes
like "Hai How r u" this working fine FF but not in IE 6.0 .
Please let me know why this happens any solutions.
I dont want to parse like this "Hai How r u" in my html code. | 0 | [
2,
13,
1,
1251,
1,
4520,
52,
2889,
19,
13,
660,
400,
9,
387,
800,
3726,
3726,
31,
57,
147,
48,
19,
51,
2478,
13,
1,
1251,
1,
8349,
184,
761,
287,
13,
1,
118,
1251,
1,
9,
3187,
14,
1854,
19,
18901,
101,
13,
7,
8598,
184,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Cocoa 10.5 multithread app runs slowly
===
Got a Cocoa video capture app that works fine in 10.4. It uses NSThread to start the video capture driver. When app just started, video capture is very slow ( 1-2 fps). But after resize the UI window (or bring the window from background to foreground), video capture speed is ... | 0 | [
2,
24507,
332,
9,
264,
1889,
96,
10647,
4865,
1461,
1447,
800,
3726,
3726,
330,
21,
24507,
763,
3683,
4865,
30,
693,
1123,
19,
332,
9,
300,
9,
32,
2027,
13,
2172,
96,
10647,
20,
799,
14,
763,
3683,
2425,
9,
76,
4865,
114,
373,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Help! I can't see my other projects in Eclipse!
===
I've been using Eclipse with each project in a separate window by right clicking on a project and selecting Open in New Window. This worked fine, but suddenly... even when I close Eclipse and reopen it, the Navigator only shows one of the projects I was working on. H... | 0 | [
2,
448,
187,
31,
92,
22,
38,
196,
51,
89,
2314,
19,
11652,
187,
800,
3726,
3726,
31,
22,
195,
74,
568,
11652,
29,
206,
669,
19,
21,
1725,
1463,
34,
193,
25590,
27,
21,
669,
17,
20764,
368,
19,
78,
1463,
9,
48,
577,
1123,
15,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to use Single Quotes in Eval Format String
===
I've got a Repeater and it's SqlDatasource nested inside a Gridview TemplatedField.
The Repeater's datasource SelectCommand is set using the FormatString of an Eval from the Gridview.
The SelectCommand has a WHERE clause which is to compare a string.
Because ... | 0 | [
2,
184,
20,
275,
345,
18901,
19,
13,
62,
3377,
2595,
3724,
800,
3726,
3726,
31,
22,
195,
330,
21,
6830,
106,
17,
32,
22,
18,
4444,
255,
18768,
12097,
5618,
69,
572,
21,
7354,
4725,
22894,
43,
1109,
9,
14,
6830,
106,
22,
18,
10... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How can the master pty detect if a slave tty has exited?
===
I am using BSD style pty/tty pairs to implement running a sub shell. When the user exits the sub shell, how do I detect in the master process that this has occurred? I am using select(nfds, &read_fds, NULL, NULL, &timeout); with the master pty file descrip... | 0 | [
2,
184,
92,
14,
1129,
351,
1084,
9092,
100,
21,
5217,
13,
12007,
63,
16974,
60,
800,
3726,
3726,
31,
589,
568,
334,
18,
43,
1034,
351,
1084,
118,
12007,
7473,
20,
8713,
946,
21,
972,
3593,
9,
76,
14,
4155,
4350,
18,
14,
972,
3... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How can I get a list of the differences between two JavaScript object graphs?
===
I want to be able to get a list of all differences between two JavaScript object graphs, with the property names and values where the deltas occur.
For what it is worth, these objects are usually retrieved from the server as JSON and... | 0 | [
2,
184,
92,
31,
164,
21,
968,
16,
14,
4921,
128,
81,
8247,
8741,
3095,
7210,
18,
60,
800,
3726,
3726,
31,
259,
20,
44,
777,
20,
164,
21,
968,
16,
65,
4921,
128,
81,
8247,
8741,
3095,
7210,
18,
15,
29,
14,
1354,
1817,
17,
407... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Converting plist to binary plist
===
Apple strongly recommends using the binary plist format when reading large XML-based data sets into iPhone apps. Among their reasoning is the fact that XML parsing is very taxing on the iPhone. However, this requires that files residing on the remote web server be converted first.
... | 0 | [
2,
19583,
351,
5739,
20,
14171,
351,
5739,
800,
3726,
3726,
4037,
5020,
12360,
18,
568,
14,
14171,
351,
5739,
2595,
76,
1876,
370,
23504,
8,
1281,
1054,
3415,
77,
21024,
4865,
18,
9,
497,
66,
15543,
25,
14,
837,
30,
23504,
2017,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
does a php function exist that does the following in 1 line?
===
<pre>
function array_value_from_key($array,$key)
{
return !empty($array[$key]) ? $array[$key] : null;
}
</pre>
The reason I ask is because I have a class function that returns an array.
Instead of having to do
<pre>
$myArray = myClas... | 0 | [
2,
630,
21,
13,
26120,
1990,
3182,
30,
630,
14,
249,
19,
137,
293,
60,
800,
3726,
3726,
13,
1,
3515,
1,
1990,
7718,
1,
15165,
1,
2665,
1,
4237,
5,
4403,
8576,
93,
15,
4403,
4237,
6,
13,
1,
788,
13,
187,
26542,
5,
4403,
8576,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Configure webserver:80 to direct a domain name request to a different running webserver:8080 on same machine, different port?
===
I run Jetty6 yet gladly place Apache in the front if needs be.
I would like to have two webserver instances running on the same machine on different ports.
I would like the instance on ... | 0 | [
2,
1065,
15951,
2741,
10321,
106,
45,
2887,
20,
1744,
21,
4603,
204,
3772,
20,
21,
421,
946,
2741,
10321,
106,
45,
2887,
2887,
27,
205,
1940,
15,
421,
1295,
60,
800,
3726,
3726,
31,
485,
17341,
93,
379,
768,
3539,
102,
209,
17140,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Is there a speed difference between sqlite3 and mysql?
===
After much googling I have been wondering what the benefits/differences are between mysql and sqlite3. I am primarily hoping for a speed bump when moving my development database to my production database, although I imagine this will primarily happen in my cod... | 0 | [
2,
25,
80,
21,
1362,
2841,
128,
4444,
10601,
240,
17,
51,
18,
22402,
60,
800,
3726,
3726,
75,
212,
162,
5598,
802,
31,
57,
74,
5712,
98,
14,
5800,
118,
1115,
6866,
2940,
18,
50,
128,
51,
18,
22402,
17,
4444,
10601,
240,
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... |
Java RS-232 Communication on Windows
===
Does anyone know of a good Java API for controlling RS-232 devices in a WIN32 enviroment?
I've tried RXTX but they don't support RS232, only RS-485. | 0 | [
2,
8247,
13,
1224,
8,
20730,
3291,
27,
1936,
800,
3726,
3726,
630,
1276,
143,
16,
21,
254,
8247,
21,
2159,
26,
10106,
13,
1224,
8,
20730,
4690,
19,
21,
628,
3125,
21314,
661,
1130,
60,
31,
22,
195,
794,
13,
21141,
38,
396,
47,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0... |
PHP removing a character in a string
===
My php is weak and I'm trying to change this string:
http://www.site.com/backend.php?/c=crud&m=index&t=care
to be:
http://www.site.com/backend.php?c=crud&m=index&t=care
removing the / after the ? on backend.php. Any ideas on the best way to do this?
Thanks! | 0 | [
2,
13,
26120,
9096,
21,
925,
19,
21,
3724,
800,
3726,
3726,
51,
13,
26120,
25,
3910,
17,
31,
22,
79,
749,
20,
753,
48,
3724,
45,
7775,
6903,
6483,
9,
9097,
9,
960,
118,
1958,
2451,
9,
26120,
60,
118,
150,
3726,
13057,
43,
1569... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 generate an SSL certicate/ How to access a page with invalid certicate in FF3?
===
I am not able to access localhost https pages in firefox3. It gave the error
'Can't connect securely because the SSL protocol has been disabled.
(Error code: ssl_error_ssl_disabled)'
I enabled all the SSL2 related prefe... | 0 | [
2,
184,
107,
31,
7920,
40,
13,
18,
18,
255,
6173,
1786,
1373,
118,
184,
20,
1381,
21,
2478,
29,
16671,
6173,
1786,
1373,
19,
13,
2460,
240,
60,
800,
3726,
3726,
31,
589,
52,
777,
20,
1381,
375,
11694,
7775,
18,
4434,
19,
535,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What should these comparisons return?
===
I've got an application that's using string.compare(string,string) to sort some values. The thing I can't figure out is why "1022" compares as less than "10-23" and "10-23" compares as less than "1024".
Is there something specific to the value of "-" that causes this resul... | 0 | [
2,
98,
378,
158,
6050,
18,
788,
60,
800,
3726,
3726,
31,
22,
195,
330,
40,
3010,
30,
22,
18,
568,
3724,
9,
18415,
99,
5,
11130,
15,
11130,
6,
20,
2058,
109,
4070,
9,
14,
584,
31,
92,
22,
38,
1465,
70,
25,
483,
13,
7,
1036,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Iframe and clicks
===
Here is the scenario. There is content loaded in iframe from other site. I click to some link inside the iframe.
Is it possible to catch somehow outside the iframe what is that link? | 0 | [
2,
31,
8361,
17,
10840,
18,
800,
3726,
3726,
235,
25,
14,
12705,
9,
80,
25,
2331,
8572,
19,
31,
8361,
37,
89,
689,
9,
31,
10840,
20,
109,
3508,
572,
14,
31,
8361,
9,
25,
32,
938,
20,
2949,
3625,
719,
14,
31,
8361,
98,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Embedded projects and agile - Can/should you do this with hardware?
===
What are the ways that a hardware design group could use iterations and general agile practices to design boards?
Such as:
- Should the hardware group be integrated with the project team?
- How does the hardware group schedule iterati... | 0 | [
2,
12138,
2314,
17,
27475,
13,
8,
92,
118,
14941,
42,
107,
48,
29,
7610,
60,
800,
3726,
3726,
98,
50,
14,
2847,
30,
21,
7610,
704,
214,
110,
275,
23534,
18,
17,
297,
27475,
5242,
20,
704,
8755,
60,
145,
28,
45,
13,
8,
378,
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... |
Incite database failure for integration test
===
When running an integration test (Web Service talking to JDBC, in this case) how do you force the database to throw an error so that the resulting soap fault can be inspected?
I'm using Spring's Transactional Test Framework, so would be unreasonable to just issue a `... | 0 | [
2,
19,
10424,
6018,
2990,
26,
8078,
1289,
800,
3726,
3726,
76,
946,
40,
8078,
1289,
13,
5,
14113,
365,
1582,
20,
487,
43,
7229,
15,
19,
48,
610,
6,
184,
107,
42,
558,
14,
6018,
20,
3814,
40,
7019,
86,
30,
14,
2927,
6447,
4173,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Determine window visiblity in Vista
===
I want to determine if a certain window is visible to the user or hidden/occluded. In Windows XP I would use the GetClipBox() function and check for a NULLREGION or empty RECT return value. This worked perfectly fine, but on Windows Vista it does not work if another window is oc... | 0 | [
2,
3746,
1463,
9060,
49,
6287,
856,
19,
13520,
800,
3726,
3726,
31,
259,
20,
3746,
100,
21,
1200,
1463,
25,
4560,
20,
14,
4155,
54,
3689,
118,
2499,
10301,
7424,
9,
19,
1936,
23045,
31,
83,
275,
14,
164,
150,
6013,
5309,
5,
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... |
How to find two adjacent repeating digits and replace them with a single digit in Java?
===
I need to find two adjacent repeating digits and replace with a single one. How to do this in Java. Some examples:
123345 should be 12345
77433211 should be 74321 | 0 | [
2,
184,
20,
477,
81,
4209,
17389,
19076,
17,
3934,
105,
29,
21,
345,
15611,
19,
8247,
60,
800,
3726,
3726,
31,
376,
20,
477,
81,
4209,
17389,
19076,
17,
3934,
29,
21,
345,
53,
9,
184,
20,
107,
48,
19,
8247,
9,
109,
3770,
45,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0... |
Version control server performance when using CruiseControl (StarTeam or alternatives)
===
We are using CruiseControl with a StarTeam server and having problems with the StarTeam server crashing. We are wondering if we are hitting the server too hard. Across 3 CruiseControl machines and a total of about 30 projects,... | 0 | [
2,
615,
569,
8128,
956,
76,
568,
6581,
12898,
13,
5,
2265,
6575,
54,
2676,
18,
6,
800,
3726,
3726,
95,
50,
568,
6581,
12898,
29,
21,
778,
6575,
8128,
17,
452,
1716,
29,
14,
778,
6575,
8128,
14604,
9,
95,
50,
5712,
100,
95,
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... |
using jython and open office 2.4 to convert docs to pdf
===
I completed a python script using pyuno which successfully converted a document/ xls / rtf etc to a pdf.
Then I needed to update a mssql database, due to open office currently supporting python 2.3, it's ancientness, lacks support for decent database libs. S... | 0 | [
2,
568,
487,
93,
11570,
17,
368,
488,
172,
9,
300,
20,
8406,
9765,
18,
20,
13,
11124,
800,
3726,
3726,
31,
1066,
21,
20059,
3884,
568,
7103,
15762,
56,
3673,
3494,
21,
4492,
118,
993,
7532,
13,
118,
761,
11720,
2722,
20,
21,
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... |
Dynamic memory allocation in VB6
===
Is there such a thing?
I'm talking about something like a C++ `new` command i.e. allocation of memory which necessitates explicit releasing of the memory (or risk memory leaks).
I ask because I remember having to solve some GDI leak problems previously by setting forms/contr... | 0 | [
2,
7782,
1912,
16840,
19,
13,
20468,
379,
800,
3726,
3726,
25,
80,
145,
21,
584,
60,
31,
22,
79,
1582,
88,
301,
101,
21,
272,
20512,
13,
1,
2681,
1,
1202,
31,
9,
62,
9,
16840,
16,
1912,
56,
22486,
160,
14990,
8054,
16,
14,
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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.