unified_texts
stringlengths
32
30.1k
OpenStatus_id
int64
0
4
input_ids
list
token_type_ids
list
attention_mask
list
Is there an attribute I can add to a class so it will be edited as code, not in the designer? === I've made a class which inherits from UserControl, but which I only want to use as a base for subclasses. Is there a way I can stop VS2008 from trying to edit it in the designer, that won't stop the subclasses from being...
0
[ 2, 25, 80, 40, 35, 14755, 31, 92, 3547, 20, 21, 718, 86, 32, 129, 44, 4802, 28, 1797, 15, 52, 19, 14, 4742, 60, 800, 3726, 3726, 31, 22, 195, 117, 21, 718, 56, 17569, 18, 37, 4155, 12898, 15, 47, 56, 31, 104, 259, 20, 275,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
New Web App Project does not recognize the <asp: tag space === Visual Studio 2008 w/Sp1 To reproduce my problem I simply create a new .Net 2.0 web application and add a page with the following markup: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplication5._Defaul...
2
[ 2, 78, 2741, 4865, 669, 630, 52, 5844, 14, 13, 1, 472, 306, 45, 3383, 726, 800, 3726, 3726, 3458, 1120, 570, 619, 118, 3401, 165, 20, 21509, 51, 1448, 31, 1659, 1600, 21, 78, 13, 9, 2328, 172, 9, 387, 2741, 3010, 17, 3547, 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...
Page.Load issue in ASP.NET 2.0 === I am trying to aid another programmer with a page called Default.aspx with a code-behind section, and unfortunately I am at a bit of a loss. Partial Class _Default Inherits OverheadClass 'A bunch of global variables here' Private Sub page_load(ByVal sender...
0
[ 2, 2478, 9, 8294, 1513, 19, 28, 306, 9, 2328, 172, 9, 387, 800, 3726, 3726, 31, 589, 749, 20, 3096, 226, 17968, 29, 21, 2478, 227, 12838, 9, 472, 306, 396, 29, 21, 1797, 8, 24878, 1050, 15, 17, 6200, 31, 589, 35, 21, 1142, 1...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
What can you not do on the Dalvik VM (Android's VM) that you can in Sun VM? === I know that you can run almost all Java in Dalvik's VM that you can in Java's VM but the limitations are not very clear. Has anyone run into any major stumbling blocks? Any major libraries having trouble? Any languages that compile to J...
0
[ 2, 98, 92, 42, 52, 107, 27, 14, 6868, 8280, 13, 20147, 13, 5, 290, 18524, 22, 18, 13, 20147, 6, 30, 42, 92, 19, 939, 13, 20147, 60, 800, 3726, 3726, 31, 143, 30, 42, 92, 485, 557, 65, 8247, 19, 6868, 8280, 22, 18, 13, 2014...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Using a subquery instead of a table name in an Oracle Update Statement === I need write an update statement that used multiple tables to determine which rows to update, since in Oracle, multiple tables aren't allowed. The following query will return a "ORA-00971: Missing SET keyword" error UPDATE TABLE1...
0
[ 2, 568, 21, 972, 8190, 93, 700, 16, 21, 859, 204, 19, 40, 15759, 11100, 3331, 800, 3726, 3726, 31, 376, 2757, 40, 11100, 3331, 30, 147, 1886, 7484, 20, 3746, 56, 11295, 20, 11100, 15, 179, 19, 15759, 15, 1886, 7484, 4847, 22, 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...
Filtering warnings in eclipse by filename === We use Eclipse for our Java development, and we've got Maven compiling our JSPs into servlets to be used in our embedded Jetty instance. This means that to run the project from Eclipse, I have to include ./target/jsp-source as a source folder, which works great. The warnin...
0
[ 2, 25272, 3590, 18, 19, 11652, 34, 3893, 7259, 800, 3726, 3726, 95, 275, 11652, 26, 318, 8247, 522, 15, 17, 95, 22, 195, 330, 1216, 3124, 24378, 318, 487, 18, 1919, 77, 13, 10321, 11045, 20, 44, 147, 19, 318, 12138, 17341, 93, 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...
How can Print Preview be called from Javascript? === I have a page that is supposed to launch the Print Preview page onload. I found this: var OLECMDID = 7; /* OLECMDID values: * 6 - print * 7 - print preview * 1 - open window * 4 - Save As */ var PROMPT = 1; // 2 DONTPROMP...
0
[ 2, 184, 92, 4793, 16121, 44, 227, 37, 8247, 8741, 60, 800, 3726, 3726, 31, 57, 21, 2478, 30, 25, 2293, 20, 3394, 14, 4793, 16121, 2478, 27, 8294, 9, 31, 216, 48, 45, 4033, 12116, 9095, 3052, 800, 453, 73, 13, 118, 2483, 12116, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Colors in Visual Studio 2008 === I'm struggling with Visual Studio 2008. I've used some form of "Zen" colors for more than I can remember. In VS2008 I keep getting one color that I cannot read and I have been unable to identify it; the purpose of the question is to avoid trial an error (the VS color interface is reall...
0
[ 2, 5268, 19, 3458, 1120, 570, 800, 3726, 3726, 31, 22, 79, 7587, 29, 3458, 1120, 570, 9, 31, 22, 195, 147, 109, 505, 16, 13, 7, 4257, 7, 5268, 26, 91, 119, 31, 92, 1518, 9, 19, 4611, 2753, 31, 643, 1017, 53, 1665, 30, 31, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Mysterious assets used in swf, not found anywhere in fla? === near the top of the code i see things like, btn_dropdown._visible = false; mcMenuBkg._visible = false; but I can't find these assets anywhere in the library or in any code, how does this make any sense? The movie clips in the library that look th...
0
[ 2, 6896, 6223, 147, 19, 13, 18, 15263, 15, 52, 216, 4922, 19, 13, 9165, 60, 800, 3726, 3726, 424, 14, 371, 16, 14, 1797, 31, 196, 564, 101, 15, 334, 38, 103, 1, 12361, 2968, 9, 1, 3762, 3426, 800, 4997, 73, 1324, 755, 4502, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Does MS access(2003) have anything comparable to Stored procedure. I want to run a complex query in MS acceess === I have a table, call it TBL. It has two columns,call them A and B. Now in the query I require one column as A and other column should be a comma seprated list of all B's which are against A in TBL. e.g....
0
[ 2, 630, 4235, 1381, 5, 3325, 6, 57, 602, 14109, 20, 8214, 7004, 9, 31, 259, 20, 485, 21, 1502, 25597, 19, 4235, 7602, 10102, 18, 800, 3726, 3726, 31, 57, 21, 859, 15, 645, 32, 13, 38, 6287, 9, 32, 63, 81, 7498, 15, 9200, 105...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
__destruct visibility for PHP === Should the "visibility" for the __destruct function be public or something else? I'm trying to write a standards doc for my group and this question came up.
0
[ 2, 13, 1, 20137, 19476, 26, 13, 26120, 800, 3726, 3726, 378, 14, 13, 7, 3762, 14264, 7, 26, 14, 13, 1, 20137, 1990, 44, 317, 54, 301, 962, 60, 31, 22, 79, 749, 20, 2757, 21, 3364, 9765, 26, 51, 214, 17, 48, 1301, 281, 71, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 read the PL/SQL code in an Oracle Forms .FMT file ? === Oracle Forms10g provides a tool to convert the Oracle Forms modules, from the binary format (.FMB) that Oracle Forms Builder works with, to text format (.FMT). For example, if you create a module called *mymodule.fmb* with Oracle Forms Builder, and then...
0
[ 2, 184, 20, 1302, 14, 12443, 118, 18, 22402, 1797, 19, 40, 15759, 1997, 13, 9, 5223, 38, 3893, 13, 60, 800, 3726, 3726, 15759, 1997, 1036, 263, 1927, 21, 5607, 20, 8406, 14, 15759, 1997, 17113, 15, 37, 14, 14171, 2595, 13, 5, 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...
SelectedValue is invalid - doesn't exist in list - C#/ASP.NET === Exception is: 'Country' has a SelectedValue which is invalid because it does not exist in the list of items. Parameter name: value UserService.DsUserAttributes dsCountry = us_service.GetUserAttributeDropDown(systemId, "Country"); Country....
0
[ 2, 1704, 15165, 25, 16671, 13, 8, 1437, 22, 38, 3182, 19, 968, 13, 8, 272, 5910, 118, 472, 306, 9, 2328, 800, 3726, 3726, 5391, 25, 45, 13, 22, 10741, 22, 63, 21, 1704, 15165, 56, 25, 16671, 185, 32, 630, 52, 3182, 19, 14, 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...
Java 1.6 SDK on Mac OS 10.5 === Has Java 1.6 SDK been released for mac? I can't seem to find it...
0
[ 2, 8247, 137, 9, 379, 13, 18, 43, 197, 27, 1572, 13, 759, 332, 9, 264, 800, 3726, 3726, 63, 8247, 137, 9, 379, 13, 18, 43, 197, 74, 261, 26, 1572, 60, 31, 92, 22, 38, 2260, 20, 477, 32, 9, 9, 9, 3, 0, 0, 0, 0, 0, 0, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
Is there an XML language for defining/authoring SQL database schemas? === Is there a dialect of XML for defining the tables, indexes and relations of a relational database, and a "compiler" or stylesheet to transform that definition into SQL CREATE statements? EG, something that might look like: <Table Name=...
0
[ 2, 25, 80, 40, 23504, 816, 26, 14684, 118, 10007, 68, 4444, 255, 6018, 23874, 18, 60, 800, 3726, 3726, 25, 80, 21, 8069, 16, 23504, 26, 14684, 14, 7484, 15, 4348, 160, 17, 2649, 16, 21, 5827, 192, 6018, 15, 17, 21, 13, 7, 1110...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Vi/Vim: How to pipe visually selected text to a UNIX command and append output to current file === Using Vim, I'm trying to pipe visually selected text to a UNIX command and have the output appended to the end of the current file. For example, say we have a SQL command such as: SELECT * FROM mytable; I want to d...
0
[ 2, 1790, 118, 1755, 79, 45, 184, 20, 7642, 20747, 1704, 1854, 20, 21, 22540, 1202, 17, 4865, 2451, 5196, 20, 866, 3893, 800, 3726, 3726, 568, 1790, 79, 15, 31, 22, 79, 749, 20, 7642, 20747, 1704, 1854, 20, 21, 22540, 1202, 17, 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...
PHP syntax highlighting === I'm searching for a **PHP syntax highlighting engine** that can be customized (i.e. I can provide my **own tokenizers** for new languages) and that can handle several languages *simultaneously* (i.e. on the same output page). This engine has to work well together with **CSS classes**, i.e. ...
0
[ 2, 13, 26120, 22649, 23102, 800, 3726, 3726, 31, 22, 79, 5792, 26, 21, 13, 1409, 26120, 22649, 23102, 1406, 1409, 30, 92, 44, 28779, 13, 5, 49, 9, 62, 9, 31, 92, 1181, 51, 13, 1409, 16620, 20, 2853, 11907, 18, 1409, 26, 78, 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...
What value should AutoEventWireup be set to in the page directive in ASP.Net? === I am using C#. By default, when I add a web form in Visual Studio 2008 with or without a master page, the AutoEventWireup attribute is set to true in the page directive. This attribute is also set to true inside the master page master d...
0
[ 2, 98, 1923, 378, 3108, 4943, 38, 13482, 576, 44, 309, 20, 19, 14, 2478, 15626, 19, 28, 306, 9, 2328, 60, 800, 3726, 3726, 31, 589, 568, 272, 5910, 9, 34, 12838, 15, 76, 31, 3547, 21, 2741, 505, 19, 3458, 1120, 570, 29, 54, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Suggestions for workflow architecture? === We built a grant application system for a client. They've now asked for some simple workflow functionality (two approvals needed before the application is submitted). I've given some thought to the database design that I'd use to encode the workflow requirements in a way ...
0
[ 2, 18389, 26, 170, 9990, 2607, 60, 800, 3726, 3726, 95, 392, 21, 2048, 3010, 329, 26, 21, 6819, 9, 59, 22, 195, 130, 411, 26, 109, 1935, 170, 9990, 18548, 13, 5, 3734, 4988, 18, 851, 115, 14, 3010, 25, 7368, 6, 9, 31, 22, 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...
Strategies for multicore builds (/MP) that use #import === I'm working on a new solution configuration for our large VC++ project using VS 2008. I'd like this configuration to use the multicore build flag [/MP][1]. However, the "#import" feature of generating COM wrapper classes is sprinkled through-out the code b...
0
[ 2, 10272, 26, 1889, 10375, 1895, 18, 13, 5, 118, 2554, 6, 30, 275, 6926, 1660, 1993, 800, 3726, 3726, 31, 22, 79, 638, 27, 21, 78, 4295, 8091, 26, 318, 370, 13, 8990, 20512, 669, 568, 4611, 570, 9, 31, 22, 43, 101, 48, 8091, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Can I position .net's (Forms) Message box or Common dialogs? === I am trying to get center of parent form, not center of screen behavior. Passing in the parent form seems to only control the ownership of the window. These classes are sealed, so I do not see how I can do any WinProc tricks. Rewriting the classes is ...
0
[ 2, 92, 31, 649, 13, 9, 2328, 22, 18, 13, 5, 4190, 18, 6, 2802, 1649, 54, 757, 28223, 18, 60, 800, 3726, 3726, 31, 589, 749, 20, 164, 459, 16, 4766, 505, 15, 52, 459, 16, 2324, 3257, 9, 2848, 19, 14, 4766, 505, 2206, 20, 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...
Under what situations are regular expressions really the best way to solve the problem? === I'm not sure if Jeff coined it but it's the joke/saying that people who say "oh, I know I'll use regular expressions!" now have [two problems][1]. I've always taken this to mean that people use regular expressions in very [inap...
0
[ 2, 131, 98, 8329, 50, 1290, 13832, 510, 14, 246, 161, 20, 8402, 14, 1448, 60, 800, 3726, 3726, 31, 22, 79, 52, 562, 100, 3292, 15048, 32, 47, 32, 22, 18, 14, 8186, 118, 6366, 68, 30, 148, 72, 395, 13, 7, 1134, 15, 31, 143, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Any good "contact us" recipes for Cherrypy? === I'm looking to implement a "Contact Us" form with Cherrypy and was wondering: Is there a good recipe (or a BSD licensed set of code) that I could use instead of reinventing the wheel? Ideally, this would be Cherrpy 3.1 compatible.
0
[ 2, 186, 254, 13, 7, 29912, 182, 7, 22229, 26, 9257, 6448, 60, 800, 3726, 3726, 31, 22, 79, 699, 20, 8713, 21, 13, 7, 29912, 182, 7, 505, 29, 9257, 6448, 17, 23, 5712, 45, 25, 80, 21, 254, 20510, 13, 5, 248, 21, 334, 18, 43...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Is there any way to trick the .net JIT compiler into running another method? === Ok, say that my application is emitting (x86) instructions into memory, making the page executable, etc. Is there any way of altering the method stub of an un-JITted method to point to my emitted instruction stream? E.g.: Suppose I ...
0
[ 2, 25, 80, 186, 161, 20, 5514, 14, 13, 9, 2328, 13, 13803, 21486, 77, 946, 226, 2109, 60, 800, 3726, 3726, 5854, 15, 395, 30, 51, 3010, 25, 13, 28741, 13, 5, 396, 3274, 6, 7650, 77, 1912, 15, 544, 14, 2478, 1396, 17194, 5924, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Obtaining the maximum width and height of a font === So I have an NSFont, and I want to get the maximum dimensions for any characters, ie. the pitch and letter height. [font maximumAdvancement] seems to return an NSSize of {0, 0}, so that's not helping. Bounding rect doesn't seem to work either, and the suggestion f...
0
[ 2, 12114, 14, 2979, 9456, 17, 2947, 16, 21, 9978, 800, 3726, 3726, 86, 31, 57, 40, 13, 2172, 21931, 15, 17, 31, 259, 20, 164, 14, 2979, 9913, 26, 186, 1766, 15, 13, 660, 9, 14, 5678, 17, 1748, 2947, 9, 636, 21931, 2979, 1283, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Why doesn't my Rails application / mind fit into a RESTful architecture === **The Background** I started a Rails project recently and decided to use RESTful controllers. I created controllers for my key entities (such as Country) and added index, new, edit, create, show, update, delete. I added my map.resources :co...
0
[ 2, 483, 1437, 22, 38, 51, 2240, 18, 3010, 13, 118, 594, 2742, 77, 21, 760, 1566, 2607, 800, 3726, 3726, 13, 1409, 124, 2395, 1409, 31, 373, 21, 2240, 18, 669, 1989, 17, 868, 20, 275, 760, 1566, 9919, 18, 9, 31, 679, 9919, 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...
focus lost after making another app's window topmost === I'm making another app's window topmost to ensure that a click in my app brings the other's dialog into views. The problem I'm having is that I don't get focus back to my app after the call. If the other app has more windows one of them ends up with focus, and...
0
[ 2, 1776, 529, 75, 544, 226, 4865, 22, 18, 1463, 371, 4630, 800, 3726, 3726, 31, 22, 79, 544, 226, 4865, 22, 18, 1463, 371, 4630, 20, 4062, 30, 21, 10840, 19, 51, 4865, 7620, 14, 89, 22, 18, 28223, 77, 4146, 9, 14, 1448, 31, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How to Get End-User (Client) Feedback on Custom Development Projects === My company is a custom development shop for a number of projects, some larger and some smaller. Currently we handle all of our client communication through email. So we email a design doc, they mark it up and send it back. Then we roll out a beta...
0
[ 2, 184, 20, 164, 241, 8, 16704, 13, 5, 150, 18513, 38, 6, 13111, 27, 5816, 522, 2314, 800, 3726, 3726, 51, 237, 25, 21, 5816, 522, 2546, 26, 21, 234, 16, 2314, 15, 109, 1662, 17, 109, 2012, 9, 871, 95, 3053, 65, 16, 318, 681...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
What is the difference between "AS" and "IS" in an Oracle stored procedure? === I see Oracle procedures sometimes written with "AS", and sometimes with "IS" keyword. CREATE OR REPLACE Procedure TESTUSER.KILLINSTANCE (INSTANCEID integer) **AS** ... vs. CREATE OR REPLACE Procedure TESTUSER.KILLINS...
0
[ 2, 98, 25, 14, 2841, 128, 13, 7, 472, 7, 17, 13, 7, 403, 7, 19, 40, 15759, 8214, 7004, 60, 800, 3726, 3726, 31, 196, 15759, 8876, 1030, 642, 29, 13, 7, 472, 7, 15, 17, 1030, 29, 13, 7, 403, 7, 1246, 9587, 9, 1600, 54, 39...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
What should I consider when selecting a data type for my primary key? === When I am creating a new database table, what factors should I take into account for selecting the primary key's data type?
0
[ 2, 98, 378, 31, 3563, 76, 20764, 21, 1054, 1001, 26, 51, 1256, 1246, 60, 800, 3726, 3726, 76, 31, 589, 2936, 21, 78, 6018, 859, 15, 98, 4776, 378, 31, 247, 77, 2176, 26, 20764, 14, 1256, 1246, 22, 18, 1054, 1001, 60, 3, 0, 0...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
How to get RPATH with $ORIGIN to work on Code::Blocks GCC? === I'm trying to link an RPATH containing the special string $ORIGIN into an executable built using GCC with the Code::Blocks IDE. I've specified -Wl,-R$ORIGIN in the linker options for the project, but the command line output to GCC is wrong (strip...
0
[ 2, 184, 20, 164, 761, 8353, 29, 5579, 28486, 20, 170, 27, 1797, 45, 45, 12048, 18, 489, 3384, 60, 800, 3726, 3726, 31, 22, 79, 749, 20, 3508, 40, 761, 8353, 3503, 14, 621, 3724, 5579, 28486, 77, 40, 1396, 17194, 5924, 392, 568, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 print faster in Excel VBA? === The print functionality of Excel is extremely slow, I hoping someone has a way of speeding the printing up (without using the Excel 4 Macro trick). Here's how I do it now: <pre> Application.ScreenUpdating = False With ActiveSheet.PageSetup -various set...
0
[ 2, 184, 20, 4793, 4233, 19, 20700, 566, 969, 60, 800, 3726, 3726, 14, 4793, 18548, 16, 20700, 25, 3898, 2276, 15, 31, 3935, 737, 63, 21, 161, 16, 1362, 68, 14, 7312, 71, 13, 5, 14506, 568, 14, 20700, 268, 9069, 5514, 6, 9, 235...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 is Jmock used with HttpSession and HttpServletRequest === I am new to jmock and trying to mock an HttpSession. I am getting: java.lang.AssertionError: unexpected invocation: httpServletRequest.getSession() no expectations specified: did you... - forget to start an expectation with a cardinality clause? - c...
0
[ 2, 184, 25, 487, 79, 5668, 147, 29, 7775, 7202, 5991, 17, 7775, 10321, 1336, 99, 10351, 800, 3726, 3726, 31, 589, 78, 20, 487, 79, 5668, 17, 749, 20, 10506, 40, 7775, 7202, 5991, 9, 31, 589, 1017, 45, 8247, 9, 9949, 9, 22220, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Is there a clean T-SQL query I can use to verify an index has the right columns? === I am writing a DB upgrade script that will check to see if an index has the right two columns defined. If it doesn't, or if it only has one of them, then I will DROP it (is there a way to ALTER an index?) and then recreate it with bo...
0
[ 2, 25, 80, 21, 2745, 13, 38, 8, 18, 22402, 25597, 31, 92, 275, 20, 21012, 40, 4348, 63, 14, 193, 7498, 60, 800, 3726, 3726, 31, 589, 1174, 21, 13, 9007, 9483, 3884, 30, 129, 2631, 20, 196, 100, 40, 4348, 63, 14, 193, 81, 749...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How to use jQuery to call an asp.net web service? === I'm trying to use jQuery to get data from an ASP.NET web service (SharePoint Server 2007 lists.asmx) but any call to a web service will really help as a first step in that direction.
0
[ 2, 184, 20, 275, 487, 8190, 93, 20, 645, 40, 28, 306, 9, 2328, 2741, 365, 60, 800, 3726, 3726, 31, 22, 79, 749, 20, 275, 487, 8190, 93, 20, 164, 1054, 37, 40, 28, 306, 9, 2328, 2741, 365, 13, 5, 16608, 3132, 8128, 624, 7227,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Using a MulitpleLookupField in MOSS '07 Layout Page === I have a page layout for my MOSS '07 site that I want put a MultipleLookupField in. The field will point to a multiple lookup column in my custom content type that points back to the pages library so I can have a "Related Articles" field. I've gotten the fiel...
0
[ 2, 568, 21, 6633, 242, 5106, 5810, 576, 1109, 19, 8188, 13, 22, 2984, 9106, 2478, 800, 3726, 3726, 31, 57, 21, 2478, 9106, 26, 51, 8188, 13, 22, 2984, 689, 30, 31, 259, 442, 21, 1886, 5810, 576, 1109, 19, 9, 14, 575, 129, 454,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 unix command to see how much disk space there is and how much is remaining? === I'm looking for the equivalent of right clicking on the drive in windows and seeing the disk space used and remaining info.
0
[ 2, 98, 25, 22540, 1202, 20, 196, 184, 212, 8582, 726, 80, 25, 17, 184, 212, 25, 1846, 60, 800, 3726, 3726, 31, 22, 79, 699, 26, 14, 4602, 16, 193, 25590, 27, 14, 1493, 19, 1936, 17, 2078, 14, 8582, 726, 147, 17, 1846, 15404, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
Database-wide equivalent of SET IDENTITY_INSERT OFF === In my [eternal][1] [saga][2] to insert 1.4 million rows of data from a SQL script, I've written a basic WinForms app that takes each line of the script and executes it individually. However, because the original script contained SET IDENTITY_INSERT [Tab...
0
[ 2, 6018, 8, 8077, 4602, 16, 309, 3270, 1, 108, 18, 6767, 168, 800, 3726, 3726, 19, 51, 636, 12382, 5025, 500, 2558, 165, 500, 636, 18, 5193, 500, 2558, 135, 500, 20, 14692, 137, 9, 300, 507, 11295, 16, 1054, 37, 21, 4444, 255, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Deleting Sql Ce system tables programmatically? === i`m using sql server ce together with sync framework. however, sync framework creates some system tables when calling the CreateSchema() method of the SqlCeClientSyncProvider. (e.g. __sysSyncArticle, __sysSyncSubscription, ...). i'm not able to delete these tables w...
0
[ 2, 121, 1336, 68, 4444, 255, 4000, 329, 7484, 625, 6732, 1326, 60, 800, 3726, 3726, 31, 1, 79, 568, 4444, 255, 8128, 4000, 429, 29, 6063, 150, 6596, 9, 207, 15, 6063, 150, 6596, 9695, 109, 329, 7484, 76, 2555, 14, 1600, 7526, 54...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Promoting MOSS '07 Sites From Dev To Production === So, maybe I'm a bit old-school, but when created websites in the past, we'd develop the site on a development server, then publish or promote the pages and files to the production server. This has always seemed to be a good way to go so that users didn't see messed ...
0
[ 2, 7248, 8188, 13, 22, 2984, 3259, 37, 9664, 20, 637, 800, 3726, 3726, 86, 15, 913, 31, 22, 79, 21, 1142, 315, 8, 7535, 15, 47, 76, 679, 13931, 19, 14, 640, 15, 95, 22, 43, 2803, 14, 689, 27, 21, 522, 8128, 15, 94, 10824, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Calling a Stored Proc from within a Stored Proc and returning a recordset. === I have a Stored Procedure that rolls-back a series of operations. I want to call this from within another SP. The problem is that the inner SP returns a record set with a single value that indicates the degree of success. <Digression...
0
[ 2, 2555, 21, 8214, 13, 15617, 37, 363, 21, 8214, 13, 15617, 17, 2485, 21, 742, 1198, 9, 800, 3726, 3726, 31, 57, 21, 8214, 7004, 30, 10081, 8, 1958, 21, 231, 16, 1311, 9, 31, 259, 20, 645, 48, 37, 363, 226, 3782, 9, 14, 1448...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 i can fill an array from user input C# === how i can Allows the user to fill an array. like showing him a prompt MSG and then get the values from him
0
[ 2, 184, 31, 92, 3509, 40, 7718, 37, 4155, 6367, 272, 5910, 800, 3726, 3726, 184, 31, 92, 2965, 14, 4155, 20, 3509, 40, 7718, 9, 101, 3187, 61, 21, 11443, 4417, 4235, 263, 17, 94, 164, 14, 4070, 37, 61, 3, 0, 0, 0, 0, 0, 0,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
Best method to scroll a ScrollPane by mouse hover location in actionscript? === When mouse nears top edge of scrollpane, it scrolls up until it reaches the top only interrupted if the mouse leaves the top edge area. Same for bottom edge.
0
[ 2, 246, 2109, 20, 12159, 21, 12159, 16660, 34, 7567, 21350, 1474, 19, 1028, 8741, 60, 800, 3726, 3726, 76, 7567, 424, 18, 371, 1407, 16, 12159, 16660, 15, 32, 12159, 18, 71, 163, 32, 5539, 14, 371, 104, 6354, 100, 14, 7567, 2084, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
Are regex tools (like RegexBuddy) a good idea? === One of my developers has started using RegexBuddy for help in interpreting legacy code, which is a usage I fully understand and support. What concerns me is using a regex tool for writing new code. I have actually discouraged its use for new code in my team. Two qu...
0
[ 2, 50, 7953, 1706, 4672, 13, 5, 1403, 7953, 1706, 220, 28085, 6, 21, 254, 882, 60, 800, 3726, 3726, 53, 16, 51, 10168, 63, 373, 568, 7953, 1706, 220, 28085, 26, 448, 19, 11584, 68, 7780, 1797, 15, 56, 25, 21, 7514, 31, 2337, 1...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How do I create a simple 2-screen iPhone app? === I've gone through most of the example code and I still need some help. I want to make an uber-simple app: show one screen at startup with a label and a button. click the button and we slide over to another screen (I suppose these are called views) which has another ...
0
[ 2, 184, 107, 31, 1600, 21, 1935, 172, 8, 7187, 21024, 4865, 60, 800, 3726, 3726, 31, 22, 195, 1042, 120, 127, 16, 14, 823, 1797, 17, 31, 174, 376, 109, 448, 9, 31, 259, 20, 233, 40, 13, 8866, 8, 24629, 4865, 45, 298, 53, 232...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
JQuery Conditionally submit forms === I have a table with multiple rows. Each row is a form. I want to use JQuery to submit all the forms that have the check box checked. The form is posting to an IFrame so there is not much need for AJAX. So far I have: $("form").submit(); which submits the form. but ...
0
[ 2, 487, 8190, 93, 2874, 1326, 12298, 1997, 800, 3726, 3726, 31, 57, 21, 859, 29, 1886, 11295, 9, 206, 3131, 25, 21, 505, 9, 31, 259, 20, 275, 487, 8190, 93, 20, 12298, 65, 14, 1997, 30, 57, 14, 2631, 1649, 6505, 9, 14, 505, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Telling bugs and features apart? === Have you ever been in the situation when looking at the code you couldn’t tell if something is a bug or poorly implemented feature? Or you simply didn’t dare to fix something that looked like a definite bug to you, but were not sure if anyone already relies on the functionality be...
4
[ 2, 2497, 13925, 17, 967, 2629, 60, 800, 3726, 3726, 57, 42, 462, 74, 19, 14, 1858, 76, 699, 35, 14, 1797, 42, 711, 1, 38, 494, 100, 301, 25, 21, 6256, 54, 10614, 6807, 1580, 60, 54, 42, 1659, 223, 1, 38, 7024, 20, 6098, 301,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Mongrel::DirHandler equivalent for Passenger === I'm using Mongrel::DirHandler to control response headers for static files - this works great on my dev machine. My production machine uses Passenger so my headers aren't getting set. How do I control headers for static files when using Passenger? snippet from my env...
0
[ 2, 21028, 7256, 45, 45, 9035, 3203, 1252, 4602, 26, 3093, 800, 3726, 3726, 31, 22, 79, 568, 21028, 7256, 45, 45, 9035, 3203, 1252, 20, 569, 1627, 157, 445, 26, 12038, 6488, 13, 8, 48, 693, 374, 27, 51, 9664, 1940, 9, 51, 637, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
NetBeans IDE === I'm new to using the NetBeans IDE. When I try to look at the documentation for say the java API (example, System class), it says that the javadoc is not installed. How do I install the documentation?
0
[ 2, 4275, 863, 5950, 13, 3448, 800, 3726, 3726, 31, 22, 79, 78, 20, 568, 14, 4275, 863, 5950, 13, 3448, 9, 76, 31, 1131, 20, 361, 35, 14, 13945, 26, 395, 14, 8247, 21, 2159, 13, 5, 29041, 15, 329, 718, 6, 15, 32, 898, 30, 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, 0, 0...
Is the automated testing still referred to as smoke testing? === If not, is [smoke testing][1] still used? [1]: http://en.wikipedia.org/wiki/Smoke_test#Smoke_testing_in_software_development
0
[ 2, 25, 14, 14904, 4431, 174, 1870, 20, 28, 3371, 4431, 60, 800, 3726, 3726, 100, 52, 15, 25, 636, 26499, 4431, 500, 2558, 165, 500, 174, 147, 60, 636, 165, 500, 45, 7775, 6903, 219, 9, 17375, 26132, 9, 5583, 118, 17375, 118, 264...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
Javascript classes and DWR === I've been playing with DWR and converters for a while and I really wanted to map my Java classes to JavaScript classes. Using DWR converters, I have the option to point out what is the name of my JS constructor given a Java class. So far so good... The problem arises when my JS construct...
0
[ 2, 8247, 8741, 2684, 17, 13, 43, 7127, 800, 3726, 3726, 31, 22, 195, 74, 791, 29, 13, 43, 7127, 17, 25893, 18, 26, 21, 133, 17, 31, 510, 417, 20, 2942, 51, 8247, 2684, 20, 8247, 8741, 2684, 9, 568, 13, 43, 7127, 25893, 18, 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 you find Scrum Nokia Test useful? === It seems Scrum and Agile tests/assertions are becoming popular this year. For example, [Nokia test for Scrum][1]. [I don't think it is a good idea to have such tests at all][2]. What do you think? [1]: http://www.cedur.se/nokia_test2.html [2]: http://www.targetprocess...
0
[ 2, 107, 42, 477, 26562, 24294, 1289, 4811, 60, 800, 3726, 3726, 32, 2206, 26562, 17, 27475, 4894, 118, 22220, 3309, 18, 50, 1535, 844, 48, 159, 9, 26, 823, 15, 636, 251, 13017, 1289, 26, 26562, 500, 2558, 165, 500, 9, 636, 49, 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...
HashSet problem -- equals and hashCode with contains working differently than I'd expect === I have the following code: class IncidentTag: def __init__(self,tag): self.tag = tag def equals(self,obj): return self.tag.equals(obj.tag) def hashCode(self): ...
0
[ 2, 19170, 3554, 1448, 13, 8, 8, 2747, 18, 17, 19170, 9375, 29, 1588, 638, 12670, 119, 31, 22, 43, 4186, 800, 3726, 3726, 31, 57, 14, 249, 1797, 45, 718, 3246, 8628, 45, 6312, 13, 1, 108, 242, 1, 5, 8411, 15, 8628, 6, 45, 111...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Problem sorting lists using delgates === I am trying to sort a list using delegates but I am getting a signature match error. The compiler says I cannot convert from an 'anonymous method' List<MyType> myList = GetMyList(); myList.Sort( delegate (MyType t1, MyType t2) { return (t1.ID < t2.ID); } ); What...
0
[ 2, 1448, 2058, 68, 7227, 568, 1506, 3322, 18, 800, 3726, 3726, 31, 589, 749, 20, 2058, 21, 968, 568, 10845, 47, 31, 589, 1017, 21, 7810, 730, 7019, 9, 14, 21486, 898, 31, 1967, 8406, 37, 40, 13, 22, 210, 14016, 1291, 2109, 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...
XPath query with PHP === Here's the XML code i'm working with: <inventory> <drink> <lemonade supplier="mother" id="1"> <price>$2.50</price> <amount>20</amount> </lemonade> <lemon...
0
[ 2, 993, 8353, 25597, 29, 13, 26120, 800, 3726, 3726, 235, 22, 18, 14, 23504, 1797, 31, 22, 79, 638, 29, 45, 13, 1, 108, 6645, 7159, 1, 13, 1, 43, 10603, 1, 13, 1, 413, 13951, 546, 13078, 3726, 7, 8995, 7, 4924, 3726, 7, 165,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Redirect depending on the Country? === We basically have 2 sites ( Java /JSP / Apache Webserver) : something.ca & something.com The .ca is canadian content, and the .com is american content. We need users to be redirected based on the ip addreess. We want US users to get the .com site and Canadian users get t...
0
[ 2, 302, 14706, 4758, 27, 14, 475, 60, 800, 3726, 3726, 95, 11374, 57, 172, 3259, 13, 5, 8247, 13, 118, 728, 3401, 13, 118, 17140, 2741, 10321, 106, 6, 13, 45, 301, 9, 793, 279, 301, 9, 960, 14, 13, 9, 793, 25, 1155, 2331, 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...
What artifacts to save for a nightly build? === Assume that I set up an [automatic nightly build][1]. What artifacts of the build should I save? For example: - Input source code - output binaries Also, how long to save them for, and where to save them? Do your answers change if I do Continuous Integratio...
0
[ 2, 98, 10996, 20, 2079, 26, 21, 343, 102, 1895, 60, 800, 3726, 3726, 7158, 30, 31, 309, 71, 40, 636, 23465, 343, 102, 1895, 500, 2558, 165, 500, 9, 98, 10996, 16, 14, 1895, 378, 31, 2079, 60, 26, 823, 45, 13, 8, 6367, 1267, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Implementing wait for condition or cancel with threading === I am trying to implement the following functionality: class WeightResolver { WeightMonitor _source; bool _cancelled; Weight _threshold; public Cancel() { _cancelled = true; } public Weight Res...
0
[ 2, 17333, 1760, 26, 2874, 54, 14815, 29, 9322, 68, 800, 3726, 3726, 31, 589, 749, 20, 8713, 14, 249, 18548, 45, 718, 1763, 99, 5594, 2304, 13, 1, 1763, 2111, 242, 248, 13, 1, 12097, 73, 1607, 1823, 13, 1, 1245, 9725, 69, 73, 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...
Multiple rail apps using Apache and Mongrel === I am actually developing and application that has around 15 modules, all of them using the same database. I am using Apache + Mongrel, I cannot use Passenger because I am working on Windows (please forgive me for this deadly sin!) Which of the following is a better...
0
[ 2, 1886, 2240, 4865, 18, 568, 17140, 17, 21028, 7256, 800, 3726, 3726, 31, 589, 1121, 3561, 17, 3010, 30, 63, 140, 357, 17113, 15, 65, 16, 105, 568, 14, 205, 6018, 9, 31, 589, 568, 17140, 2754, 21028, 7256, 15, 31, 1967, 275, 30...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
CREATE TRIGGER is taking more than 30 minutes on SQL Server 2005 === On our live/production database I'm trying to add a trigger to a table, but have been unsuccessful. I have tried a few times, but it has taken more than 30 minutes for the create trigger statement to complete and I've cancelled it. The table is...
0
[ 2, 1600, 7286, 25, 741, 91, 119, 712, 902, 27, 4444, 255, 8128, 812, 800, 3726, 3726, 27, 318, 515, 118, 11386, 6018, 31, 22, 79, 749, 20, 3547, 21, 7286, 20, 21, 859, 15, 47, 57, 74, 7225, 9, 31, 57, 794, 21, 310, 436, 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...
Android API for detecting new media from inbuilt camera & mic === Is there any elegant way in the Android API for detecting new media when it is written to the device? I’m mainly interested in photos taken by the camera, video taken by the camera and audio recorded from the mic. My current thinking is to periodical...
0
[ 2, 13005, 21, 2159, 26, 9092, 68, 78, 941, 37, 19, 8607, 3336, 279, 13, 5410, 800, 3726, 3726, 25, 80, 186, 11614, 161, 19, 14, 13005, 21, 2159, 26, 9092, 68, 78, 941, 76, 32, 25, 642, 20, 14, 3646, 60, 31, 1, 79, 2011, 3158...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 connect my tomcat app to apache 2 so the paths aren't lame? === I've got a tomcat instance with several apps running on it... I want the root of my new domain to go to one of these apps (context path of blah).. so I have the following set up: <Location /> ProxyPass ajp://localhost:8025/blah ...
0
[ 2, 184, 107, 31, 6379, 51, 2067, 5782, 4865, 20, 17140, 172, 86, 14, 12074, 4847, 22, 38, 17182, 60, 800, 3726, 3726, 31, 22, 195, 330, 21, 2067, 5782, 4851, 29, 238, 4865, 18, 946, 27, 32, 9, 9, 9, 31, 259, 14, 5900, 16, 51...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Insert default value when parameter is null === I have a table that has a column with a default value: create table t ( value varchar(50) default ('something') ) I'm using a stored procedure to insert values into this table: create procedure t_insert ( @value varchar(50) = null )...
0
[ 2, 14692, 12838, 1923, 76, 18906, 25, 16203, 800, 3726, 3726, 31, 57, 21, 859, 30, 63, 21, 4698, 29, 21, 12838, 1923, 45, 1600, 859, 13, 38, 13, 5, 1923, 4033, 5433, 5, 2290, 6, 12838, 13, 5, 22, 9099, 22, 6, 13, 6, 31, 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...
Stored Procedures vs Parameterized Queries === Do you prefer to use stored procedures or parameterized queries? What is your argument supporting your choice? Is one method really any better than the other in terms of performance, security, maintainability... etc?
4
[ 2, 8214, 8876, 4611, 18906, 1333, 9386, 2829, 800, 3726, 3726, 107, 42, 6369, 20, 275, 8214, 8876, 54, 18906, 1333, 9386, 2829, 60, 98, 25, 154, 5476, 3134, 154, 1837, 60, 25, 53, 2109, 510, 186, 574, 119, 14, 89, 19, 1663, 16, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
Mapping strongly-typed DataSets in a generic FillDataSet method in C#? === I'm working on a project where I need to fill a number of strongly-typed data sets with information from stored procedures. Right now, I have a generic method in my data access layer: public static DataSet FillDataSet(DataSet dataSet, st...
0
[ 2, 13305, 5020, 8, 4474, 43, 1054, 3554, 18, 19, 21, 12733, 3509, 18768, 3554, 2109, 19, 272, 5910, 60, 800, 3726, 3726, 31, 22, 79, 638, 27, 21, 669, 113, 31, 376, 20, 3509, 21, 234, 16, 5020, 8, 4474, 43, 1054, 3415, 29, 676...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Counterpart of PHP's isset() in C/C++ === PHP has a very nice function, isset($variableName). It checks if $variableName is already defined in the program or not. Can we build similar feature for C/C++ (some kind of symbol table lookup)?
0
[ 2, 14661, 16, 13, 26120, 22, 18, 25, 3554, 5, 6, 19, 272, 118, 150, 20512, 800, 3726, 3726, 13, 26120, 63, 21, 253, 2210, 1990, 15, 25, 3554, 5, 4403, 8220, 579, 7259, 6, 9, 32, 16602, 100, 5579, 8220, 579, 7259, 25, 614, 2811...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 throw exceptions in JNI code? === I'd like a consistent and simple way to throw exceptions in JNI code; something that handles chained exceptions (implicitly from the env->ExceptionOccurred method, or explicitly by parameters, either way is good) and saves me looking up constructors every time I want to do...
0
[ 2, 246, 161, 20, 3814, 13392, 19, 487, 889, 1797, 60, 800, 3726, 3726, 31, 22, 43, 101, 21, 8224, 17, 1935, 161, 20, 3814, 13392, 19, 487, 889, 1797, 73, 301, 30, 3053, 18, 2858, 69, 13392, 13, 5, 8983, 16927, 38, 102, 37, 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...
Best XSLT Tool === I need a tool to execute XSLTs against **very large** XML files. The transforms that I am using are already well optimized.
0
[ 2, 246, 993, 18, 255, 38, 5607, 800, 3726, 3726, 31, 376, 21, 5607, 20, 15644, 993, 18, 255, 38, 18, 149, 13, 1409, 7864, 370, 1409, 23504, 6488, 9, 14, 8007, 18, 30, 31, 589, 568, 50, 614, 134, 22864, 43, 9, 3, 0, 0, 0, 0...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
Explaining refactoring === ### Question ### My question is how can you teach the methods and importance of tidying-up and refactoring code? ### Background ### I was recently working on a code review for a colleague. They had made some modifications to a long-gone colleagues work. During the new changes, my collea...
0
[ 2, 10225, 302, 17455, 68, 800, 3726, 3726, 6926, 5910, 5910, 1301, 6926, 5910, 5910, 51, 1301, 25, 184, 92, 42, 5348, 14, 3195, 17, 3728, 16, 28028, 68, 8, 576, 17, 302, 17455, 68, 1797, 60, 6926, 5910, 5910, 2395, 6926, 5910, 591...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Mixed Mode Library and CRT Dependencies - HELP === Alright, after doing a ton of research and trying almost every managed CPP Redist I can find as well as trying to copy my DLLs locally to the executing directory of the app I cannot figure out what dependencies i'm missing for this mixed mode library. Basically I h...
0
[ 2, 2198, 3740, 1248, 17, 6186, 38, 29411, 13, 8, 448, 800, 3726, 3726, 11885, 15, 75, 845, 21, 13, 444, 16, 527, 17, 749, 557, 352, 1471, 272, 3421, 402, 702, 31, 92, 477, 28, 134, 28, 749, 20, 4344, 51, 13, 43, 211, 18, 668...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Difference between lock(locker) and lock(variable_which_I_am_using) === I'm using C# & .NEt 3.5. What is the difference between the OptionA and OptionB ? class MyClass { private object m_Locker = new object(); private Dicionary<string, object> m_Hash = new Dictionary<string, object>(); ...
0
[ 2, 2841, 128, 3991, 5, 3966, 106, 6, 17, 3991, 5, 8220, 579, 1, 2140, 1, 49, 1, 765, 1, 12655, 6, 800, 3726, 3726, 31, 22, 79, 568, 272, 5910, 279, 13, 9, 2328, 203, 9, 264, 9, 98, 25, 14, 2841, 128, 14, 4255, 58, 17, 42...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Cancel a webform submit with PHP === I'm using a small site to experiment with the uploading of pictures and displaying them. When someone clicks "add a picture", they get taken to a page with a form on it. They can select a file and click the submit button. But what I want to do now is this: put a second submit...
0
[ 2, 14815, 21, 2741, 4190, 12298, 29, 13, 26120, 800, 3726, 3726, 31, 22, 79, 568, 21, 284, 689, 20, 5737, 29, 14, 71, 16866, 16, 3104, 17, 17418, 105, 9, 76, 737, 10840, 18, 13, 7, 14854, 21, 2151, 7, 15, 59, 164, 658, 20, 2...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Can C# generics have a specific base type? === Is it possible for a generic interface's type to be based on a specific parent class? For example: public interface IGenericFace<T : BaseClass> { } Obviously the above code doesn't work but if it did, what I'm trying to tell the compiler is that `T`...
0
[ 2, 92, 272, 5910, 12733, 18, 57, 21, 1903, 1000, 1001, 60, 800, 3726, 3726, 25, 32, 938, 26, 21, 12733, 6573, 22, 18, 1001, 20, 44, 432, 27, 21, 1903, 4766, 718, 60, 26, 823, 45, 317, 6573, 31, 17083, 596, 6413, 1, 38, 13, 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...
How to flush output of Python print? === I would like to force Python's print function to output to the screen.
0
[ 2, 184, 20, 15017, 5196, 16, 20059, 4793, 60, 800, 3726, 3726, 31, 83, 101, 20, 558, 20059, 22, 18, 4793, 1990, 20, 5196, 20, 14, 2324, 9, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
Control Reuse and UpdatePanel === I have a user control that is pretty basic. It contains several TextBox controls, a few DropDownList controls, a save Button and a cancel Button. I would like to use this control in two different modes. The first mode is in the normal postback mode to do the save and cancel actions. T...
0
[ 2, 569, 302, 3699, 17, 11100, 3206, 532, 800, 3726, 3726, 31, 57, 21, 4155, 569, 30, 25, 1772, 2125, 9, 32, 1588, 238, 1854, 5309, 8671, 15, 21, 310, 2804, 2968, 5739, 8671, 15, 21, 2079, 5167, 17, 21, 14815, 5167, 9, 31, 83, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Analyzing web application usage and user patterns using DB/application server logs? === I assume that most of the analyzing and tracking is done based on the data gathered from browser actions like page requests. Tools like AWStats, Google Analytics and Omniture take place in this. But there is also good amount of ...
0
[ 2, 23543, 2741, 3010, 7514, 17, 4155, 6282, 568, 13, 9007, 118, 2552, 20669, 8128, 18893, 60, 800, 3726, 3726, 31, 7158, 30, 127, 16, 14, 23543, 17, 10353, 25, 677, 432, 27, 14, 1054, 4744, 37, 16495, 3078, 101, 2478, 12279, 9, 46...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 template text from FreeMarker in Spring app === In my Spring app, I'd like to use FreeMarker to generate the text of emails that will be sent by my application. The generated text will never be returned to the view so I don't need to configure a FreeMarker view resolver. The documentation seems to indicate tha...
0
[ 2, 1017, 22894, 1854, 37, 551, 4527, 106, 19, 1573, 4865, 800, 3726, 3726, 19, 51, 1573, 4865, 15, 31, 22, 43, 101, 20, 275, 551, 4527, 106, 20, 7920, 14, 1854, 16, 8517, 18, 30, 129, 44, 795, 34, 51, 3010, 9, 14, 6756, 1854, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Keeping track of opensource/freeweare/plugins/etc. === Howdy. I'm a converting mainframe programmer with less than a year of PC programming experience (same company) with VS 2K5. I'm digging the new 'freedom' to try new tools on my PC and have become maybe what you'd call a utility packrat. I have all sorts of open ...
0
[ 2, 2882, 792, 16, 368, 12097, 118, 4639, 458, 1509, 118, 18527, 17040, 118, 1198, 150, 9, 800, 3726, 3726, 184, 1851, 9, 31, 22, 79, 21, 19583, 407, 8361, 17968, 29, 787, 119, 21, 159, 16, 5168, 3143, 1496, 13, 5, 18, 8357, 237,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 initialization list in constructors be used in template classes? === The question is simple: I find out that most books concerning c++ templates don`t tell anything about whether it`s possible or not to use initialization list in constructor of a template class. For example, I have code like this: template <cla...
0
[ 2, 92, 2104, 1829, 968, 19, 6960, 248, 18, 44, 147, 19, 22894, 2684, 60, 800, 3726, 3726, 14, 1301, 25, 1935, 45, 31, 477, 70, 30, 127, 964, 6477, 272, 20512, 22894, 18, 221, 1, 38, 494, 602, 88, 1472, 32, 1, 18, 938, 54, 52...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 Precies Times in PHP === I have noticed that regardless of a given script's execution time, every date() call will return the same timestamp regardless of where the function is called within the script. It looks like it just returns the time at which the script first started executing. For logging purposes,...
0
[ 2, 1017, 782, 10807, 436, 19, 13, 26120, 800, 3726, 3726, 31, 57, 2711, 30, 7148, 16, 21, 504, 3884, 22, 18, 5769, 85, 15, 352, 1231, 5, 6, 645, 129, 788, 14, 205, 436, 38, 10158, 7148, 16, 113, 14, 1990, 25, 227, 363, 14, 3...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
What's the difference between recycling an app pool manually vs automatically? === I've noticed that you can manually recycle an application pool via IIS and that doing so seems to slow down my web app significantly less than making changes to files in App_Code or the web.config file. Is this because recycling the ap...
0
[ 2, 98, 22, 18, 14, 2841, 128, 20777, 40, 4865, 3067, 23671, 4611, 7499, 60, 800, 3726, 3726, 31, 22, 195, 2711, 30, 42, 92, 23671, 302, 12467, 40, 3010, 3067, 1197, 595, 18, 17, 30, 845, 86, 2206, 20, 2276, 125, 51, 2741, 4865, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 resolution .ico files do XP and Vista show on the desktop? === There's loads of choices for .ico files but I can't see any logic in how Windows chooses which resolution/bit depth to show
0
[ 2, 98, 4302, 13, 9, 7776, 6488, 107, 23045, 17, 13520, 298, 27, 14, 17404, 60, 800, 3726, 3726, 80, 22, 18, 19069, 16, 10978, 26, 13, 9, 7776, 6488, 47, 31, 92, 22, 38, 196, 186, 7085, 19, 184, 1936, 3538, 18, 56, 4302, 118, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
How do I ensure a column contains one of a set of values? === I'm creating a table that looks something like this. CREATE TABLE products ( productCode char(2) , name nvarchar(100) , ... ) I want to make sure the productCode is always one of two values: XJ or XD. How do I do th...
0
[ 2, 184, 107, 31, 4062, 21, 4698, 1588, 53, 16, 21, 309, 16, 4070, 60, 800, 3726, 3726, 31, 22, 79, 2936, 21, 859, 30, 1879, 301, 101, 48, 9, 1600, 859, 1985, 13, 5, 2374, 9375, 4892, 5, 135, 6, 13, 15, 204, 13, 103, 3311, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Design for scalability/performance/security etc.. === Most of the design articles and books are focused on getting loosely coupled and highly cohesive software.. A general guideline not to design for performance but just write code that is efficient. The performance can later be fixed at hot-spots. I am talking in...
0
[ 2, 704, 26, 18957, 4091, 118, 22528, 118, 17749, 2722, 9, 9, 800, 3726, 3726, 127, 16, 14, 704, 3376, 17, 964, 50, 2604, 27, 1017, 13166, 13420, 17, 2157, 29611, 2306, 9, 9, 21, 297, 3378, 1143, 52, 20, 704, 26, 956, 47, 114, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
What is a good non-WYSIWYG editor for HTML? === I don't like WYIWYG editors, I want to be responsible for the selection and placement of each tag and attribute! Is there a good editor out there that allows you complete control over the HTML but offers useful features such as: - syntax highlighting (of course) ...
0
[ 2, 98, 25, 21, 254, 538, 8, 7913, 18, 49, 7913, 263, 1835, 26, 13, 15895, 60, 800, 3726, 3726, 31, 221, 22, 38, 101, 5809, 49, 7913, 263, 12149, 15, 31, 259, 20, 44, 1864, 26, 14, 3155, 17, 10774, 16, 206, 3383, 17, 35, 1475...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 is Wikipedia's example of an unbalanced AVL tree really unbalanced? === ![alt text][1] The image above is from ["Wikipedia's entry on AVL trees"][2] which Wikipedia indicates is unbalanced. How is this tree not balanced already? Here's a quote from the article: > The balance factor of a node is the height...
0
[ 2, 184, 25, 20169, 22, 18, 823, 16, 40, 367, 24140, 43, 21, 15143, 1541, 510, 367, 24140, 43, 60, 800, 3726, 3726, 13, 187, 2558, 192, 38, 1854, 500, 2558, 165, 500, 14, 1961, 784, 25, 37, 636, 7, 17375, 26132, 22, 18, 2792, 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...
Does foreach always create a copy on a none reference in PHP? === I'm wondering if PHP has this optimization built in. Normally when you call foreach without using a reference it copies the passed array and operates on it. What happens if the reference count to that array is only 1? Say for example if getData ret...
0
[ 2, 630, 26, 14322, 550, 1600, 21, 4344, 27, 21, 2369, 2801, 19, 13, 26120, 60, 800, 3726, 3726, 31, 22, 79, 5712, 100, 13, 26120, 63, 48, 21597, 392, 19, 9, 4147, 76, 42, 645, 26, 14322, 366, 568, 21, 2801, 32, 3298, 14, 1100,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Can I have multiple cases that do the same thing? === The first one is definitely something that works, but which one below is the efficient way? switch($type) { case 1: print 'success'; break; case 2: print 'success'; break; case 3: print 'succes...
0
[ 2, 92, 31, 57, 1886, 1871, 30, 107, 14, 205, 584, 60, 800, 3726, 3726, 14, 64, 53, 25, 4939, 301, 30, 693, 15, 47, 56, 53, 1021, 25, 14, 8243, 161, 60, 5521, 5, 4403, 4474, 6, 13, 1, 610, 6352, 4793, 13, 22, 29245, 22, 73,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Make python enter password when running a csh script === I'm writing a python script that executes a csh script in Solaris 10. The csh script prompts the user for the root password (which I know) but I'm not sure how to make the python script answer the prompt with the password. Is this possible? Here is what I'm usin...
0
[ 2, 233, 20059, 2830, 20884, 76, 946, 21, 272, 1635, 3884, 800, 3726, 3726, 31, 22, 79, 1174, 21, 20059, 3884, 30, 15644, 18, 21, 272, 1635, 3884, 19, 4535, 403, 332, 9, 14, 272, 1635, 3884, 11443, 13531, 14, 4155, 26, 14, 5900, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
type casting in c++ === May be the question will be a little bit nubie, but can anybody advice me some books/sites/articles about how and when it`s better to use typecasting in c++ style and when it`d be better to prefer c-style? I`ve read a few books (Shildt, Eckel) and haven`t found good material on this theme thoug...
0
[ 2, 1001, 9087, 19, 272, 20512, 800, 3726, 3726, 123, 44, 14, 1301, 129, 44, 21, 265, 1142, 3152, 5893, 15, 47, 92, 11181, 4978, 55, 109, 964, 118, 18, 6359, 118, 20360, 18, 88, 184, 17, 76, 32, 1, 18, 574, 20, 275, 1001, 6146,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
visual studio post-build script error calling gacutil. === I'm on vista, with VS2005 running as admin. Both vs2005 and vs2008 are installed. If I explicitedly use the path to gacutil, it works, but not if I only call gacutil like this: if NOT $(ConfigurationName) == Release gacutil /f /i "$(TargetPath)" ...
0
[ 2, 3458, 1120, 678, 8, 29361, 3884, 7019, 2555, 4369, 150, 14255, 9, 800, 3726, 3726, 31, 22, 79, 27, 13520, 15, 29, 4611, 2835, 946, 28, 21, 43, 2160, 9, 156, 4611, 2835, 17, 4611, 2753, 50, 4066, 9, 100, 31, 14990, 69, 102, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 tell a ScrollPane to scroll up or down using actionscript? === I want to trigger an event that causes the ScrollPane to start scrolling up or down. Ideally the ScrollPane would scroll continue to scroll all the way up or down unless canceled by another event.
0
[ 2, 184, 107, 42, 494, 21, 12159, 16660, 20, 12159, 71, 54, 125, 568, 1028, 8741, 60, 800, 3726, 3726, 31, 259, 20, 7286, 40, 807, 30, 4047, 14, 12159, 16660, 20, 799, 13, 28166, 71, 54, 125, 9, 5628, 102, 14, 12159, 16660, 83, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
What is the advantage of this peculiar formatting? === I've seen this format used for comma-delimited lists in some C++ code (although this could apply to any language): void function( int a , int b , int c ) I was wondering why would someone use that ...
0
[ 2, 98, 25, 14, 3314, 16, 48, 13193, 2595, 1203, 60, 800, 3726, 3726, 31, 22, 195, 541, 48, 2595, 147, 26, 11951, 58, 8, 546, 23012, 7227, 19, 109, 272, 20512, 1797, 13, 5, 8655, 48, 110, 5645, 20, 186, 816, 6, 45, 11364, 1990,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Membership and Role Providers in ASP.NET 2.0 with non SQL Server provider? === I have quickly read (and will read with more care soon) the article of Scott Allen concerning the possibility to use an other provider of the default SQL Express or SQL Server database to use the "[Membership and Role Providers][1]" for ASP...
0
[ 2, 4363, 17, 597, 13488, 19, 28, 306, 9, 2328, 172, 9, 387, 29, 538, 4444, 255, 8128, 11747, 60, 800, 3726, 3726, 31, 57, 976, 1302, 13, 5, 290, 129, 1302, 29, 91, 781, 651, 6, 14, 2002, 16, 1824, 3675, 6477, 14, 4813, 20, 2...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Loading flatfiles into a normalized MySQL database === What is the fastest way to load data from flatfiles into a MySQL database, and then create the relations between the tables via foreign keys? For example... I have a flat file in the format: "INDIVIDUAL1", "CEU", "rs55555","AA" "INDIVIDUAL1", ...
0
[ 2, 12797, 1844, 16877, 18, 77, 21, 1826, 1333, 51, 18, 22402, 6018, 800, 3726, 3726, 98, 25, 14, 7518, 161, 20, 6305, 1054, 37, 1844, 16877, 18, 77, 21, 51, 18, 22402, 6018, 15, 17, 94, 1600, 14, 2649, 128, 14, 7484, 1197, 1228,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Given a list of variables in Python, how do I a create a dictionary with the variable names as keys? === I have a list of variables, like this: [foo, bar, baz] How do I convert this to a dictionary where the keys are the variable names (as strings) and the values are the variables? {'foo': foo, 'bar':...
0
[ 2, 504, 21, 968, 16, 12157, 19, 20059, 15, 184, 107, 31, 21, 1600, 21, 9186, 29, 14, 7612, 1817, 28, 5534, 60, 800, 3726, 3726, 31, 57, 21, 968, 16, 12157, 15, 101, 48, 45, 636, 4120, 111, 15, 748, 15, 19674, 500, 184, 107, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
WebControl in website project === I have created a website project in VS2008 and in the appcode folder I have created a class deriving from System.Web.UI.WebControls.WebControl. I need to use this control in one of my webforms. I can't figure out how to.
0
[ 2, 2741, 12898, 19, 2271, 669, 800, 3726, 3726, 31, 57, 679, 21, 2271, 669, 19, 4611, 2753, 17, 19, 14, 4865, 9375, 19294, 31, 57, 679, 21, 718, 121, 9655, 68, 37, 329, 9, 14113, 9, 5661, 9, 14113, 12898, 18, 9, 14113, 12898, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
retrieve xml doc comments programmatically === Visual Studio does it; Reflector does it; and now I want to as well :) I want to retrieve the xml documentation for some members in some framework assemblies (i.e. `mscorlib.dll`, `System.dll`, etc). I assume this would involve: * finding the xml file for the asse...
0
[ 2, 11917, 23504, 9765, 7534, 625, 6732, 1326, 800, 3726, 3726, 3458, 1120, 630, 32, 73, 6907, 248, 630, 32, 73, 17, 130, 31, 259, 20, 28, 134, 13, 45, 6, 31, 259, 20, 11917, 14, 23504, 13945, 26, 109, 443, 19, 109, 6596, 21066, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 would be the most convenient way to connect Visual Studio 2005 (C#) to Oracle8? === I'm looking for best practices for establishing connections between Oracle 8 and Visual Studio 2005 applications. The target would be a Windows Forms application written in C# that hits the database once a second to monitor tables...
0
[ 2, 98, 83, 44, 14, 127, 12845, 161, 20, 6379, 3458, 1120, 812, 13, 5, 150, 5910, 6, 20, 15759, 457, 60, 800, 3726, 3726, 31, 22, 79, 699, 26, 246, 5242, 26, 6814, 6760, 128, 15759, 469, 17, 3458, 1120, 812, 3767, 9, 14, 2935, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Need an example explaining why use of comparision operands != and == is considered bad practice in JavaScript. === As I've read somewhere it is advised to use !== and === instead.
0
[ 2, 376, 40, 823, 10225, 483, 275, 16, 6479, 14688, 872, 1877, 706, 18, 13, 187, 3726, 17, 800, 3726, 25, 724, 896, 1345, 19, 8247, 8741, 9, 800, 3726, 3726, 28, 31, 22, 195, 1302, 3493, 32, 25, 10017, 20, 275, 13, 187, 3726, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...