unified_texts stringlengths 32 30.1k | OpenStatus_id int64 0 4 | input_ids list | token_type_ids list | attention_mask list |
|---|---|---|---|---|
c++ virtual inheritance ( diamond inheritance )
===
#include<iostream>
using namespace std;
class A
{
int a;
int b;
public:
void eat()
{
cout<<"A::eat()"<<endl;
}
};
class B: public A
{
public:
void eat()
{
cout<<"B::eat()"<<endl;
}
};
class C... | 0 | [
2,
272,
20512,
6599,
13852,
13,
5,
5313,
13852,
13,
6,
800,
3726,
3726,
6926,
22640,
1,
1963,
11260,
1,
568,
204,
5582,
354,
43,
73,
718,
21,
13,
1,
19,
38,
21,
73,
19,
38,
334,
73,
317,
45,
11364,
2749,
5,
6,
13,
1,
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... |
Improper Text data when export as Binary - Textmode.
===
I am generating a file which contain the following data like this.
78,45,New things,200, Number of columns,2.00,5
When i open the file in textpad with the textformat binary type.
0: FF FE 33 00 36 00 2C 80 00 20 30 10 4F 7.8.4.5,4.5,
In the data pa... | 0 | [
2,
22243,
1854,
1054,
76,
7487,
28,
14171,
13,
8,
1854,
15570,
9,
800,
3726,
3726,
31,
589,
13500,
21,
3893,
56,
3717,
14,
249,
1054,
101,
48,
9,
8372,
15,
2520,
15,
2681,
564,
15,
4621,
15,
234,
16,
7498,
15,
135,
9,
2032,
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 connect to a Oracle Database from Web Services Published on IIS
===
The situation is this:
1. Oracle database 10g on one server. Configured to accept connections.
2. Web service on different server (IIS), connecting to the database. This doesn't work.
3. Same web services running on the VS 2005 web se... | 0 | [
2,
184,
20,
6379,
20,
21,
15759,
6018,
37,
2741,
687,
467,
27,
595,
18,
800,
3726,
3726,
14,
1858,
25,
48,
45,
137,
9,
15759,
6018,
332,
263,
27,
53,
8128,
9,
28895,
20,
3440,
6760,
9,
172,
9,
2741,
365,
27,
421,
8128,
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... |
what do the sql server icons mean?
===
I'm using SQL Server 2008 Management studio viewing a 2005 server and have just added 2 users. For some reason they both have slightly differnt icons and I'm not sure why.
Anyone have a definitive list of the icons and their meaning or a link to microsoft's doc on it as I can... | 0 | [
2,
98,
107,
14,
4444,
255,
8128,
9801,
18,
884,
60,
800,
3726,
3726,
31,
22,
79,
568,
4444,
255,
8128,
570,
1097,
1120,
11244,
21,
812,
8128,
17,
57,
114,
905,
172,
3878,
9,
26,
109,
1215,
59,
156,
57,
1847,
11394,
2877,
9801,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
A list of common SqlException numbers?
===
What are the most common/useful SqlException numbers? I don't need the entire sysmessages table, just the typical or common errors you're likely to see in a data access layer so I can do sometihng like:
switch (exception.Number)
{
case (2)... | 0 | [
2,
21,
968,
16,
757,
4444,
255,
10066,
872,
2116,
60,
800,
3726,
3726,
98,
50,
14,
127,
757,
118,
3699,
1566,
4444,
255,
10066,
872,
2116,
60,
31,
221,
22,
38,
376,
14,
1078,
10315,
18,
3845,
18,
14465,
859,
15,
114,
14,
3874,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 refer to APP_Data from another project
===
I have the following project solution:
- There is a ASP.NET MVC Web
Application where I have a SQL
database (mdf file) in the App_Data directory.
- There is a class library where I
have some migrations from
[migratordotnet][1]. In my... | 0 | [
2,
184,
107,
31,
5017,
20,
4865,
1,
18768,
37,
226,
669,
800,
3726,
3726,
31,
57,
14,
249,
669,
4295,
45,
13,
8,
80,
25,
21,
28,
306,
9,
2328,
307,
8990,
2741,
3010,
113,
31,
57,
21,
4444,
255,
6018,
13,
5,
79,
8736,
3893,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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++ & C# InterOp ::: Using .NET class from native C++ using C++/CLI as a 'middleware'
===
I have to use a class/assembly made in C# .NET from native C++ application.
I suppose I need to make a wrapper class in C++/CLI, that would expose native methods in header files, but use .NET class as needed.
Thing that's... | 0 | [
2,
13,
45,
45,
45,
272,
20512,
279,
272,
5910,
1480,
2594,
13,
45,
45,
45,
568,
13,
9,
2328,
718,
37,
1275,
272,
20512,
568,
272,
20512,
118,
150,
1210,
28,
21,
13,
22,
17927,
5011,
22,
800,
3726,
3726,
31,
57,
20,
275,
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... |
Eager loading of lazy loaded entities in nHiberanate using ActiveRecord
===
I'm working on a project that has a rich object model with various sets of aggregate roots.
We're using the **Castle** stack (Monorail through to nHibernate with ActiveRecord).
We have marked the aggregate roots as lazy `[ActiveRecord(L... | 0 | [
2,
8705,
12797,
16,
16792,
8572,
12549,
19,
12109,
15191,
210,
1373,
568,
1348,
14953,
800,
3726,
3726,
31,
22,
79,
638,
27,
21,
669,
30,
63,
21,
2042,
3095,
1061,
29,
617,
3415,
16,
8544,
5163,
9,
95,
22,
99,
568,
14,
13,
1409,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
One page of entire site has invisible elements untill resized or scrolled in IE
===
One of my pages of my site is behaving really weird in IE6.
One element is ignoring its background color and border.
The other element is invisible (textcolor same as foreground color?)
The elements are not always showing this... | 0 | [
2,
53,
2478,
16,
1078,
689,
63,
8874,
2065,
163,
255,
302,
6560,
54,
12159,
69,
19,
13,
660,
800,
3726,
3726,
53,
16,
51,
4434,
16,
51,
689,
25,
44,
13693,
510,
5455,
19,
13,
660,
379,
9,
53,
4520,
25,
9321,
82,
2395,
1665,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Storing a static (class) attribute in a relational database
===
Suppose you store instances of a class in a relational table. How would you go about persisting a static attribute of that class? For example:
class WebSiteUser {
private static $common_homepage_content;
private $username;
... | 0 | [
2,
25615,
21,
12038,
13,
5,
1898,
6,
35,
14755,
19,
21,
5827,
192,
6018,
800,
3726,
3726,
5787,
42,
1718,
13946,
16,
21,
718,
19,
21,
5827,
192,
859,
9,
184,
83,
42,
162,
88,
22084,
68,
21,
12038,
35,
14755,
16,
30,
718,
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... |
multimap in C# 3.0
===
I need a n equivalent to c++'s std::multipmap<K, V, Comp, Alloc> in C-sharp. Does it exist in the standard library? | 0 | [
2,
1889,
15022,
19,
272,
5910,
203,
9,
387,
800,
3726,
3726,
31,
376,
21,
13,
103,
4602,
20,
272,
20512,
22,
18,
354,
43,
45,
45,
21531,
306,
15022,
1,
197,
15,
566,
15,
6479,
15,
65,
2499,
1,
19,
272,
8,
23646,
9,
630,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
How do I get the whole text of an element using ElementTree?
===
That is, all text and subtags, without the tag of an element itself?
Having
<p>blah <b>bleh</b> blih</p>
I want
blah <b>bleh</b> blih
element.text returns "blah " and etree.tostring(element) returns:
<p>blah <b>bleh</b> bli... | 0 | [
2,
184,
107,
31,
164,
14,
979,
1854,
16,
40,
4520,
568,
4520,
8101,
60,
800,
3726,
3726,
30,
25,
15,
65,
1854,
17,
972,
8628,
18,
15,
366,
14,
3383,
16,
40,
4520,
1145,
60,
452,
13,
1,
306,
1,
220,
9396,
13,
1,
220,
1,
285... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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# .NET Convert a JPEG Image into a Bitmap structure
===
I have a JPEG "image" (actually a BLOB in a database) which I want to import/convert into a "Bitmap" structure in memory. The reason is that I use a third party library which is unable to work with JPEG images and I need to pass an uncompressed bitmap (as a poin... | 0 | [
2,
272,
5910,
13,
9,
2328,
8406,
21,
487,
20427,
1961,
77,
21,
1142,
15022,
1411,
800,
3726,
3726,
31,
57,
21,
487,
20427,
13,
7,
22039,
7,
13,
5,
15661,
21,
334,
10904,
19,
21,
6018,
6,
56,
31,
259,
20,
9010,
118,
1126,
8122,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Debug a start page in vs2008 with query string as startup parameter?
===
Does anyone know how to set up a default querystring to an asp.net webform which is set up as a start up page? | 0 | [
2,
121,
16254,
21,
799,
2478,
19,
4611,
2753,
29,
25597,
3724,
28,
20205,
18906,
60,
800,
3726,
3726,
630,
1276,
143,
184,
20,
309,
71,
21,
12838,
25597,
11130,
20,
40,
28,
306,
9,
2328,
2741,
4190,
56,
25,
309,
71,
28,
21,
799,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
How to provide a legally sound "terms of use" for a web application
===
Would you say that hiring a lawyer to construct a legally sound "terms of use", or disclaimer, for your web application is absolutely necessary?
Or would you use some other method, perhaps steal... erm... *loan* what someone else has done alrea... | 0 | [
2,
184,
20,
1181,
21,
10524,
646,
13,
7,
3964,
18,
16,
275,
7,
26,
21,
2741,
3010,
800,
3726,
3726,
83,
42,
395,
30,
16867,
21,
3672,
20,
6960,
21,
10524,
646,
13,
7,
3964,
18,
16,
275,
7,
15,
54,
1460,
22661,
106,
15,
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... |
How to get browser type and version from within an applet?
===
Is is possible to query the current browser from within an applet?
I would like to know if the current browser is IE6 or IE7. | 0 | [
2,
184,
20,
164,
16495,
1001,
17,
615,
37,
363,
40,
4037,
38,
60,
800,
3726,
3726,
25,
25,
938,
20,
25597,
14,
866,
16495,
37,
363,
40,
4037,
38,
60,
31,
83,
101,
20,
143,
100,
14,
866,
16495,
25,
13,
660,
379,
54,
13,
660,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
converting string to date object
===
I am parsing xml file. In this file there is one tag containing date string <pre> "2008-11-10T05:51:33Z" </pre>
And I want convert this string in to date object.
is there any body who will help me...
| 0 | [
2,
19583,
3724,
20,
1231,
3095,
800,
3726,
3726,
31,
589,
2017,
18,
68,
23504,
3893,
9,
19,
48,
3893,
80,
25,
53,
3383,
3503,
1231,
3724,
13,
1,
3515,
1,
13,
7,
2753,
8,
1306,
8,
1036,
38,
4071,
23090,
22169,
380,
7,
13,
1,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Surprising SQL speed increase
===
I’ve just found out that the execution plan performance between the following two select statements are massively different:
select * from your_large_table
where LEFT(some_string_field, 4) = '2505'
select * from your_large_table
where some_string_field like... | 0 | [
2,
12891,
4444,
255,
1362,
1839,
800,
3726,
3726,
31,
1,
195,
114,
216,
70,
30,
14,
5769,
944,
956,
128,
14,
249,
81,
5407,
9015,
50,
3787,
102,
421,
45,
5407,
1637,
37,
154,
1,
11312,
1,
5924,
113,
225,
5,
3220,
1,
11130,
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... |
Creating xml from with java
===
I need your expertise once again. I have a java class that searches a directory for xml files (displays the files it finds in the eclipse console window), applies the specified xslt to these and sends the output to a directory.
What I want to do now is create an xml containing the fi... | 0 | [
2,
2936,
23504,
37,
29,
8247,
800,
3726,
3726,
31,
376,
154,
12303,
382,
188,
9,
31,
57,
21,
8247,
718,
30,
19994,
21,
16755,
26,
23504,
6488,
13,
5,
2906,
5438,
18,
14,
6488,
32,
3797,
19,
14,
11652,
8650,
1463,
6,
15,
13169,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
RegEx and matching codes right to left
===
Stuggling a little bit with the RegEx, I've got 4 codes in a string
CODE4:CODE3:CODE2:CODE1
each code is optional apart from CODE1
So I could have ab:bc:de:fg
or
bc::fg
of
ab:::fg
In each case of the above CODE1 = fg dnd for the dear life of me I can'... | 0 | [
2,
7953,
1706,
17,
10120,
11358,
193,
20,
225,
800,
3726,
3726,
354,
21606,
802,
21,
265,
1142,
29,
14,
7953,
1706,
15,
31,
22,
195,
330,
268,
11358,
19,
21,
3724,
1797,
300,
45,
9375,
240,
45,
9375,
135,
45,
9375,
165,
206,
179... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
System.Web.Cache, Session level or Application level
===
Random quick question.
The System.Web.Cache class, at what level is the information stored? On a per session level or whole application level?
Thanks | 0 | [
2,
329,
9,
14113,
9,
793,
2569,
15,
3723,
662,
54,
3010,
662,
800,
3726,
3726,
5477,
2231,
1301,
9,
14,
329,
9,
14113,
9,
793,
2569,
718,
15,
35,
98,
662,
25,
14,
676,
8214,
60,
27,
21,
416,
3723,
662,
54,
979,
3010,
662,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
What is an Empty interface used for
===
I am looking at nServiceBus and came over this interface
namespace NServiceBus
{
public interface IMessage
{
}
}
What is the use of an empty interface? | 0 | [
2,
98,
25,
40,
2424,
6573,
147,
26,
800,
3726,
3726,
31,
589,
699,
35,
13,
103,
11449,
3822,
17,
281,
84,
48,
6573,
204,
5582,
13,
103,
11449,
3822,
13,
1,
317,
6573,
31,
3845,
18,
1303,
13,
1,
13,
1,
13,
1,
98,
25,
14,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
How to set icc color profile in Java and change colorspace
===
First, I would like to say I'm not an image processing specialist.
Well, I would like to convert image colorspace from one to another, and change icc color profile at the same time. I managed to do it using JMagick (the ImageMagick Java port), but no way ... | 0 | [
2,
184,
20,
309,
18946,
1665,
5296,
19,
8247,
17,
753,
1665,
5582,
800,
3726,
3726,
64,
15,
31,
83,
101,
20,
395,
31,
22,
79,
52,
40,
1961,
5511,
8084,
9,
134,
15,
31,
83,
101,
20,
8406,
1961,
1665,
5582,
37,
53,
20,
226,
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... |
oracle materialized view refresh time
===
anyone able to tell me how often a materialized view is set to refresh with the following setting plz?
REFRESH FORCE ON DEMAND START WITH sysdate+0 NEXT (round(sysdate) + 1/24) + 1
i think i read it as every hour but i'm not sure | 0 | [
2,
15759,
27263,
1418,
24905,
85,
800,
3726,
3726,
1276,
777,
20,
494,
55,
184,
478,
21,
27263,
1418,
25,
309,
20,
24905,
29,
14,
249,
2697,
12443,
380,
60,
24905,
558,
27,
3888,
799,
29,
10315,
18,
8209,
2430,
387,
328,
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... |
efficient generic enumerator and refractoring
===
I am working with a generic data structure, say MyGeneric<Type>.
there is a case where I have to enumerate all the values generic holds
The code I am trying to do.
for ( all the keys in myGeneric ) {
// do lot of stuff here
}
Now the situati... | 0 | [
2,
8243,
12733,
26940,
248,
17,
302,
15891,
2153,
68,
800,
3726,
3726,
31,
589,
638,
29,
21,
12733,
1054,
1411,
15,
395,
51,
17083,
596,
1,
4474,
1,
9,
80,
25,
21,
610,
113,
31,
57,
20,
26940,
62,
65,
14,
4070,
12733,
2763,
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... |
Linq2Sql: Manage DataContext
===
In the following code doesn't work as
public void Foo()
{
CompanyDataContext db = new CompanyDataContext();
Client client = (select c from db.Clients ....).Single();
Bar(client);
}
public void Bar(Client client)
{
Com... | 0 | [
2,
6294,
1251,
135,
18,
22402,
45,
4705,
1054,
1126,
11969,
800,
3726,
3726,
19,
14,
249,
1797,
1437,
22,
38,
170,
28,
317,
11364,
4310,
111,
5,
6,
13,
1,
237,
18768,
1126,
11969,
13,
9007,
800,
78,
237,
18768,
1126,
11969,
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... |
What is the best way to get to properly get to know the Rails framework?
===
I have been doing two projects on Rails which have worked out quite nicely but have in the process reinvented the wheel, running (and hot) water and painkillers which are as I have learned subsequently already present in the framework.
So ... | 4 | [
2,
98,
25,
14,
246,
161,
20,
164,
20,
7428,
164,
20,
143,
14,
2240,
18,
6596,
60,
800,
3726,
3726,
31,
57,
74,
845,
81,
2314,
27,
2240,
18,
56,
57,
577,
70,
1450,
24050,
47,
57,
19,
14,
953,
7102,
6645,
69,
14,
3556,
15,
9... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What is the Action Design Pattern?
===
What is the Action Design Pattern, I haven't heard of it before? I am suspecting it is the same as the [Command Design pattern][1] [wikipedia] but I can't find any resources on it.
[1]: http://en.wikipedia.org/wiki/Command_pattern | 0 | [
2,
98,
25,
14,
1028,
704,
3732,
60,
800,
3726,
3726,
98,
25,
14,
1028,
704,
3732,
15,
31,
2933,
22,
38,
752,
16,
32,
115,
60,
31,
589,
7551,
68,
32,
25,
14,
205,
28,
14,
636,
16239,
704,
3732,
500,
2558,
165,
500,
636,
17375... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 PIL to work when built on mingw/cygwin?
===
I'm trying to build PIL 1.1.6 against cygwin or mingw. When I do either the build works but I get the following failure when trying to save files.
<pre>
$ python25
Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)] on
win32
Type ... | 0 | [
2,
184,
107,
31,
164,
8483,
20,
170,
76,
392,
27,
12069,
499,
118,
2731,
263,
4181,
60,
800,
3726,
3726,
31,
22,
79,
749,
20,
1895,
8483,
137,
9,
165,
9,
379,
149,
6728,
263,
4181,
54,
12069,
499,
9,
76,
31,
107,
694,
14,
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... |
Mono performance
===
Are there any performance benchmarks for Mono compared to say Java in GNU/Linux?
Have you ever tested Mono's performance? | 0 | [
2,
4129,
956,
800,
3726,
3726,
50,
80,
186,
956,
25324,
18,
26,
4129,
2428,
20,
395,
8247,
19,
26092,
118,
1226,
7147,
60,
57,
42,
462,
7631,
4129,
22,
18,
956,
60,
3,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
How to do this - python dictionary traverse and search
===
I have nested dictionaries:
{'somekey':'somevalue'
'someotherkey': someothervalue, ... | 0 | [
2,
184,
20,
107,
48,
13,
8,
20059,
9186,
15810,
17,
2122,
800,
3726,
3726,
31,
57,
5618,
69,
29783,
45,
13,
1,
22,
3220,
4237,
22,
45,
22,
3220,
15165,
22,
13,
22,
3220,
9539,
4237,
22,
45,
109,
9539,
15165,
15,
13,
22,
4237,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
A generic singleton
===
What do you guys think about this for a generic singleton?
using System;
using System.Reflection;
// Use like this
/*
public class Highlander : Singleton<Highlander>
{
private Highlander()
{
Console.WriteLine("There can be on... | 0 | [
2,
21,
12733,
345,
444,
800,
3726,
3726,
98,
107,
42,
2776,
277,
88,
48,
26,
21,
12733,
345,
444,
60,
568,
329,
73,
568,
329,
9,
27977,
872,
73,
12894,
275,
101,
48,
13,
118,
2483,
317,
718,
11140,
106,
13,
45,
345,
444,
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... |
Microsoft Office PIA and how to reference and build correctly from WebApp
===
All,
I am currently trying to build on teamcity, which uses Microsoft.Office.Interop dll. This will build and work fine locally as I have office installed, however when trying to build it on TeamCity it fails as it has no reference.
... | 0 | [
2,
7099,
488,
13009,
17,
184,
20,
2801,
17,
1895,
12044,
37,
2741,
7753,
800,
3726,
3726,
65,
15,
31,
589,
871,
749,
20,
1895,
27,
173,
5788,
15,
56,
2027,
7099,
9,
17047,
9,
6280,
2594,
13,
43,
211,
9,
48,
129,
1895,
17,
170,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Encrypting externally stored App blocks with exportable Key Provider
===
I have been trying for quite a while to figure out how to encrypt Application blocks that are stored in an external file called dev_entlib.config
I can see in entlib (4.1) that it's possible to use the default protection providers to encrypt t... | 0 | [
2,
1957,
11435,
68,
4886,
102,
8214,
4865,
5198,
29,
7487,
579,
1246,
11747,
800,
3726,
3726,
31,
57,
74,
749,
26,
1450,
21,
133,
20,
1465,
70,
184,
20,
1957,
11435,
3010,
5198,
30,
50,
8214,
19,
40,
4886,
3893,
227,
9664,
1,
22... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How do I limit the result set being pulled back by NHibernate's GetByCriteria?
===
I have an NHibernate Dao..lets call it MyClassDao for want of a better name.
I am writing the following code.
MyClassDao myDao = new MyClassDao();
var values = myDao.GetByCriteria(Restrictions.Eq("Status", someStatu... | 0 | [
2,
184,
107,
31,
4496,
14,
829,
309,
142,
881,
97,
34,
12109,
15191,
8820,
22,
18,
164,
779,
16063,
9605,
60,
800,
3726,
3726,
31,
57,
40,
12109,
15191,
8820,
13,
17104,
9,
9,
11045,
645,
32,
51,
1898,
17104,
26,
259,
16,
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... |
Join Table On Self using Doctrine (DQL)
===
I'm attempting to join a table on itself using doctrine's DQL. The scenario is:
I have a table of product attribute values at is linked to a products table via a reference table. The product attribute values are to serve as filters on the products, therefore, the produ... | 0 | [
2,
1865,
859,
27,
1119,
568,
7521,
13,
5,
43,
22402,
6,
800,
3726,
3726,
31,
22,
79,
6314,
20,
1865,
21,
859,
27,
1145,
568,
7521,
22,
18,
13,
43,
22402,
9,
14,
12705,
25,
45,
31,
57,
21,
859,
16,
2374,
35,
14755,
4070,
35,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Iterate through the items of an MFC CComboBox
===
I need to iterate through the items (strings) in a CComboBox to check which string is the longest. How can I get each item in the list? | 0 | [
2,
32,
106,
1373,
120,
14,
3755,
16,
40,
307,
7061,
13,
18264,
12536,
5309,
800,
3726,
3726,
31,
376,
20,
32,
106,
1373,
120,
14,
3755,
13,
5,
11130,
18,
6,
19,
21,
13,
18264,
12536,
5309,
20,
2631,
56,
3724,
25,
14,
5646,
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,
0,
0,
0,
0,
0,
0,
0... |
Architecture Critique: SQL Server FOR XML into XSLT for Rich HTML Interface
===
Can I get some constructive feedback about the following architecture? What are the pro’s and con’s of such a system when compared with a conventional 3-tier ASP.NET architecture?
**Simplified Architecture Summary:**
Return XML from ... | 0 | [
2,
2607,
14791,
45,
4444,
255,
8128,
26,
23504,
77,
993,
18,
255,
38,
26,
2042,
13,
15895,
6573,
800,
3726,
3726,
92,
31,
164,
109,
13,
24274,
13111,
88,
14,
249,
2607,
60,
98,
50,
14,
895,
1,
18,
17,
1065,
1,
18,
16,
145,
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... |
Free Font Editor
===
For a small project I need to create a font. Is there a good free font editor available? I want to be able to start from an existing font and do some minor modifications. I welcome suggestions for any platform/OS. | 0 | [
2,
551,
9978,
1835,
800,
3726,
3726,
26,
21,
284,
669,
31,
376,
20,
1600,
21,
9978,
9,
25,
80,
21,
254,
551,
9978,
1835,
904,
60,
31,
259,
20,
44,
777,
20,
799,
37,
40,
3149,
9978,
17,
107,
109,
1689,
13922,
9,
31,
5575,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Using a ModelBinder to get an object by an ID
===
I have multiple controller actions that takes an id
public ActionResult Get(int? id) {
...
}
public ActionResult Delete(int id) {
...
}
public JsonResult GetJson(int? id) {
...
}
I'm thinking its best practice to us... | 0 | [
2,
568,
21,
1061,
24200,
20,
164,
40,
3095,
34,
40,
4924,
800,
3726,
3726,
31,
57,
1886,
9919,
3078,
30,
1384,
40,
4924,
317,
1028,
29955,
164,
5,
6391,
60,
4924,
6,
13,
1,
13,
9,
9,
9,
13,
1,
317,
1028,
29955,
27448,
5,
639... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
x86: Possible to debug-break when a particular pointer-to-string is pushed on the stack?
===
I am debugging a third-party DLL for which I don't have the source code. This DLL maintains a pool of strings. I want to trap the earliest occurrence at which one of these strings is passed into a function...any function at al... | 0 | [
2,
993,
3274,
45,
938,
20,
121,
16254,
8,
12008,
76,
21,
1498,
454,
106,
8,
262,
8,
11130,
25,
2007,
27,
14,
7566,
60,
800,
3726,
3726,
31,
589,
121,
16254,
2762,
21,
422,
8,
9635,
13,
43,
211,
26,
56,
31,
221,
22,
38,
57,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 know you have logged in a Sharepoint WebPage?
===
We use Sharepoint as CMS for our webpages at work. I know how to create controls that can be only visible with:
<Sharepoint:SPSecurityTrimmedControl ID="SPSecurityTrimmedControl1" runat="server" PermissionsString="AddAndCustomize... | 0 | [
2,
184,
107,
31,
143,
42,
57,
13,
19287,
19,
21,
1891,
3132,
2741,
6486,
60,
800,
3726,
3726,
95,
275,
1891,
3132,
28,
2390,
18,
26,
318,
2741,
6486,
18,
35,
170,
9,
31,
143,
184,
20,
1600,
8671,
30,
92,
44,
104,
4560,
29,
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... |
msaccess.exe opens while trying to release the object
===
I am opening a MS Asscess DB which is Password protected in vb.net using the folloing code.
**Try
oDB = oDBEngine.OpenDatabase(Name:=strFullFileName, Options:=False, ReadOnly:=False, Connect:="")
Catch ex As Exce... | 0 | [
2,
4235,
20604,
9,
1706,
62,
8965,
133,
749,
20,
830,
14,
3095,
800,
3726,
3726,
31,
589,
1214,
21,
4235,
28,
18,
5052,
18,
13,
9007,
56,
25,
20884,
3803,
19,
13,
20468,
9,
2328,
568,
14,
8938,
1415,
68,
1797,
9,
13,
1409,
584... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Downcasting in Java
===
Upcasting is allowed in Java, however downcasting gives a compile error. The compile error can be removed by adding a cast but would anyway break at the runtime. In this case why Java allows downcasting if it cannot be executed at the runtime? Is there any practical use for this concept? | 0 | [
2,
125,
6146,
68,
19,
8247,
800,
3726,
3726,
71,
6146,
68,
25,
1159,
19,
8247,
15,
207,
125,
6146,
68,
2352,
21,
26561,
7019,
9,
14,
26561,
7019,
92,
44,
1974,
34,
4721,
21,
1325,
47,
83,
2774,
1442,
35,
14,
485,
891,
9,
19,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Best way to simulate "group by" from bash
===
Suppose you have a file that contains IP addresses, one address in each line:
10.0.10.1
10.0.10.1
10.0.10.3
10.0.10.2
10.0.10.1
You need a shell script that counts for each IP address how many times it appears in the file. For the previous inp... | 0 | [
2,
246,
161,
20,
24969,
13,
7,
8024,
34,
7,
37,
13158,
800,
3726,
3726,
5787,
42,
57,
21,
3893,
30,
1588,
15735,
12636,
15,
53,
3218,
19,
206,
293,
45,
332,
9,
387,
9,
1036,
9,
165,
332,
9,
387,
9,
1036,
9,
165,
332,
9,
38... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Better interface for file downloads and uploads from a web page?
===
I have what seems like a typical usage scenario for users downloading, editing and uploading a document from a web page.
1. User clicks a link to download a document
2. User edits downloaded file
3. User saves the file
4. User goes back to the ... | 0 | [
2,
574,
6573,
26,
3893,
7121,
18,
17,
71,
8294,
18,
37,
21,
2741,
2478,
60,
800,
3726,
3726,
31,
57,
98,
2206,
101,
21,
3874,
7514,
12705,
26,
3878,
7121,
68,
15,
9510,
17,
71,
16866,
21,
4492,
37,
21,
2741,
2478,
9,
137,
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... |
How do I disable hotkeys in Dojo StackContainer
===
I am using Dojo 1.2 to implement some functionality on my customer's webpage. One of the widgets I use is the dijit.layout.TabContainer, which inherits StackContainer. The StackContainer subscribes on keyboard events and creates a few hotkeys, like arrow left to move... | 0 | [
2,
184,
107,
31,
1460,
579,
1047,
4237,
18,
19,
107,
1636,
7566,
1126,
5851,
106,
800,
3726,
3726,
31,
589,
568,
107,
1636,
137,
9,
135,
20,
8713,
109,
18548,
27,
51,
7705,
22,
18,
2741,
6486,
9,
53,
16,
14,
4807,
43,
3060,
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... |
In SQLServer, why doesn't granting object permissions add the user to db properly?
===
This is my setup:
- SQL server 2005
- UserA already setup as user on the server but not on databaseA.
- GRANT Execute ON [GetOrders] TO [UserA] AS [dbo]
As you can see, i have missed out a step. I haven't added UserA ... | 0 | [
2,
19,
4444,
255,
10321,
106,
15,
483,
1437,
22,
38,
18599,
3095,
5572,
18,
3547,
14,
4155,
20,
13,
9007,
7428,
60,
800,
3726,
3726,
48,
25,
51,
18161,
45,
13,
8,
4444,
255,
8128,
812,
13,
8,
275,
525,
614,
18161,
28,
4155,
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... |
Pixel level 2D Graphics in Silverlight
===
I am trying to port a WebForms app to Silverlight, this application is using the GDI Graphics class to draw polygons to a in-memory bitmap, it will then do pixel by pixel comparisons so I need access to the pixel buffer.
Example:
<pre>
Graphics g = Graphics.FromImage... | 0 | [
2,
18146,
662,
172,
43,
8351,
19,
1172,
3130,
800,
3726,
3726,
31,
589,
749,
20,
1295,
21,
2741,
4190,
18,
4865,
20,
1172,
3130,
15,
48,
3010,
25,
568,
14,
489,
1115,
8351,
718,
20,
2003,
21309,
18,
20,
21,
19,
8,
790,
5171,
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... |
The C++ .NET programmer's bookshelf
===
I'm buying a lot of books, but I feel I don't hit the good ones. So, I leave it up to you to suggest what books a C++ .NET programmer should have in the bookshelf.
Preferably it should contain books with level from novice to expert level, and I believe it should contain more... | 0 | [
2,
14,
272,
20512,
13,
9,
2328,
17968,
22,
18,
964,
9180,
410,
800,
3726,
3726,
31,
22,
79,
9459,
21,
865,
16,
964,
15,
47,
31,
583,
31,
221,
22,
38,
770,
14,
254,
53,
18,
9,
86,
15,
31,
767,
32,
71,
20,
42,
20,
5601,
98... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
JSON syntax for propriety names
===
What is the correct syntax to create objects in javascript that will work accross the majoritiy of web browsers (by that I mean : IE 6+, Firefox 2+, Opera 9+ )
Is this valid
<pre><code>
var a={ "class": "Person",
"name": "William Shakespeare",
"birthday": -12... | 0 | [
2,
487,
528,
22649,
26,
9476,
3272,
1084,
1817,
800,
3726,
3726,
98,
25,
14,
4456,
22649,
20,
1600,
3916,
19,
8247,
8741,
30,
129,
170,
21,
150,
7703,
14,
394,
8793,
93,
16,
2741,
16495,
18,
13,
5,
779,
30,
31,
884,
13,
45,
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... |
Python: single instance of program
===
So, is there a Pythonic way to have only one instance of program running?
The only reasonable solution I've come up with is trying to run it as a server on some port, then second program trying to cind to same port - fails. But it's not really a great idea, maybe there's some... | 0 | [
2,
20059,
45,
345,
4851,
16,
625,
800,
3726,
3726,
86,
15,
25,
80,
21,
20059,
596,
161,
20,
57,
104,
53,
4851,
16,
625,
946,
60,
14,
104,
9954,
4295,
31,
22,
195,
340,
71,
29,
25,
749,
20,
485,
32,
28,
21,
8128,
27,
109,
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... |
Looking for info on custom drawing of interface components (Cocoa)
===
It seems like more and more OS X apps these days are doing all kinds of fancy drawing stuff for custom controls. Apps like Twitterific, Things, EventBox, Versions just to name a few....
So basically I'm looking for any information on how to get ... | 0 | [
2,
699,
26,
15404,
27,
5816,
3533,
16,
6573,
5090,
13,
5,
716,
716,
58,
6,
800,
3726,
3726,
32,
2206,
101,
91,
17,
91,
13,
759,
993,
4865,
18,
158,
509,
50,
845,
65,
8623,
16,
12251,
3533,
3217,
26,
5816,
8671,
9,
4865,
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... |
Can you simplify this algorithm?
===
One for the mathematicians. This has gone around the office and we want to see who can come up with a better optimised version.
(((a+p) <= b) && (a == 0 || a > 1) && (b >= p)) && ((b - (a + p) == 0) || (b - (a + p) > 1)) | 0 | [
2,
92,
42,
28257,
48,
9083,
60,
800,
3726,
3726,
53,
26,
14,
12388,
18,
9,
48,
63,
1042,
140,
14,
488,
17,
95,
259,
20,
196,
72,
92,
340,
71,
29,
21,
574,
19259,
2541,
615,
9,
13,
5,
5,
5,
58,
2430,
306,
6,
13,
1,
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... |
Output Response in ANSI Characters format in ASP.net
===
I am writing the data to the output browser using Response.write(some byte arrary)
Response.ContentType = "application/ms-excel";
Response.OutputStream.Write(report, 0, report.Length);
Response.Flush();
Respo... | 0 | [
2,
5196,
1627,
19,
40,
18,
49,
1766,
2595,
19,
28,
306,
9,
2328,
800,
3726,
3726,
31,
589,
1174,
14,
1054,
20,
14,
5196,
16495,
568,
1627,
9,
23716,
5,
3220,
34,
591,
13,
8576,
622,
6,
1627,
9,
25424,
4474,
800,
13,
7,
2552,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Are stored procedures a good idea when the server isn't under your control?
===
Are there any ways to secure stored procedure consistency at the software level, so as to be sure that they're going to do what they're expected to do?
I'm reluctant to use sprocs because reading and modifying them is so easy as long as... | 0 | [
2,
50,
8214,
8876,
21,
254,
882,
76,
14,
8128,
2532,
22,
38,
131,
154,
569,
60,
800,
3726,
3726,
50,
80,
186,
2847,
20,
4315,
8214,
7004,
22061,
35,
14,
2306,
662,
15,
86,
28,
20,
44,
562,
30,
59,
22,
99,
228,
20,
107,
98,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 save XPathExpression result to separate XML with ancestor structure?
===
I'm parsing big XML file with XPathExpression selection for some nodes existing at various depth levels.
What is the easiest way to export selected nodes to separate XML file, preserving all direct-ancestors nodes (and their attributes)? C... | 0 | [
2,
184,
2079,
993,
8353,
28993,
829,
20,
1725,
23504,
29,
14628,
1411,
60,
800,
3726,
3726,
31,
22,
79,
2017,
18,
68,
580,
23504,
3893,
29,
993,
8353,
28993,
3155,
26,
109,
16272,
3149,
35,
617,
5204,
2216,
9,
98,
25,
14,
27237,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
invert new language, syntax check?
===
i been thinking of a new programming language. Before trying to implement it i would like to check the syntax of code to see if there is much ambiguity. (i find it funny that its possibly to do var++++ to a class)
| 0 | [
2,
19,
8122,
78,
816,
15,
22649,
2631,
60,
800,
3726,
3726,
31,
74,
1440,
16,
21,
78,
3143,
816,
9,
115,
749,
20,
8713,
32,
31,
83,
101,
20,
2631,
14,
22649,
16,
1797,
20,
196,
100,
80,
25,
212,
28335,
9,
13,
5,
49,
477,
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,
0,
0... |
Flex Tooltip Positioning in a Resizeable App
===
Our Flex app automatically resizes with the browser window, we've addressed a whole bunch of scaling issues quite easily but one that remains is tooltips. They show in the wrong location on screen, not being scaled properly based on the window size. Since tooltips are p... | 0 | [
2,
14409,
5607,
10169,
649,
68,
19,
21,
302,
10454,
579,
4865,
800,
3726,
3726,
318,
14409,
4865,
7499,
10719,
13569,
29,
14,
16495,
1463,
15,
95,
22,
195,
7832,
21,
979,
7653,
16,
26829,
1549,
1450,
2351,
47,
53,
30,
1678,
25,
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... |
What is the best way to measure execution time of a function?
===
Obviously I can do and `DateTime.Now.After` - `DateTime.Now.Before` but there must be something more sophisticated.
Any tips appreciated. | 0 | [
2,
98,
25,
14,
246,
161,
20,
4058,
5769,
85,
16,
21,
1990,
60,
800,
3726,
3726,
4409,
31,
92,
107,
17,
13,
1,
8209,
891,
9,
1387,
9,
5162,
1,
13,
8,
13,
1,
8209,
891,
9,
1387,
9,
12750,
1,
47,
80,
491,
44,
301,
91,
13388... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Zend Zend_File_Transfer_Adapter_Http renaming question
===
I've got a question about renaming a file after it's been uploaded in Zend. I don't know where to put the Rename Filter. Here's what I've got. I've tried moving things around, but I'm lost. Currently it does upload the file to my photos folder, but it doesn't ... | 0 | [
2,
10526,
43,
10526,
43,
1,
16877,
1,
7028,
2407,
1,
27576,
106,
1,
21127,
25934,
1301,
800,
3726,
3726,
31,
22,
195,
330,
21,
1301,
88,
25934,
21,
3893,
75,
32,
22,
18,
74,
23782,
19,
10526,
43,
9,
31,
221,
22,
38,
143,
113,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Are there any timeframe selector web controls for .NET?
===
I would like to use a timeframe selector in a web page, that is optimized for touchscreen usage. (e.g. large buttons).
I am actualy looking for a control that mimics iPhone UI for selecting a time frame or a time interval, say from 10:30 AM to 15:00 PM. | 0 | [
2,
50,
80,
186,
85,
8361,
23946,
2741,
8671,
26,
13,
9,
2328,
60,
800,
3726,
3726,
31,
83,
101,
20,
275,
21,
85,
8361,
23946,
19,
21,
2741,
2478,
15,
30,
25,
22864,
43,
26,
1723,
7187,
7514,
9,
13,
5,
62,
9,
263,
9,
370,
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 can i change database encoding for a PostgreSQL database using sql or phpPgAdmin?
===
How can i change database encoding for a PostgreSQL database using sql or phpPgAdmin? | 0 | [
2,
184,
92,
31,
753,
6018,
19608,
26,
21,
678,
6879,
18,
22402,
6018,
568,
4444,
255,
54,
13,
26120,
9623,
1283,
2160,
60,
800,
3726,
3726,
184,
92,
31,
753,
6018,
19608,
26,
21,
678,
6879,
18,
22402,
6018,
568,
4444,
255,
54,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
.NET method to round a number up to the nearest multiple of another number?
===
I'm looking for a method that can round a number *up* to the nearest multiple of another. This is similar Quantization.
Eg. If I want to round 81 up to the nearest multiple of 20, it should return 100.
Is there a method built-in me... | 0 | [
2,
13,
9,
2328,
2109,
20,
560,
21,
234,
71,
20,
14,
6557,
1886,
16,
226,
234,
60,
800,
3726,
3726,
31,
22,
79,
699,
26,
21,
2109,
30,
92,
560,
21,
234,
1637,
576,
2483,
20,
14,
6557,
1886,
16,
226,
9,
48,
25,
835,
9836,
38... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Microsoft Active Directory Port
===
What ports do you need to open in a firewall to connect a remote Windows computer to a Microsoft Active Directory server domain behind that firewall? | 2 | [
2,
7099,
1348,
16755,
1295,
800,
3726,
3726,
98,
9551,
107,
42,
376,
20,
368,
19,
21,
535,
6051,
20,
6379,
21,
5388,
1936,
1428,
20,
21,
7099,
1348,
16755,
8128,
4603,
439,
30,
535,
6051,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Casting to a Class which is determined at run-time
===
I have a method `fetchObjects(String)` that is expected to return an array of `Contract` business objects. The `className` parameter tells me what kind of business objects I should return (of course this doesn't make sense in this construed case because I already ... | 0 | [
2,
9087,
20,
21,
718,
56,
25,
2734,
35,
485,
8,
891,
800,
3726,
3726,
31,
57,
21,
2109,
13,
1,
410,
19913,
23793,
18,
5,
11130,
6,
1,
30,
25,
1727,
20,
788,
40,
7718,
16,
13,
1,
23311,
1,
508,
3916,
9,
14,
13,
1,
1898,
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... |
Best practices of unittesting methods that contain conditional conditions
===
I am new to unittesting and currently have a problem with finding a decent way to test methods that contain branches.
I created a small demo method I hope could be used to explain the problem.
public void ExportAccounts()
{
... | 0 | [
2,
246,
5242,
16,
1237,
10543,
68,
3195,
30,
3717,
21206,
2039,
800,
3726,
3726,
31,
589,
78,
20,
1237,
10543,
68,
17,
871,
57,
21,
1448,
29,
3007,
21,
12238,
161,
20,
1289,
3195,
30,
3717,
4395,
9,
31,
679,
21,
284,
8376,
2109,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
??????????
===
Whats the programming language(s) used to code Windows Vista? | 0 | [
2,
13,
60,
60,
60,
60,
60,
60,
60,
60,
60,
60,
800,
3726,
3726,
98,
18,
14,
3143,
816,
5,
18,
6,
147,
20,
1797,
1936,
13520,
60,
3,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
AJAX + ASP.net to retrieve data from Sql Server?
===
I'm looking to dynamically control a set of drop downs so that they'll filter their items after another drop down's index has been changed.
I'm working in C#/ASP.net and it would be great if I could get the necessary data straight from Sql Server. I suppose I cou... | 0 | [
2,
20624,
2754,
28,
306,
9,
2328,
20,
11917,
1054,
37,
4444,
255,
8128,
60,
800,
3726,
3726,
31,
22,
79,
699,
20,
7782,
1326,
569,
21,
309,
16,
2804,
125,
18,
86,
30,
59,
22,
211,
11945,
66,
3755,
75,
226,
2804,
125,
22,
18,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
WSF and ADO with DB2 , recordset.MoveNext not supported error in vbscript
===
I am trying to loop on a recordset returned from db2 using a .wsf file and vbscript .
the vbscript libfile(lib.vbs) is as follows
'***************
Const ADOCon="Provider=IBMDADB2.1;Password=*****;User ID=*****;Data Source=yourdataso... | 0 | [
2,
619,
18,
410,
17,
21,
537,
29,
13,
9007,
135,
13,
15,
742,
1198,
9,
16598,
20021,
52,
1827,
7019,
19,
13,
20468,
8741,
800,
3726,
3726,
31,
589,
749,
20,
5293,
27,
21,
742,
1198,
587,
37,
13,
9007,
135,
568,
21,
13,
9,
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... |
ASP.NET MVC Error: Page is not allowed here because it does not extend class 'System.Web.Page'
===
I have a new ASP.NET MVC project (my first), and I had been running fine with 1 controller, view, and model. After I added a new controller and view, my first view started throwing this error message when I try to run th... | 0 | [
2,
28,
306,
9,
2328,
307,
8990,
7019,
45,
2478,
25,
52,
1159,
235,
185,
32,
630,
52,
7206,
718,
13,
22,
10724,
9,
14113,
9,
6486,
22,
800,
3726,
3726,
31,
57,
21,
78,
28,
306,
9,
2328,
307,
8990,
669,
13,
5,
915,
64,
6,
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... |
Session not reinitialized after timeout?
===
I have this classic ASP site which has been working fine until we updated it.
Somehow, it has now started to behave weird when a user revisit the site with an old session-cookie, which makes the site not running Session_OnStart() again.
Since the session is long gon... | 0 | [
2,
3723,
52,
302,
27313,
1333,
75,
85,
1320,
60,
800,
3726,
3726,
31,
57,
48,
2732,
28,
306,
689,
56,
63,
74,
638,
1123,
163,
95,
6372,
32,
9,
3625,
15,
32,
63,
130,
373,
20,
14149,
5455,
76,
21,
4155,
29755,
14,
689,
29,
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... |
Datacontext Lifetime in WinForm Binding Scenario
===
This one has been stumping me for a while. But I'm no expert. This is a bit long...
I have a WinForms app with an Outlook style UI. That it to say there is a bar on the left hand pane that allows you to select a 'screen' which is a WinForms control, say the cu... | 0 | [
2,
1054,
1126,
11969,
5277,
19,
628,
4190,
8728,
12705,
800,
3726,
3726,
48,
53,
63,
74,
15781,
68,
55,
26,
21,
133,
9,
47,
31,
22,
79,
90,
5390,
9,
48,
25,
21,
1142,
175,
9,
9,
9,
31,
57,
21,
628,
4190,
18,
4865,
29,
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... |
Team Foudnation Server Source Control Structure
===
I have been working on standardizing the source control structure for our Team Foundation Server rollout for the new year. I have started by using the <a href="http://www.codeplex.com/BranchingGuidance">Microsoft Team Foundation Server Branching Guidance</a> documen... | 0 | [
2,
173,
398,
14881,
7914,
8128,
1267,
569,
1411,
800,
3726,
3726,
31,
57,
74,
638,
27,
1236,
3335,
14,
1267,
569,
1411,
26,
318,
173,
1304,
8128,
3001,
1320,
26,
14,
78,
159,
9,
31,
57,
373,
34,
568,
14,
13,
1,
58,
746,
14057,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Launch safari from a Mac application
===
How can I launch the Safari browser or the user's default browser pointing it to a specific address from within my Mac application?
I am using Objective-C as the programming language.
Thanks. | 0 | [
2,
3394,
25055,
37,
21,
1572,
3010,
800,
3726,
3726,
184,
92,
31,
3394,
14,
25055,
16495,
54,
14,
4155,
22,
18,
12838,
16495,
6832,
32,
20,
21,
1903,
3218,
37,
363,
51,
1572,
3010,
60,
31,
589,
568,
7038,
8,
150,
28,
14,
3143,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
True random generation
===
I was reading the Math.random() javadoc and saw that random is only psuedorandom.
Is there a library (specifically java) that generates random numbers according to random variables like environmental temperature, CPU temperature/voltage, or anything like that? | 0 | [
2,
1151,
5477,
2782,
800,
3726,
3726,
31,
23,
1876,
14,
5057,
9,
2195,
5555,
5,
6,
8247,
13799,
17,
441,
30,
5477,
25,
104,
351,
1666,
69,
16163,
5555,
9,
25,
80,
21,
1248,
13,
5,
9219,
1326,
8247,
6,
30,
7920,
18,
5477,
2116,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 Malicious Things has Javascript Done To You?
===
I asked the question:
[What's with those Do-Not-Use Javascript People][1] and many people said that Javascript allows security exploits through client-side attacks.
So I need to follow up and understand the how bad the nature of these attacks are:
I'd like ... | 0 | [
2,
98,
24231,
564,
63,
8247,
8741,
677,
20,
42,
60,
800,
3726,
3726,
31,
411,
14,
1301,
45,
636,
608,
22,
18,
29,
273,
107,
8,
1270,
8,
3699,
8247,
8741,
148,
500,
2558,
165,
500,
17,
151,
148,
87,
30,
8247,
8741,
2965,
1221,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Which .net ORM can deal with this scenario
===
From a [previous question][1], I learn that Linq to SQL is not able to eager load only certain files of foreingKey tables.
So I'm asking what .net ORM can support including this type of statement inside a entity class, with only one DB call and without manually mapping... | 0 | [
2,
56,
13,
9,
2328,
54,
79,
92,
1183,
29,
48,
12705,
800,
3726,
3726,
37,
21,
636,
3515,
1755,
1291,
1301,
500,
2558,
165,
500,
15,
31,
2484,
30,
6294,
1251,
20,
4444,
255,
25,
52,
777,
20,
8705,
6305,
104,
1200,
6488,
16,
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... |
getting and handling the key presses in a J2ME GUI application
===
i am quiet new to J2ME GUI programming (or developing with java in general), so this question might sound very basic to some of you. I am going to ask it anyway since i can't figure out how to do this. Here it is:
I programmed a bluetooth TV-Remote... | 0 | [
2,
1017,
17,
7988,
14,
1246,
16527,
19,
21,
487,
135,
790,
9457,
3010,
800,
3726,
3726,
31,
589,
2401,
78,
20,
487,
135,
790,
9457,
3143,
13,
5,
248,
3561,
29,
8247,
19,
297,
6,
15,
86,
48,
1301,
530,
646,
253,
2125,
20,
109,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
asp.net mvc - one door filter
===
I need fire a filter method with all string in GET or POST value from http request before it was bind into controller action
Can i do it in Global.asax.cs? and if yes, can u give me more details or example (great) about this? | 0 | [
2,
28,
306,
9,
2328,
307,
8990,
13,
8,
53,
393,
11945,
800,
3726,
3726,
31,
376,
535,
21,
11945,
2109,
29,
65,
3724,
19,
164,
54,
678,
1923,
37,
7775,
3772,
115,
32,
23,
10193,
77,
9919,
1028,
92,
31,
107,
32,
19,
2062,
9,
8... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Replacing strings in text
===
In a project we have text file looking like this:
mv A, R3
mv R2, B
mv R1, R3
mv B, R4
add A, R1
add B, R1
add R1, R2
add R3, R3
add R21, X
add R12, Y
mv X, R2
I need to replace the strings according to the following, but I am lo... | 0 | [
2,
5496,
7887,
19,
1854,
800,
3726,
3726,
19,
21,
669,
95,
57,
1854,
3893,
699,
101,
48,
45,
17967,
21,
15,
761,
240,
17967,
761,
135,
15,
334,
17967,
761,
165,
15,
761,
240,
17967,
334,
15,
761,
300,
3547,
21,
15,
761,
165,
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... |
asp.net mvc localization best practice?
===
I need help with the best practice to localize asp mvc apps,
I saw Oxite having a base method named Localize in the BaseController, but is the Localization a task for the view or the Controller?
Or should i use resx files / or use db tables?
any help is appreciated than... | 0 | [
2,
28,
306,
9,
2328,
307,
8990,
375,
1829,
246,
1345,
60,
800,
3726,
3726,
31,
376,
448,
29,
14,
246,
1345,
20,
375,
2952,
28,
306,
307,
8990,
4865,
18,
15,
31,
441,
7506,
2119,
452,
21,
1000,
2109,
377,
375,
2952,
19,
14,
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... |
Advantages/disadvantages of Glassfish v3 Prelude vs Springsource dm server for Web applications?
===
Both of these appservers are at least in part OSGI based. One (Glassfish) is obviously J2EE while the other isn't. Now I'm at the stage of choosing a platform for a new project and the natural choice is Glassfish v3 ... | 0 | [
2,
14683,
118,
2906,
1283,
17384,
14465,
16,
1350,
4934,
566,
240,
20865,
4611,
1573,
12097,
15728,
8128,
26,
2741,
3767,
60,
800,
3726,
3726,
156,
16,
158,
4865,
10321,
445,
50,
35,
639,
19,
141,
13,
759,
2234,
432,
9,
53,
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... |
DataGridView.CellContentClick
===
DataGridView.CellContentClick is not firing if I mouse click a DataGridViewCheckBoxCell very fast. How can I solve this? I need to know when CheckBox's check state changes | 0 | [
2,
1054,
16375,
4725,
9,
9725,
25424,
150,
10129,
800,
3726,
3726,
1054,
16375,
4725,
9,
9725,
25424,
150,
10129,
25,
52,
7139,
100,
31,
7567,
10840,
21,
1054,
16375,
4725,
12542,
5309,
9725,
253,
1512,
9,
184,
92,
31,
8402,
48,
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,
0,
0,
0,
0,
0,
0,
0,
0... |
CVSListBox notification after delete
===
I've just added one of the new (MFC Feature Pack) CVSListBox controls to a project. The list of items in the control is tracked by some other objects in my application, so I need to take lots of notifications from the list-box when anything changes so that I can update other... | 0 | [
2,
13,
12732,
18,
5739,
5309,
52,
4634,
75,
27448,
800,
3726,
3726,
31,
22,
195,
114,
905,
53,
16,
14,
78,
13,
5,
79,
7061,
1580,
3607,
6,
13,
12732,
18,
5739,
5309,
8671,
20,
21,
669,
9,
14,
968,
16,
3755,
19,
14,
569,
25,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Can dynamically pluggable modules be done in VHDL?
===
In c (embedded) a plugin can be implemented by defining a function pointer table and an address range that the module can be loaded into.
This requires linker directive to allocate the space and define the location of the function table.
Is there a similar m... | 0 | [
2,
92,
7782,
1326,
10922,
263,
579,
17113,
44,
677,
19,
566,
252,
8643,
60,
800,
3726,
3726,
19,
272,
13,
5,
1503,
4283,
7424,
6,
21,
10922,
108,
92,
44,
6807,
34,
14684,
21,
1990,
454,
106,
859,
17,
40,
3218,
978,
30,
14,
126... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Worker process recycles because it reached its virtual memory limit
===
We host a rather large (self written) ASP.NET website for our customers. It consists of a web service, a web site and a image serving web site, al three in their own virtual directory. The three virtual directories are together in one application ... | 0 | [
2,
7444,
953,
302,
12467,
18,
185,
32,
664,
82,
6599,
1912,
4496,
800,
3726,
3726,
95,
2015,
21,
864,
370,
13,
5,
8411,
642,
6,
28,
306,
9,
2328,
2271,
26,
318,
5279,
9,
32,
2043,
16,
21,
2741,
365,
15,
21,
2741,
689,
17,
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 do you handle scheduling/dealines around programmers?
===
Do programmers like to create deadlines? Im a web developer, and schedules/deadlines are all over the place in my field. But I've worked with some software engineers/programmers who hate deadlines, is there a way around that? | 0 | [
2,
184,
107,
42,
3053,
23096,
118,
12746,
7939,
140,
17968,
18,
60,
800,
3726,
3726,
107,
17968,
18,
101,
20,
1600,
15968,
18,
60,
797,
21,
2741,
10058,
15,
17,
4345,
18,
118,
14260,
7939,
50,
65,
84,
14,
209,
19,
51,
575,
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... |
Has anyone got a solution for the problem <asp:treeview /> != <ul><li></li></ul>
===
I'm using the [<code>asp:TreeView</code>][1] and would really rather just output it to a standard nested `<HTML>` list using `<ul>` and `<li>`, at the moment it produces some pretty ugly code using `<div>`s and `<table>`s.
Has anyo... | 0 | [
2,
63,
1276,
330,
21,
4295,
26,
14,
1448,
13,
1,
472,
306,
45,
8101,
4725,
13,
118,
1,
13,
187,
3726,
13,
1,
1287,
1,
1210,
1,
118,
1210,
1,
118,
1287,
1,
800,
3726,
3726,
31,
22,
79,
568,
14,
636,
1,
9375,
1,
472,
306,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 naming convention do you use for member variables?
===
This on has been **BOTHERING** me for a long time!
What do you use to denote a member variable in a class?
The most common time this is a problem is when you have a parameter passed into a constructor to set a member variable. Here is an example:
... | 0 | [
2,
98,
10929,
3087,
107,
42,
275,
26,
322,
12157,
60,
800,
3726,
3726,
48,
27,
63,
74,
13,
1409,
8110,
7882,
1409,
55,
26,
21,
175,
85,
187,
98,
107,
42,
275,
20,
21736,
21,
322,
7612,
19,
21,
718,
60,
14,
127,
757,
85,
48,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
MFC SetRegistryKey... Is there a GetRegistryKey function?
===
I have these two lines of code.
CString strHost = AfxGetApp()->GetProfileString(_T("WebServices"), _T("Server"));
AfxMessageBox(strHost);
Nowhere in the app do I set the value. (the installer does that). So the strHost, should be the same no m... | 0 | [
2,
307,
7061,
309,
12463,
702,
622,
4237,
9,
9,
9,
25,
80,
21,
164,
12463,
702,
622,
4237,
1990,
60,
800,
3726,
3726,
31,
57,
158,
81,
1560,
16,
1797,
9,
272,
11130,
13,
9729,
11694,
800,
21,
16488,
3060,
7753,
5,
6,
8,
1,
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... |
Multi Firefox?
===
How can I test my website in multiple versions of firefox?
I have v2 installed. Now no matter where or how many times I install FF3, it always executes ff2..
I checked the interweb and it seems there used to be a MultiFireFox tool that could run several versions. It was for apple and I'm on wind... | 0 | [
2,
1889,
535,
18219,
60,
800,
3726,
3726,
184,
92,
31,
1289,
51,
2271,
19,
1886,
3281,
16,
535,
18219,
60,
31,
57,
566,
135,
4066,
9,
130,
90,
1161,
113,
54,
184,
151,
436,
31,
16146,
13,
2460,
240,
15,
32,
550,
15644,
18,
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... |
Algorithm to determine thread "hotness"
===
I'm trying to come up with a way to determine how "hot" certain threads are in a forum. What criteria would you use and why? How would these come together to give a hotness score?
The criteria I'm thinking of include:
- how many replies
- how long since the last rep... | 0 | [
2,
9083,
20,
3746,
9322,
13,
7,
7010,
720,
7,
800,
3726,
3726,
31,
22,
79,
749,
20,
340,
71,
29,
21,
161,
20,
3746,
184,
13,
7,
7010,
7,
1200,
20396,
50,
19,
21,
5691,
9,
98,
9157,
83,
42,
275,
17,
483,
60,
184,
83,
158,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Purpose of Restrictions parameter in MetaObject constructor?
===
I currently have an issue in my DLR language implementation where subsequent calls to a method defined in the language occur with the same input parameters used by the first call to that method.
So... if I do this in my language:
PrintType( 34 ... | 0 | [
2,
2131,
16,
9245,
18906,
19,
7618,
23793,
6960,
248,
60,
800,
3726,
3726,
31,
871,
57,
40,
1513,
19,
51,
13,
43,
12988,
816,
6123,
113,
3147,
3029,
20,
21,
2109,
2811,
19,
14,
816,
3744,
29,
14,
205,
6367,
12905,
147,
34,
14,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to write a socket based Custom Transport for WCF
===
I have a mobile platform that I am trying to write some communications code on.
The platform provides a proprietary communication mechanism that is based on standard socket functions. Basically, the platform's socket API looks exactly the same as the standar... | 0 | [
2,
184,
20,
2757,
21,
18482,
432,
5816,
1739,
26,
11801,
410,
800,
3726,
3726,
31,
57,
21,
3241,
2452,
30,
31,
589,
749,
20,
2757,
109,
3380,
1797,
27,
9,
14,
2452,
1927,
21,
18856,
3291,
6534,
30,
25,
432,
27,
1236,
18482,
3719... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Anyone doing mainframe or AS/400 Batch procesing with Java?
===
I'm going to propose to a client that I build some batch jobs in Java that will run on their mainframe and/or AS/400s (sorry System z and System i). Both platforms are up to date system software wise. I'm wondering if anyone has done this and can provide ... | 0 | [
2,
1276,
845,
407,
8361,
54,
28,
118,
7114,
13064,
895,
5052,
68,
29,
8247,
60,
800,
3726,
3726,
31,
22,
79,
228,
20,
17873,
20,
21,
6819,
30,
31,
1895,
109,
13064,
4844,
19,
8247,
30,
129,
485,
27,
66,
407,
8361,
17,
118,
248... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
linking groups of matches
===
I have a table that represents a series of matches between ids from another table as follows:
CREATE TABLE #matches (
asid1 int,
asid2 int
)
insert into #matches values (1,2)
insert into #matches values (1,3)
insert into #matches values (3,1)... | 0 | [
2,
12585,
1170,
16,
1717,
800,
3726,
3726,
31,
57,
21,
859,
30,
4719,
21,
231,
16,
1717,
128,
13,
9178,
37,
226,
859,
28,
2415,
45,
1600,
859,
6926,
12280,
160,
13,
5,
28,
1340,
165,
19,
38,
15,
28,
1340,
135,
19,
38,
13,
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... |
Please explain this Perl regular expression
===
$rowfetch =~ s/['-]//g; #All chars inside the [ ] will be filtered out.
$rowfetch =~ m/(\w+), ?(.)/;
printf $fh lc($2.$1);
I got help building this regular expression yesterday, but I don't fully understand it.<br><br>It takes a name like Parisi, Kenneth... | 0 | [
2,
2247,
3271,
48,
416,
255,
1290,
1803,
800,
3726,
3726,
5579,
5417,
410,
19913,
800,
1,
13,
18,
118,
2558,
22,
8,
500,
118,
118,
263,
73,
6926,
1233,
4892,
18,
572,
14,
636,
13,
500,
129,
44,
25090,
70,
9,
5579,
5417,
410,
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... |
Do XCode projects need special settings to use pre-compiled boost libraries?
===
I have just installed boost for the first time on my Intel Mac, and it works fine in general, as long as I use only boost's header files.
But when I try to use a lib, in my case the regex lib, my app links and launches fine, but then i... | 0 | [
2,
107,
993,
9375,
2314,
376,
621,
12410,
20,
275,
782,
8,
11103,
49,
1294,
10419,
8649,
60,
800,
3726,
3726,
31,
57,
114,
4066,
10419,
26,
14,
64,
85,
27,
51,
14635,
1572,
15,
17,
32,
693,
1123,
19,
297,
15,
28,
175,
28,
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... |
C++ : friend AND inline method, what's the point ?
===
I see in a header that I didn't write myself the following :
class MonitorObjectString: public MonitorObject {
// some other declarations
friend inline bool operator==(MonitorObjectString& lhs, MonitorObjectString& rhs) { return(lhs.fVal==... | 0 | [
2,
272,
20512,
13,
45,
860,
17,
19,
1143,
2109,
15,
98,
22,
18,
14,
454,
13,
60,
800,
3726,
3726,
31,
196,
19,
21,
157,
106,
30,
31,
223,
22,
38,
2757,
992,
14,
249,
13,
45,
718,
7626,
23793,
11130,
45,
317,
7626,
23793,
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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.