unified_texts
stringlengths
32
30.1k
OpenStatus_id
int64
0
4
input_ids
list
token_type_ids
list
attention_mask
list
X forwarding? === How could I forward the X window output from a program under Linux (Debian Lenny)? Any suggestions and / or experience? The easiest way would be to restart the process with a new DISPLAY enviroment variable, but I don't want to take down the process at all. What I'd like is to change the X output ...
0
[ 2, 993, 917, 68, 60, 800, 3726, 3726, 184, 110, 31, 917, 14, 993, 1463, 5196, 37, 21, 625, 131, 13024, 13, 5, 546, 10035, 23364, 6, 60, 186, 18389, 17, 13, 118, 54, 1496, 60, 14, 27237, 161, 83, 44, 20, 22767, 14, 953, 29, 2...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Is it possible to insert a mult-line code snippet relative to the cursor position in Visual Studio? === When using code snippets in Visual Studio that contain multiple lines the following lines will preserve the whitespace that was set in the .snippet file instead of positioning the code relative to the original curso...
0
[ 2, 25, 32, 938, 20, 14692, 21, 6633, 38, 8, 1143, 1797, 13, 29061, 4543, 20, 14, 29588, 649, 19, 3458, 1120, 60, 800, 3726, 3726, 76, 568, 1797, 13, 29061, 18, 19, 3458, 1120, 30, 3717, 1886, 1560, 14, 249, 1560, 129, 6224, 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...
Running WatIn on TeamCity === I'm trying to run a simple WatIn test through TeamCity but the IExplorer window is never shown. Like it is usally through CruiseControl. I get an error that it can't find a text field so something is running. But i can't see what with out the window. Is there a specific setup of Tea...
0
[ 2, 946, 15553, 108, 27, 173, 5788, 800, 3726, 3726, 31, 22, 79, 749, 20, 485, 21, 1935, 15553, 108, 1289, 120, 173, 5788, 47, 14, 31, 6899, 7386, 106, 1463, 25, 243, 1721, 9, 101, 32, 25, 182, 1326, 120, 6581, 12898, 9, 31, 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, 1, 1, 1, 1, 1, 1, 1, 1...
jsp utf encoding === I'm having a hard time figuring out how to handle this problem: I'm developing a web tool for an Italian university, and I have to display words with accents (such as è, ù, ...); sometimes I get these words from a PostgreSql table (UTF8-encoded), but mostly I have to read long passages from a f...
0
[ 2, 487, 3401, 287, 11720, 19608, 800, 3726, 3726, 31, 22, 79, 452, 21, 552, 85, 25379, 70, 184, 20, 3053, 48, 1448, 45, 31, 22, 79, 3561, 21, 2741, 5607, 26, 40, 1186, 155, 15, 17, 31, 57, 20, 3042, 715, 29, 7980, 18, 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...
Can a python script persistently change a Windows environment variable? (elegantly) === Following on from my [previous question][1], is it possible to make a Python script which persistently changes a Windows environment variable? Changes to os.environ do not persist once the python interpreter terminates. If I we...
0
[ 2, 92, 21, 20059, 3884, 15348, 102, 753, 21, 1936, 2307, 7612, 60, 13, 5, 532, 9652, 38, 102, 6, 800, 3726, 3726, 249, 27, 37, 51, 636, 3515, 1755, 1291, 1301, 500, 2558, 165, 500, 15, 25, 32, 938, 20, 233, 21, 20059, 3884, 56...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How does IE7's "View Source" button interact with javascript? === I'm debugging someone else's code for a web page that is made with ASP.NET with some javascript effects. It's a form that we are pre-populating with edit-able data, and one of the text boxes is getting populated with an incorrect value. I know that ...
0
[ 2, 184, 630, 13, 660, 465, 22, 18, 13, 7, 4725, 1267, 7, 5167, 10001, 29, 8247, 8741, 60, 800, 3726, 3726, 31, 22, 79, 121, 16254, 2762, 737, 962, 22, 18, 1797, 26, 21, 2741, 2478, 30, 25, 117, 29, 28, 306, 9, 2328, 29, 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...
Why can't I get a decent function browser in Visual Studio 2008? === There is no way to list the functions in a C++ solution for me... I have a class browser but that isn't helpful since this project has no classes. I need a simple list of all the functions in a c++ file and then just double click one to jump to its s...
0
[ 2, 483, 92, 22, 38, 31, 164, 21, 12238, 1990, 16495, 19, 3458, 1120, 570, 60, 800, 3726, 3726, 80, 25, 90, 161, 20, 968, 14, 3719, 19, 21, 272, 20512, 4295, 26, 55, 9, 9, 9, 31, 57, 21, 718, 16495, 47, 30, 2532, 22, 38, 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...
vi / vim - how to set the tab label/title length to a fixed size in chars === As I open new tabs in vi/vim(7.2), if the opened files are in different paths the tab title displays the complete path and hogs the screen real estate so the other tabs are not visible. This means I can't use my mouse to click to the tab I w...
0
[ 2, 1790, 13, 118, 1790, 79, 13, 8, 184, 20, 309, 14, 6523, 1899, 118, 22235, 1476, 20, 21, 3535, 1072, 19, 4892, 18, 800, 3726, 3726, 28, 31, 368, 78, 6523, 18, 19, 1790, 118, 1755, 79, 5, 465, 9, 135, 6, 15, 100, 14, 520, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Check numeric in DerivedColumn Data Flow Task in SSIS === Is there any way where I can check if the field is numeric in derived column/Conditional Split of the data Flow task in Sql Server Integration Services 2005. Functionality should be like ISNUMERIC() function. Currently I'm using `((DT_NUMERIC,12,0)fi...
0
[ 2, 2631, 15764, 596, 19, 3981, 716, 4404, 103, 1054, 3312, 3005, 19, 13, 18, 4557, 800, 3726, 3726, 25, 80, 186, 161, 113, 31, 92, 2631, 100, 14, 575, 25, 15764, 596, 19, 3981, 4698, 118, 22141, 192, 2132, 16, 14, 1054, 3312, 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...
Rails - make_resourceful with nested resources === I am using the [make_resourceful][1] plugin in my Rails app, and attempting to use nested resources. My controller code looks like this: class ClientRegionsController < ApplicationController make_resourceful do actions :all belongs_t...
0
[ 2, 2240, 18, 13, 8, 233, 1, 99, 12097, 1566, 29, 5618, 69, 2566, 800, 3726, 3726, 31, 589, 568, 14, 636, 11115, 1, 99, 12097, 1566, 500, 2558, 165, 500, 10922, 108, 19, 51, 2240, 18, 4865, 15, 17, 6314, 20, 275, 5618, 69, 2566...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
noscript tag, I need to present alternative html if not enabled. === Is it possible to replace javascript w/ HTML if JavaScript is not enabled on the user's browser? I know I can use <noscript>this displays in place of javascript</noscript> That works fine, but it still runs the javascript. In theory I would ...
0
[ 2, 90, 8741, 3383, 15, 31, 376, 20, 734, 2676, 13, 15895, 100, 52, 9338, 9, 800, 3726, 3726, 25, 32, 938, 20, 3934, 8247, 8741, 619, 118, 13, 15895, 100, 8247, 8741, 25, 52, 9338, 27, 14, 4155, 22, 18, 16495, 60, 31, 143, 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...
WCF service with PHP client - complex type as parameter not working === I have a WCF service with three methods. Two of the methods return custom types (these work as expected), and the third method takes a custom type as a parameter and returns a boolean. When calling the third method via a PHP soap client it retur...
0
[ 2, 11801, 410, 365, 29, 13, 26120, 6819, 13, 8, 1502, 1001, 28, 18906, 52, 638, 800, 3726, 3726, 31, 57, 21, 11801, 410, 365, 29, 132, 3195, 9, 81, 16, 14, 3195, 788, 5816, 2551, 13, 5, 11836, 170, 28, 1727, 6, 15, 17, 14, 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...
ASP.NET Membership Password? === If I require a password to be between 7 and 16 characters and contain at least 1 numeric password and then send a temporary password that contains no numeric characters and % signs and the ^ sign, will the password fail?
0
[ 2, 28, 306, 9, 2328, 4363, 20884, 60, 800, 3726, 3726, 100, 31, 4077, 21, 20884, 20, 44, 128, 453, 17, 347, 1766, 17, 3717, 35, 639, 137, 15764, 596, 20884, 17, 94, 2660, 21, 4700, 20884, 30, 1588, 90, 15764, 596, 1766, 17, 13, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
Best language to program some math? (free, fast, easy, cool, etc) === Im trying to teach some guys who dont know much of programming and need to do lots of math. We need to optimize some functions using derivates, max, min and some sums. But then again we are talking of functions, not numbers, so i was going to te...
0
[ 2, 246, 816, 20, 625, 109, 5057, 60, 13, 5, 4639, 15, 1512, 15, 2010, 15, 2700, 15, 2722, 6, 800, 3726, 3726, 797, 749, 20, 5348, 109, 2776, 72, 1049, 143, 212, 16, 3143, 17, 376, 20, 107, 7503, 16, 5057, 9, 95, 376, 20, 228...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
MS Outlook CDO/MAPI Blocking Python File Output? === Here is an example of the problem I am running into. I am using the Python Win32 extensions to access an Outlook mailbox and retrieve messages. Below is a script that should write "hello world" to a text file. I need to grab some messages from an Outlook mailbo...
0
[ 2, 4235, 19837, 272, 537, 118, 15022, 49, 11828, 20059, 3893, 5196, 60, 800, 3726, 3726, 235, 25, 40, 823, 16, 14, 1448, 31, 589, 946, 77, 9, 31, 589, 568, 14, 20059, 628, 3125, 17529, 20, 1381, 40, 19837, 4216, 5309, 17, 11917, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Polymorphic Domain Objects Based On Data Mapper === I have a basic domain object, say like Person or Campaign or Event that is represented by a single table in the database. However, I also have more complicated versions of these objects say like a PersonCampaign or PersonEvent or even CampaignEvent that could theoret...
0
[ 2, 3446, 12498, 596, 4603, 3916, 432, 27, 1054, 2942, 1432, 800, 3726, 3726, 31, 57, 21, 2125, 4603, 3095, 15, 395, 101, 840, 54, 1150, 54, 807, 30, 25, 1622, 34, 21, 345, 859, 19, 14, 6018, 9, 207, 15, 31, 67, 57, 91, 8343, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Django settings.EMAIL_HOST_USER problem === I need some help regarding django emailing. I have set the settings.EMAIL_HOST_USER to 'do-not-re...@mysite.com' and whenever I am trying to send an email in any context, its taking the 'do-not- re...@mysite.com' as from address and sending it, eventhough I supply a diff...
0
[ 2, 3857, 14541, 12410, 9, 62, 8079, 1, 11694, 1, 16704, 1448, 800, 3726, 3726, 31, 376, 109, 448, 3467, 3857, 14541, 8517, 68, 9, 31, 57, 309, 14, 12410, 9, 62, 8079, 1, 11694, 1, 16704, 20, 13, 22, 537, 8, 1270, 8, 99, 9, 9...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Best way to import/export a Apache Jackrabbit repository === What is the best way to import/export data from a Apache Jackrabbit repository? Right now, I have a website based on a repository with over 100GB data in a server but I frequently need to take a subset of this data in my notebook for in-loco demonstration...
0
[ 2, 246, 161, 20, 9010, 118, 1706, 1993, 21, 17140, 1040, 13585, 3326, 24869, 800, 3726, 3726, 98, 25, 14, 246, 161, 20, 9010, 118, 1706, 1993, 1054, 37, 21, 17140, 1040, 13585, 3326, 24869, 60, 193, 130, 15, 31, 57, 21, 2271, 432,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 approach to kicking off an SSIS package from asp.net? === I need to fire off an SSIS package when a specific action occurs - what is the best approach in webforms.
0
[ 2, 98, 25, 14, 246, 2141, 20, 11228, 168, 40, 13, 18, 4557, 6030, 37, 28, 306, 9, 2328, 60, 800, 3726, 3726, 31, 376, 20, 535, 168, 40, 13, 18, 4557, 6030, 76, 21, 1903, 1028, 3690, 13, 8, 98, 25, 14, 246, 2141, 19, 2741, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
Easiest way to create a virtual LAMP machine on Windows XP? === I need to set up a test environment on my XPSP3 machine that runs Apache, MySQL, and PHP. My original test environment was an old box that ran those three under Win2k. That box died. Running on Windows was never optimal because the ultimate hosting enviro...
0
[ 2, 27237, 161, 20, 1600, 21, 6599, 6792, 1940, 27, 1936, 23045, 60, 800, 3726, 3726, 31, 376, 20, 309, 71, 21, 1289, 2307, 27, 51, 23045, 3401, 240, 1940, 30, 1461, 17140, 15, 51, 18, 22402, 15, 17, 13, 26120, 9, 51, 501, 1289, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 Service Inter-Communication Problem === I am currently building two windows services: - The first takes messages from an internet connection and inserts these into a database. This is designed to be fast and stable and not do any other processing - The second reads these messages and does extra p...
0
[ 2, 7099, 365, 1480, 8, 25600, 1448, 800, 3726, 3726, 31, 589, 871, 353, 81, 1936, 687, 45, 13, 8, 14, 64, 1384, 7561, 37, 40, 2620, 2760, 17, 14692, 18, 158, 77, 21, 6018, 9, 48, 25, 1006, 20, 44, 1512, 17, 4521, 17, 52, 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...
DDD vs TDD === Which one offers more advantages for a large software, say like Photoshop? Also by TDD I don't mean just unit tests, because you can use unit tests in DDD too, just not the same way TDD does.
0
[ 2, 13, 43, 8096, 4611, 15596, 43, 800, 3726, 3726, 56, 53, 2486, 91, 14683, 26, 21, 370, 2306, 15, 395, 101, 7064, 5347, 60, 67, 34, 15596, 43, 31, 221, 22, 38, 884, 114, 1237, 4894, 15, 185, 42, 92, 275, 1237, 4894, 19, 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, 0, 0, 0, 0...
best way to call INotifyPropertyChanged's PropertyChanged event === When you implement the INotifyPropertyChanged interface, you're responsible for calling the PropertyChanged event each and everytime a property is updated in the class. This typically leads to the following code : public class MyClass: I...
0
[ 2, 246, 161, 20, 645, 19, 2779, 8612, 10890, 106, 1084, 16229, 43, 22, 18, 1354, 16229, 43, 807, 800, 3726, 3726, 76, 42, 8713, 14, 19, 2779, 8612, 10890, 106, 1084, 16229, 43, 6573, 15, 42, 22, 99, 1864, 26, 2555, 14, 1354, 162...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
JPA EntityManager find with case sensitive key === I'm trying to use the JPA EntityManager find() method. My primary key is a string which corresponds to a user's name. I am using JPA / Hibernate / MYSQL. My problem is a search for user 'David' matches user 'david' due, I assume, to the case insensitive string ...
0
[ 2, 487, 1060, 9252, 22256, 477, 29, 610, 7830, 1246, 800, 3726, 3726, 31, 22, 79, 749, 20, 275, 14, 487, 1060, 9252, 22256, 477, 5, 6, 2109, 9, 51, 1256, 1246, 25, 21, 3724, 56, 17016, 20, 21, 4155, 22, 18, 204, 9, 31, 589, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Dynamic Form Content with Dojo (Zend_Dojo) === How can I load content depending on the selection of a selection box? I want to load an array from the controller in php, and use it on the javascript, I don't know if I need to put that array in javascript, I guess that Zend_Dojo takes care of that for me. My question...
0
[ 2, 7782, 505, 2331, 29, 107, 1636, 13, 5, 4257, 43, 1, 537, 1636, 6, 800, 3726, 3726, 184, 92, 31, 6305, 2331, 4758, 27, 14, 3155, 16, 21, 3155, 1649, 60, 31, 259, 20, 6305, 40, 7718, 37, 14, 9919, 19, 13, 26120, 15, 17, 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...
How can I request the database product name with ADO.NET? === I develop a product with a custom database configuration. I use ADO.NET with System.Data.Odbc.OdbcConnection for it. To make some differences between the databases is there a simple solution to detect the current DBMS of a connection.
0
[ 2, 184, 92, 31, 3772, 14, 6018, 2374, 204, 29, 21, 537, 9, 2328, 60, 800, 3726, 3726, 31, 2803, 21, 2374, 29, 21, 5816, 6018, 8091, 9, 31, 275, 21, 537, 9, 2328, 29, 329, 9, 18768, 9, 5648, 7229, 9, 5648, 7229, 25996, 872, 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...
How do you unit test regular expressions? === I'm new to TDD, and I find RegExp quite a particular case. Is there any special way to unit test them, or may I just threat them as regular functions?
0
[ 2, 184, 107, 42, 1237, 1289, 1290, 13832, 60, 800, 3726, 3726, 31, 22, 79, 78, 20, 15596, 43, 15, 17, 31, 477, 7953, 6899, 1450, 21, 1498, 610, 9, 25, 80, 186, 621, 161, 20, 1237, 1289, 105, 15, 54, 123, 31, 114, 3603, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
How can I specify an capture group in this RegEx? === **How can I fix this RegEx to optionally capture a file extension?** I am trying to match a string with an optional component, but something appears to be wrong. (The strings being matched are from a printer log.) <br>My RegEx is as follows: .*(header_...
0
[ 2, 184, 92, 31, 19077, 40, 3683, 214, 19, 48, 7953, 1706, 60, 800, 3726, 3726, 13, 1409, 1544, 92, 31, 6098, 48, 7953, 1706, 20, 12832, 102, 3683, 21, 3893, 3896, 60, 1409, 31, 589, 749, 20, 730, 21, 3724, 29, 40, 12832, 5912, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Wix major upgrade === How do I use WIX to prevent overwriting a config file during a 'Major Upgrade'? I want the file to be installed on the initial install, removed on uninstall, and left unchanged on a 'Major Upgrade'. Thanks
0
[ 2, 4807, 396, 394, 9483, 800, 3726, 3726, 184, 107, 31, 275, 4807, 396, 20, 2501, 84, 12646, 21, 13, 14093, 2816, 3893, 112, 21, 13, 22, 14071, 9483, 22, 60, 31, 259, 14, 3893, 20, 44, 4066, 27, 14, 2104, 16146, 15, 1974, 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, 0, 0...
php matchmaker === I was thinking it be cool to have a simple matchmaker code in php. The idea is the app connect to the server or a specific webpage, the webpage takes it IP and the last X ips and prints it on page (his first) problem is what happens when 5 ppl hit the page the same second. How do i handle it? i c...
0
[ 2, 13, 26120, 730, 6466, 800, 3726, 3726, 31, 23, 1440, 32, 44, 2700, 20, 57, 21, 1935, 730, 6466, 1797, 19, 13, 26120, 9, 14, 882, 25, 14, 4865, 6379, 20, 14, 8128, 54, 21, 1903, 2741, 6486, 15, 14, 2741, 6486, 1384, 32, 1573...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How do you check if a user has access rights for a file with the windows api === I am trying to write a simple function for windows that answers the following question. Does user (U) have rights (R) on file (F)? <br> Where,<br>    R is some combination of (GENERIC*_*READ, GENERIC*_*WRITE, GENERIC*_*EXECUTE) <br...
0
[ 2, 184, 107, 42, 2631, 100, 21, 4155, 63, 1381, 1096, 26, 21, 3893, 29, 14, 1936, 21, 2159, 800, 3726, 3726, 31, 589, 749, 20, 2757, 21, 1935, 1990, 26, 1936, 30, 6709, 14, 249, 1301, 9, 630, 4155, 13, 5, 291, 6, 57, 1096, 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...
Visual Studio 2008 Emacs Mode === When using emacs mode in Visual Studio 2008 the tab key no longer inserts tabs. It simply formats the current line. It is possible to remap tab to Edit.IncreaseIndent but this has many undesirable side effects. Has anyone else experienced this? If so is there a fix/hack? Also I hav...
0
[ 2, 3458, 1120, 570, 13, 62, 6893, 18, 3740, 800, 3726, 3726, 76, 568, 13, 62, 6893, 18, 3740, 19, 3458, 1120, 570, 14, 6523, 1246, 90, 1045, 14692, 18, 6523, 18, 9, 32, 1659, 13767, 14, 866, 293, 9, 32, 25, 938, 20, 302, 15022...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Get MySQL columns width ? === I was wondering if I can somehow convert a column header text form MySQL into actial width size pixels. I am trying to generate a PDF from the database and I want it to automatically adjust column widths. As I will use it for many tables, the width must differ so I should be able to see i...
0
[ 2, 164, 51, 18, 22402, 7498, 9456, 13, 60, 800, 3726, 3726, 31, 23, 5712, 100, 31, 92, 3625, 8406, 21, 4698, 157, 106, 1854, 505, 51, 18, 22402, 77, 601, 2815, 9456, 1072, 18146, 18, 9, 31, 589, 749, 20, 7920, 21, 13, 11124, 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...
WCF Bindings === So, I have a WCF service that is listening on both net.tcp and net.pipe. I've generated a WCF proxy client, and I'd like it to be able to connect via tcp or named pipe. I don't want the config in app.config, but in code. The WCF client will get the endpoint address at runtime, so something like "ne...
0
[ 2, 11801, 410, 8728, 18, 800, 3726, 3726, 86, 15, 31, 57, 21, 11801, 410, 365, 30, 25, 4948, 27, 156, 4275, 9, 38, 7439, 17, 4275, 9, 15185, 9, 31, 22, 195, 6756, 21, 11801, 410, 27188, 6819, 15, 17, 31, 22, 43, 101, 32, 20,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
calculate exponential moving average in python === I have a range of dates and a measurement on each of those dates. I'd like to calculate an exponential moving average for each of the dates. Does anybody know how to do this? I'm new to python. It doesn't appear that averages are built into the standard python l...
0
[ 2, 18469, 22705, 1219, 862, 19, 20059, 800, 3726, 3726, 31, 57, 21, 978, 16, 4076, 17, 21, 11688, 27, 206, 16, 273, 4076, 9, 31, 22, 43, 101, 20, 18469, 40, 22705, 1219, 862, 26, 206, 16, 14, 4076, 9, 630, 11181, 143, 184, 20,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
ASP.NET -> WCF Service requires Windows authentication === I've been tasked with building a basic admin app. The app needs an ASP.NET front end which talks to a number of back end services using WCF. One requirement is that the users of the app are authenticated using Windows authentication. I can do this no probl...
0
[ 2, 28, 306, 9, 2328, 13, 8, 1, 11801, 410, 365, 4781, 1936, 27963, 800, 3726, 3726, 31, 22, 195, 74, 14605, 29, 353, 21, 2125, 21, 43, 2160, 4865, 9, 14, 4865, 2274, 40, 28, 306, 9, 2328, 431, 241, 56, 7837, 20, 21, 234, 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, 1, 1, 1, 1, 1, 1, 1, 1...
Using the Single Responsibility Principle in the "real world" === I basically want to get an idea of the percentage of people who think it's reasonable to use the Single Responsibility Principle in real-world code **and** how many actually do. In [Podcast #38][1] Joel talks about how useless this OOP principle is the...
4
[ 2, 568, 14, 345, 4024, 5897, 19, 14, 13, 7, 7467, 126, 7, 800, 3726, 3726, 31, 11374, 259, 20, 164, 40, 882, 16, 14, 5780, 16, 148, 72, 277, 32, 22, 18, 9954, 20, 275, 14, 345, 4024, 5897, 19, 683, 8, 4423, 1797, 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...
C++; refactoring the class === I have a class A which implements many functions. Class A is very stable. Now I have a new feature requirement, some of whose functionality matches that implemented by A. I cannot directly inherit my new class from class A, as that would bring lot of redundancy into my new class. ...
0
[ 2, 272, 20512, 73, 302, 17455, 68, 14, 718, 800, 3726, 3726, 31, 57, 21, 718, 21, 56, 8713, 18, 151, 3719, 9, 718, 21, 25, 253, 4521, 9, 130, 31, 57, 21, 78, 1580, 8981, 15, 109, 16, 1196, 18548, 1717, 30, 6807, 34, 21, 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...
Eclipse PHP IDE annoyance === This is such a petty little issue, but it annoys the heck out of me. I'm using Eclipse Version: 3.3.0 (Build id: I20070625-1500). In particular, PHPeclipse 1.2.0.200807121925PRD. So here's the issue, when I'm within an echo " "; statement (typing some markup within the quotation mark...
0
[ 2, 11652, 13, 26120, 13, 3448, 20106, 800, 3726, 3726, 48, 25, 145, 21, 12839, 265, 1513, 15, 47, 32, 13, 28328, 18, 14, 16490, 70, 16, 55, 9, 31, 22, 79, 568, 11652, 615, 45, 203, 9, 240, 9, 387, 13, 5, 29361, 4924, 45, 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 set the character encoding in a yaml file === We are working with the simple backend for the new Rails 2.2 i18n system, and I wanted to know the proper syntax for setting the encoding in a yaml file. On other words what is the yaml for this xml: <?xml encoding="UTF-8" ?>
0
[ 2, 184, 20, 309, 14, 925, 19608, 19, 21, 2167, 8184, 3893, 800, 3726, 3726, 95, 50, 638, 29, 14, 1935, 97, 2451, 26, 14, 78, 2240, 18, 172, 9, 135, 31, 1087, 103, 329, 15, 17, 31, 417, 20, 143, 14, 4119, 22649, 26, 2697, 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...
SQL summing with difference === My SQL I have is: SELECT ep.employeeID, ep.punchdate, rc.creditAmount FROM EmployeePunch ep INNER JOIN ResponderCredit rc ON rc.employeeID = ep.employeeID AND rc.punchdate = rc.creditdate ORDER BY ep.employeeID and get a result set: EmployeeID Date ...
0
[ 2, 4444, 255, 3907, 3863, 29, 2841, 800, 3726, 3726, 51, 4444, 255, 31, 57, 25, 45, 5407, 2579, 9, 1503, 13221, 3616, 14138, 15, 2579, 9, 13562, 673, 8209, 15, 16462, 9, 21740, 58, 9780, 37, 7362, 13562, 673, 2579, 3754, 1865, 459...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Trigger animation extender with timer === I am using the asp.net ajax libray, and i'm trying to get an animation extender to trigger from a timer. Basicly i'm going to use the timer to lookup some info, and if the relevent info is found use an animation extender to tell the user about it. I can get the animation to...
0
[ 2, 7286, 6236, 7206, 106, 29, 85, 139, 800, 3726, 3726, 31, 589, 568, 14, 28, 306, 9, 2328, 20624, 13, 8326, 2787, 15, 17, 31, 22, 79, 749, 20, 164, 40, 6236, 7206, 106, 20, 7286, 37, 21, 85, 139, 9, 2125, 102, 31, 22, 79, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Detecting if a program is already installed with NSIS === I'm using NSIS to create an installer for a program, what is the best way to detect if this program is already installed? Also, since I'm running the installer from the autorun.inf, can I immediately quit the installer if it locates an installed copy? Is there ...
0
[ 2, 9092, 68, 100, 21, 625, 25, 614, 4066, 29, 13, 103, 4557, 800, 3726, 3726, 31, 22, 79, 568, 13, 103, 4557, 20, 1600, 40, 16146, 106, 26, 21, 625, 15, 98, 25, 14, 246, 161, 20, 9092, 100, 48, 625, 25, 614, 4066, 60, 67, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
ASP.NET MVC : AJAX ActionLink- Target an HTML attribute === I have an Ajax actionlink that requests a string in the controller method. I want to insert that string into an attribute of a hyperlink. HOw do I specify the attribute field of the target id element?
0
[ 2, 28, 306, 9, 2328, 307, 8990, 13, 45, 20624, 1028, 6258, 8, 2935, 40, 13, 15895, 35, 14755, 800, 3726, 3726, 31, 57, 40, 20624, 1028, 6258, 30, 12279, 21, 3724, 19, 14, 9919, 2109, 9, 31, 259, 20, 14692, 30, 3724, 77, 40, 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...
Inheritance in Java - creating an object of the subclass invokes also the constructor of the superclass. Why exactly? === Hallo, I have a question about inheritance in Java. I have two classes A and B, and class B, inherits from A: public class A { public A() { System.out.println("...
0
[ 2, 13852, 19, 8247, 13, 8, 2936, 40, 3095, 16, 14, 972, 1898, 28371, 18, 67, 14, 6960, 248, 16, 14, 1026, 1898, 9, 483, 1890, 60, 800, 3726, 3726, 554, 111, 15, 31, 57, 21, 1301, 88, 13852, 19, 8247, 9, 31, 57, 81, 2684, 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...
std::map and best practices === I have some doubts on *std::map*. 1 - Is keeping an enum as key in std::map a good practice? Consider the following code enum Shape{ Circle, Rectangle }; int main(int argc, char* argv[]) { std::map<Shape,std::string> strMap; ...
0
[ 2, 354, 43, 45, 45, 15022, 17, 246, 5242, 800, 3726, 3726, 31, 57, 109, 16313, 27, 1637, 384, 43, 45, 45, 15022, 2483, 9, 137, 13, 8, 25, 2882, 40, 1957, 723, 28, 1246, 19, 354, 43, 45, 45, 15022, 21, 254, 1345, 60, 3563, 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...
Detecting if the target volume is NTFS using NSIS === I'm creating an installer with NSIS for a program that needs to run on an NTFS volume. How do I detect if the install to path is on an NTFS volume and act accordingly (show a help/warning message)?
0
[ 2, 9092, 68, 100, 14, 2935, 2310, 25, 13, 2877, 11754, 568, 13, 103, 4557, 800, 3726, 3726, 31, 22, 79, 2936, 40, 16146, 106, 29, 13, 103, 4557, 26, 21, 625, 30, 2274, 20, 485, 27, 40, 13, 2877, 11754, 2310, 9, 184, 107, 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...
Are web MVC frameworks easier to use with Dynamic Languages ? === The reason I am asking this is due to my observation that frameworks like RoR and Django are two of the leading MVC frameworks out there which really have stirred up the community. I know there are MVC frameworks in Java world long before RoR or Django ...
0
[ 2, 50, 2741, 307, 8990, 6596, 18, 4950, 20, 275, 29, 7782, 2556, 13, 60, 800, 3726, 3726, 14, 1215, 31, 589, 3379, 48, 25, 397, 20, 51, 7182, 30, 6596, 18, 101, 761, 248, 17, 3857, 14541, 50, 81, 16, 14, 1005, 307, 8990, 6596,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 blogging software themes for programmers === Anyone knows a blogging theme (like for Wordpress) that isn't super narrow and full of panels. I am looking for a blog that has the most space for post and easier on the eyes (probably light grey or white-ish). I checked out several themes but couldn't find one t...
2
[ 2, 246, 334, 13919, 2306, 6876, 26, 17968, 18, 800, 3726, 3726, 1276, 3620, 21, 334, 13919, 3184, 13, 5, 1403, 26, 833, 5890, 6, 30, 2532, 22, 38, 1026, 2868, 17, 503, 16, 9449, 9, 31, 589, 699, 26, 21, 8146, 30, 63, 14, 127, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Comparing issues in DUnit CheckEquals with Currency Field Values === I'm comparing some currency values in DUnit but it is not working at all on my machine (work on others, but not on mine). An example: CheckEquals(16.65, SomeCurrencyFieldValue); Raises: expected: <16,65> but was: <16,65> if do ...
0
[ 2, 15047, 1549, 19, 4731, 242, 2631, 62, 14512, 18, 29, 10507, 575, 4070, 800, 3726, 3726, 31, 22, 79, 15047, 109, 10507, 4070, 19, 4731, 242, 47, 32, 25, 52, 638, 35, 65, 27, 51, 1940, 13, 5, 3783, 27, 654, 15, 47, 52, 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...
ASP .NET Session State === Scenario: The website is hosted on 3 servers using IIS on each. All 3 servers are clustered using the network load balancing software that comes with Windows Server 2003. All 3 sites are configured to store session state on a separate server that has been designated as a "State Ser...
0
[ 2, 28, 306, 13, 9, 2328, 3723, 146, 800, 3726, 3726, 12705, 45, 14, 2271, 25, 2812, 27, 203, 17595, 568, 595, 18, 27, 206, 9, 65, 203, 17595, 50, 7460, 69, 568, 14, 982, 6305, 16416, 6302, 2306, 30, 1624, 29, 1936, 8128, 973, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Verifying peer certificate before posting xml? === I need to post XML to a server via https, but I need to verify that the self-signed server certificate is correct before I push the XML (which contains sensitive information). I'd prefer a perl solution, but there doesn't seem to be a CPAN solution that *actually v...
0
[ 2, 21012, 68, 7617, 6259, 115, 15669, 23504, 60, 800, 3726, 3726, 31, 376, 20, 678, 23504, 20, 21, 8128, 1197, 7775, 18, 15, 47, 31, 376, 20, 21012, 30, 14, 1119, 8, 13472, 8128, 6259, 25, 4456, 115, 31, 3250, 14, 23504, 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...
Is it bad practice to use LinkButtons as hyperlinks? === I have a web app with a start page composed of various links. I used the LinkButton control of System.Web.UI.WebControls for these links. I do a little bit of processing on postback, then I redirect to the appropriate page. The problem I find is that in IE7...
0
[ 2, 25, 32, 896, 1345, 20, 275, 3508, 811, 444, 18, 28, 5443, 6258, 18, 60, 800, 3726, 3726, 31, 57, 21, 2741, 4865, 29, 21, 799, 2478, 1869, 16, 617, 6271, 9, 31, 147, 14, 3508, 811, 444, 569, 16, 329, 9, 14113, 9, 5661, 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...
Validating Python Arguments in Subclasses === I'm trying to validate a few python arguments. Until we get the new static typing in Python 3.0, what is the best way of going about this. Here is an example of what I am attempting: class A(object): @accepts(int, int, int) def __init__(a, b, c)...
0
[ 2, 7394, 1880, 20059, 10553, 19, 972, 1898, 160, 800, 3726, 3726, 31, 22, 79, 749, 20, 7394, 1373, 21, 310, 20059, 10553, 9, 163, 95, 164, 14, 78, 12038, 25266, 19, 20059, 203, 9, 387, 15, 98, 25, 14, 246, 161, 16, 228, 88, 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...
How do I list all repositories with the SVNParentPath directive on Apache+SVN? === I'm using SVN through Apache with `dav_svn_module` like this: <Location /svn> DAV svn SVNParentPath C:/svn_repository AuthName "Subversion Repository" ... </Location> This lets me access my rep...
0
[ 2, 184, 107, 31, 968, 65, 302, 14882, 262, 2829, 29, 14, 13, 18, 16578, 18908, 8353, 15626, 27, 17140, 2430, 18, 16578, 60, 800, 3726, 3726, 31, 22, 79, 568, 13, 18, 16578, 120, 17140, 29, 13, 1, 43, 5214, 1, 18, 16578, 1, 196...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
internet explorer cannot open the internet site === I have weird error, but that only appears to be happening in IE6, and it happens randomly. I’m implementing omniture analytics on my company’s site. I made a literal server control and called it from inside an update panel. All the control does is build the java scr...
0
[ 2, 2620, 8520, 1967, 368, 14, 2620, 689, 800, 3726, 3726, 31, 57, 5455, 7019, 15, 47, 30, 104, 1780, 20, 44, 4942, 19, 13, 660, 379, 15, 17, 32, 5531, 21324, 9, 31, 1, 79, 17333, 14677, 6418, 26320, 27, 51, 237, 1, 18, 689, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Is it safe to set ValidateRequest=false when using Linq to SQL? === I'm using ONLY Linq to SQL for database access, so I assume it is safe to turn off request validation...
0
[ 2, 25, 32, 1834, 20, 309, 7394, 1373, 99, 10351, 3726, 13192, 870, 76, 568, 6294, 1251, 20, 4444, 255, 60, 800, 3726, 3726, 31, 22, 79, 568, 104, 6294, 1251, 20, 4444, 255, 26, 6018, 1381, 15, 86, 31, 7158, 32, 25, 1834, 20, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
PHP & MySQL compare password === How does one check to see if a user has typed in the right password to log in? This is what (out of a bunch of combinations...) I am doing: <? $login = $_POST['login']; $password = $_POST['password']; mysql_connect('localhost', 'root', 'abc123'); mys...
0
[ 2, 13, 26120, 279, 51, 18, 22402, 11590, 20884, 800, 3726, 3726, 184, 630, 53, 2631, 20, 196, 100, 21, 4155, 63, 1001, 43, 19, 14, 193, 20884, 20, 6738, 19, 60, 48, 25, 98, 13, 5, 1320, 16, 21, 7653, 16, 17908, 9, 9, 9, 6, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How can I get data from a list with a where claise to an other list? === I have a list with multiple class that contain a Property that is an Integer (Id). I have a List of Integer too. Now, I would like to trim the List of my object to only those class that has the Property in the list of the integer. Examp...
0
[ 2, 184, 92, 31, 164, 1054, 37, 21, 968, 29, 21, 113, 13, 7232, 2628, 20, 40, 89, 968, 60, 800, 3726, 3726, 31, 57, 21, 968, 29, 1886, 718, 30, 3717, 21, 1354, 30, 25, 40, 13820, 13, 5, 1340, 6, 9, 31, 57, 21, 968, 16, 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...
Tools for inspecting .lib files? === I'm evaluating some underdocumented software. When I build a sample project, I'm getting a linker error that looks like: <pre>error LNK2019: unresolved external symbol</pre> There aren't a whole lot of lib files with this app, so I can solve this problem with trial and error, but...
0
[ 2, 4672, 26, 19, 7350, 68, 13, 9, 8326, 6488, 60, 800, 3726, 3726, 31, 22, 79, 26764, 109, 131, 28132, 69, 2306, 9, 76, 31, 1895, 21, 5717, 669, 15, 31, 22, 79, 1017, 21, 3508, 106, 7019, 30, 1879, 101, 45, 13, 1, 3515, 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...
Tinyint vs Bit === I don't want to touch-off a religious war here, but there seem to be two schools of thoughts in how to represent boolean values in a database. Some say `bit` is the appropriate data type, while others argue `tinyint` is better. The only differences I'm aware of are these: - `bit`: storage siz...
0
[ 2, 3228, 6391, 4611, 1142, 800, 3726, 3726, 31, 221, 22, 38, 259, 20, 1723, 8, 1299, 21, 1631, 176, 235, 15, 47, 80, 2260, 20, 44, 81, 1055, 16, 3064, 19, 184, 20, 3501, 9827, 413, 210, 4070, 19, 21, 6018, 9, 109, 395, 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...
GORM in Grails and StaleObjectStateException === I'm writing a small Grails app, and I keep on getting StaleObjectStateException:s for about 1/10:th of the calls to "createfoo" when running the following rather simple code. Most probably I'm missing out on the best way to use GORM. This is the code: def view...
0
[ 2, 4901, 79, 19, 489, 7301, 18, 17, 13, 18, 10481, 23793, 3859, 10066, 872, 800, 3726, 3726, 31, 22, 79, 1174, 21, 284, 489, 7301, 18, 4865, 15, 17, 31, 643, 27, 1017, 13, 18, 10481, 23793, 3859, 10066, 872, 45, 18, 26, 88, 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...
Xaml Best Practices Guideline === I have a large silverlight application, and we have decided to redesign the whole interface. Since it is a good time to polish some issues, I would like to read some xaml good practices to take into account when designing. Does anyone know of a good silverlight (or even WPF) book o...
0
[ 2, 13, 6791, 8184, 246, 5242, 3378, 1143, 800, 3726, 3726, 31, 57, 21, 370, 1172, 3130, 3010, 15, 17, 95, 57, 868, 20, 23903, 14, 979, 6573, 9, 179, 32, 25, 21, 254, 85, 20, 2283, 109, 1549, 15, 31, 83, 101, 20, 1302, 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...
How to save entire Scrollable canvas as Png === I have a Canvas class that implements VirtualizingPanel and IScrollInfo. This class is contained inside a ScrollViewer. How can I save the contents of the entire Canvas class only as Png? I know how to save as Png, problem is what is the easiest way to grab only the p...
0
[ 2, 184, 20, 2079, 1078, 12159, 579, 9696, 28, 351, 2723, 800, 3726, 3726, 31, 57, 21, 9696, 718, 30, 8713, 18, 6599, 3335, 3206, 532, 17, 25, 150, 8694, 108, 4120, 9, 48, 718, 25, 3437, 572, 21, 12159, 4725, 106, 9, 184, 92, 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...
Best client-side data store for iPhone web app? === I am building a web app targeting the iPhone. It is similar to a To Do list. I need the application to be able to work offline, i.e., it should allow the user to add/edit/delete entries when there is no connection to the server, which will later get synced when the s...
0
[ 2, 246, 6819, 8, 1416, 1054, 1718, 26, 21024, 2741, 4865, 60, 800, 3726, 3726, 31, 589, 353, 21, 2741, 4865, 15972, 14, 21024, 9, 32, 25, 835, 20, 21, 20, 107, 968, 9, 31, 376, 14, 3010, 20, 44, 777, 20, 170, 168, 1143, 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...
Developing a windows GUI... === I am deciding on how to develop a GUI for a small c++/win32 api project (working Visual Studio C++ 2008). The project will only need a few components to start off the main process so it will be very light weight (just 1 button and a text box pretty much...). My question is this: I do...
0
[ 2, 3561, 21, 1936, 9457, 9, 9, 9, 800, 3726, 3726, 31, 589, 11211, 27, 184, 20, 2803, 21, 9457, 26, 21, 284, 272, 20512, 118, 4181, 3125, 21, 2159, 669, 13, 5, 14120, 3458, 1120, 272, 20512, 570, 6, 9, 14, 669, 129, 104, 376, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
OOP approach for inventory system === We're developing a system to track inventory at our field offices. At its core, the system will have a list of "Assets" - things like Bikes, Computers, Tents. Each Asset goes through states like "Active", "Lost", "Checked Out", "Inventoried". Some states have additional informa...
0
[ 2, 13, 21709, 2141, 26, 13875, 329, 800, 3726, 3726, 95, 22, 99, 3561, 21, 329, 20, 792, 13875, 35, 318, 575, 3642, 9, 35, 82, 2884, 15, 14, 329, 129, 57, 21, 968, 16, 13, 7, 9790, 38, 18, 7, 13, 8, 564, 101, 5984, 18, 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...
Does a method that returns a collection get called in every iteration in a foreach statement in C#? === I was working with some C# code today in the morning and I had something like: foreach(DataRow row in MyMethod.GetDataTable().Rows) { //do something } So, as I dont have a full understanding of t...
0
[ 2, 630, 21, 2109, 30, 4815, 21, 1206, 164, 227, 19, 352, 23534, 19, 21, 26, 14322, 3331, 19, 272, 5910, 60, 800, 3726, 3726, 31, 23, 638, 29, 109, 272, 5910, 1797, 786, 19, 14, 959, 17, 31, 41, 301, 101, 45, 26, 14322, 5, 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...
Handling Tomcat in Eclipse: make it as easy as MyEclipse? === I have been using MyEclipse for a number of years. I am coming to the conclusion that I would rather ditch MyEclipse and revert to plain old Eclipse, **except** for one detail: MyEclipse's Tomcat integration. Does anyone know of an Eclipse plugin that wo...
0
[ 2, 7988, 2067, 5782, 19, 11652, 45, 233, 32, 28, 2010, 28, 51, 3319, 6013, 870, 60, 800, 3726, 3726, 31, 57, 74, 568, 51, 3319, 6013, 870, 26, 21, 234, 16, 122, 9, 31, 589, 880, 20, 14, 6099, 30, 31, 83, 864, 11392, 51, 3319...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Django Deployment: Cutting Apache's Overhead === I have a small VPS server that has a Nginx front end that serves up static media files and passes Django requests back to an Apache 2.2 MPM server running mod_wsgi. With one (very) small site loaded and working, it's currently using 143MB of 256MB of RAM. Using th...
0
[ 2, 3857, 14541, 10475, 45, 5378, 17140, 22, 18, 8860, 800, 3726, 3726, 31, 57, 21, 284, 13, 10924, 18, 8128, 30, 63, 21, 13, 2723, 108, 396, 431, 241, 30, 2589, 71, 12038, 941, 6488, 17, 3789, 3857, 14541, 12279, 97, 20, 40, 171...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
GraphicsPath - Why does order of AddLine methods matter === I am drawing a triangle with the following code GraphicsPath path = new GraphicsPath(); // _ path.AddLine(ax, bottom, bx, bottom); // / path.AddLine(ax, bottom, x, top); // \ path.AddLine(bx, bottom, x, top); // order of drawing is _ / \ (bo...
0
[ 2, 8351, 8353, 13, 8, 483, 630, 389, 16, 3547, 1143, 3195, 1161, 800, 3726, 3726, 31, 589, 3533, 21, 8676, 29, 14, 249, 1797, 8351, 8353, 2013, 800, 78, 8351, 8353, 5, 6, 73, 12894, 13, 1, 2013, 9, 14854, 1143, 5, 7522, 15, 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 to reset a class using placment delete/new from a template? === I have a pool manager template class. When a class object gets added back to the pool manager I would like to reset it back to it's initial state. I would like to call the placment destructor and placment constructor on it so it gets fully reset for t...
0
[ 2, 184, 20, 23422, 21, 718, 568, 13, 17994, 1130, 27448, 118, 2681, 37, 21, 22894, 60, 800, 3726, 3726, 31, 57, 21, 3067, 1382, 22894, 718, 9, 76, 21, 718, 3095, 3049, 905, 97, 20, 14, 3067, 1382, 31, 83, 101, 20, 23422, 32, 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...
boost::interprocess between Windows service and user application. === I'm using boost::interprocess to communicates between two applications. When the two applications are launch by the same user, it works great. When one of the application is a service, it fails. I found that the shared media is in fact a file...
0
[ 2, 10419, 45, 45, 6280, 16835, 128, 1936, 365, 17, 4155, 3010, 9, 800, 3726, 3726, 31, 22, 79, 568, 10419, 45, 45, 6280, 16835, 20, 8709, 18, 128, 81, 3767, 9, 76, 14, 81, 3767, 50, 3394, 34, 14, 205, 4155, 15, 32, 693, 374, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Reporting Services: Tablix RepeatColumnHeaders doesn't work on some reports === So I've got various reports that consist of a DataSet rendered in a Tablix... pretty garden variety stuff. There is a property for the Tablix control named _RepeatColumnHeaders_, which I have set to **True** for each report in question. Th...
0
[ 2, 6670, 687, 45, 6523, 13541, 6830, 716, 4404, 103, 1743, 445, 1437, 22, 38, 170, 27, 109, 2813, 800, 3726, 3726, 86, 31, 22, 195, 330, 617, 2813, 30, 7929, 16, 21, 1054, 3554, 10877, 19, 21, 6523, 13541, 9, 9, 9, 1772, 1986, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 equivalent of Cocoa NSNotification? === I am writing a Java application using SWT widgets. I would like to update the state of certain widgets upon a certain event happening (for example, updating the data model's state). Is there something in Java similar to Cocoa's NSNotificationCenter, where I can register ...
0
[ 2, 8247, 4602, 16, 24507, 13, 2172, 1270, 4634, 60, 800, 3726, 3726, 31, 589, 1174, 21, 8247, 3010, 568, 8783, 38, 4807, 43, 3060, 18, 9, 31, 83, 101, 20, 11100, 14, 146, 16, 1200, 4807, 43, 3060, 18, 685, 21, 1200, 807, 4942, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Automatically tracking development time === I'm working on a personal project and I'd love to be able to say at the end:"I've spend X hours on this project". Now one way to solve this, is to use a manual time tracker (worked from: to:). I've ran into problems with this, because I only manage to use it consistently for...
0
[ 2, 7499, 10353, 522, 85, 800, 3726, 3726, 31, 22, 79, 638, 27, 21, 1319, 669, 17, 31, 22, 43, 339, 20, 44, 777, 20, 395, 35, 14, 241, 45, 7, 49, 22, 195, 3256, 993, 974, 27, 48, 669, 7, 9, 130, 53, 161, 20, 8402, 48, 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...
Silverlight TreeView ScrollBars disapear inside a StackPanel === I'm building a project that loads data from a webservice into a TreeView Control. When the TreeView is contained on the LayoutRoot grid by itslef and it's height is set to Auto, if the contents extend beyond the vertical or horizontal limits of the tree...
0
[ 2, 1172, 3130, 1541, 4725, 12159, 1850, 18, 1460, 2552, 10717, 572, 21, 7566, 3206, 532, 800, 3726, 3726, 31, 22, 79, 353, 21, 669, 30, 19069, 1054, 37, 21, 2741, 11449, 77, 21, 1541, 4725, 569, 9, 76, 14, 1541, 4725, 25, 3437, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 Java MVC frameworks integrate easily with StringTemplate? === **It's hard to see how *StringTemplate* integrates easily (or not) with *popular* Java web MVC frameworks.** Please help the community see the real state of things. **Answerers**, here's what should govern your answers: * I care only for **fr...
0
[ 2, 56, 8247, 307, 8990, 6596, 18, 18399, 2351, 29, 3724, 9577, 6554, 60, 800, 3726, 3726, 13, 1409, 242, 22, 18, 552, 20, 196, 184, 1637, 11130, 9577, 6554, 2483, 18399, 18, 2351, 13, 5, 248, 52, 6, 29, 1637, 28252, 2483, 8247, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How do I convert a HTML Table to a fixed font textual table === I have an application in Perl that reads in HTML based mark up and converts it to a textual output. One of the things I have encountered is the need to easily convert a HTML table to a fixed font output. <table border="1"> <tr><td>Hello</td...
0
[ 2, 184, 107, 31, 8406, 21, 13, 15895, 859, 20, 21, 3535, 9978, 1854, 6948, 859, 800, 3726, 3726, 31, 57, 40, 3010, 19, 416, 255, 30, 11137, 19, 13, 15895, 432, 943, 71, 17, 8406, 18, 32, 20, 21, 1854, 6948, 5196, 9, 53, 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, 1, 1, 1, 1, 1, 1, 1, 1...
What is the best practice to make division return double in C# === In c# when you want to divide the result of a method such as below, what is the best way to force it to return a double value rather than the default integer. (int)Math.Ceiling((double)(System.DateTime.DaysInMonth(2009, 1) / 7)); As you ...
0
[ 2, 98, 25, 14, 246, 1345, 20, 233, 460, 788, 1494, 19, 272, 5910, 800, 3726, 3726, 19, 272, 5910, 76, 42, 259, 20, 8918, 14, 829, 16, 21, 2109, 145, 28, 1021, 15, 98, 25, 14, 246, 161, 20, 558, 32, 20, 788, 21, 1494, 1923, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 set up a combobox in Silverlight to allow clicking through items? === I have several databound comboboxes in my application and I notice that when i open the combobox to click on an item it doesn't select the item unless i click to the right of the text. I'm assuming there is some way to include the text a...
0
[ 2, 184, 107, 42, 309, 71, 21, 22621, 5309, 19, 1172, 3130, 20, 1655, 25590, 120, 3755, 60, 800, 3726, 3726, 31, 57, 238, 1054, 7410, 22621, 5309, 160, 19, 51, 3010, 17, 31, 3551, 30, 76, 31, 368, 14, 22621, 5309, 20, 10840, 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...
Why are two authentication cookies being created? One for www and the other without the www. === I'm having this problem with my dotnetnuke website where the .DOTNETNUKE cookie is being created twice, one for www.website.com and one for website.com. When a user logins in with a url of website.com and tries to a...
0
[ 2, 483, 50, 81, 27963, 19396, 142, 679, 60, 53, 26, 13, 6483, 17, 14, 89, 366, 14, 13, 6483, 9, 800, 3726, 3726, 31, 22, 79, 452, 48, 1448, 29, 51, 14123, 2328, 4215, 1048, 2271, 113, 14, 13, 9, 12527, 2328, 4215, 1048, 19980,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 create a static template member function that performs actions on a template class? === I'm trying to create a generic function that removes duplicates from an std::vector. Since I don't want to create a function for each vector type, I want to make this a template function that can accept vectors of any t...
0
[ 2, 184, 107, 42, 1600, 21, 12038, 22894, 322, 1990, 30, 11563, 3078, 27, 21, 22894, 718, 60, 800, 3726, 3726, 31, 22, 79, 749, 20, 1600, 21, 12733, 1990, 30, 4681, 18, 19429, 18, 37, 40, 354, 43, 45, 45, 28033, 9, 179, 31, 221...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Best way to parse bbcode === I'd like to work on a bbcode filter for a php website. (I'm using cakephp, it would be a bbcode helper) I have some requirement. **Bbcodes can be nested. So something like that is valid.** [block] [block] [/block] [block] [block...
0
[ 2, 246, 161, 20, 2017, 870, 2313, 8355, 800, 3726, 3726, 31, 22, 43, 101, 20, 170, 27, 21, 2313, 8355, 11945, 26, 21, 13, 26120, 2271, 9, 13, 5, 49, 22, 79, 568, 8390, 26120, 15, 32, 83, 44, 21, 2313, 8355, 448, 106, 6, 31, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
What is the best C# font selection control? === To start off with, a little context for the question... I have a C# .NET 2.0 program that generates web pages... I am looking for a control that allows the user to pick web friendly fonts for use in generating the web page to run on as many computer as possible. I'm...
0
[ 2, 98, 25, 14, 246, 272, 5910, 9978, 3155, 569, 60, 800, 3726, 3726, 20, 799, 168, 29, 15, 21, 265, 4141, 26, 14, 1301, 9, 9, 9, 31, 57, 21, 272, 5910, 13, 9, 2328, 172, 9, 387, 625, 30, 7920, 18, 2741, 4434, 9, 9, 9, 31...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Is there an easy way to make a pleasing mediawiki table? === I use a MediaWiki instance on a thumb drive to keep track of a ton of stuff. In the past, I've been in a hurry so I haven't had the chance to look for a nice way to make tables, so this syntax has served my purposes well: {| border=1 ... |}...
0
[ 2, 25, 80, 40, 2010, 161, 20, 233, 21, 26942, 941, 17375, 859, 60, 800, 3726, 3726, 31, 275, 21, 941, 17375, 4851, 27, 21, 5078, 1493, 20, 643, 792, 16, 21, 13, 444, 16, 3217, 9, 19, 14, 640, 15, 31, 22, 195, 74, 19, 21, 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...
File access denied, c# console application error. === This is a really odd security issue with a C# (3.5) Console application. The application creates a folder and copies a bunch of files into that folder, it then also generates some files and saves them into the same folder. File streams are always closed. The cop...
0
[ 2, 3893, 1381, 5265, 15, 272, 5910, 8650, 3010, 7019, 9, 800, 3726, 3726, 48, 25, 21, 510, 4210, 1221, 1513, 29, 21, 272, 5910, 13, 5, 240, 9, 264, 6, 8650, 3010, 9, 14, 3010, 9695, 21, 19294, 17, 3298, 21, 7653, 16, 6488, 77,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Why does Response.Redirect close my browser window instead of redirecting? === For whatever reason when I use Response.Redirect the window just closes out instead of navigating to the given URL, here is the code. if (mode == "print") { error_code.Text = ""; //thumb.Src = f...
0
[ 2, 483, 630, 1627, 9, 99, 14706, 543, 51, 16495, 1463, 700, 16, 302, 14706, 68, 60, 800, 3726, 3726, 26, 2099, 1215, 76, 31, 275, 1627, 9, 99, 14706, 14, 1463, 114, 543, 18, 70, 700, 16, 1775, 13227, 1880, 20, 14, 504, 287, 63...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
best articles about organizing code files in C === Can you recommend me what should I read/learn in order to make a well organized code in C? One of the things I want to learn is the principles of splitting project in .h and .c files, what goes where and why, variable naming, when to use global variables ... I ...
0
[ 2, 246, 3376, 88, 11725, 1797, 6488, 19, 272, 800, 3726, 3726, 92, 42, 12360, 55, 98, 378, 31, 1302, 118, 413, 10818, 19, 389, 20, 233, 21, 134, 2518, 1797, 19, 272, 60, 53, 16, 14, 564, 31, 259, 20, 2484, 25, 14, 5624, 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, 1, 1, 1, 1, 1, 1, 1, 1...
Handling possible errors with network drive file I/O === I'm trying to make file I/O over a network drive (likely over a WAN or VPN) as reliable as possible for a native C++ Windows app... What are the possible error conditions that I need to be able to handle? How can I simulate these error conditions in testin...
0
[ 2, 7988, 938, 11908, 29, 982, 1493, 3893, 31, 118, 111, 800, 3726, 3726, 31, 22, 79, 749, 20, 233, 3893, 31, 118, 111, 84, 21, 982, 1493, 13, 5, 1403, 102, 84, 21, 10685, 54, 13, 10924, 103, 6, 28, 11398, 28, 938, 26, 21, 12...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
SQL Optimization: how many columns on a table? === The current project that I'm working on have table with 126 columns and the least that i saw is at least 50 columns. Should a table hold less columns per table or separate them out into a new table and use relationship? In your experience what is the max columns pe...
0
[ 2, 4444, 255, 21597, 45, 184, 151, 7498, 27, 21, 859, 60, 800, 3726, 3726, 14, 866, 669, 30, 31, 22, 79, 638, 27, 57, 859, 29, 390, 379, 7498, 17, 14, 639, 30, 31, 441, 25, 35, 639, 1222, 7498, 9, 378, 21, 859, 1027, 787, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Run STSADM from ASP.NET under _layouts === Is it possible to run STSADM from an ASP.NET application that is residing in the _layouts folder? I have copied this code on [this page][1]. When it runs the return message is **Access Denied**. [1]: http://social.msdn.microsoft.com/Forums/en-US/sharepointdevelop...
0
[ 2, 485, 354, 18, 1283, 79, 37, 28, 306, 9, 2328, 131, 13, 1, 4414, 12638, 800, 3726, 3726, 25, 32, 938, 20, 485, 354, 18, 1283, 79, 37, 40, 28, 306, 9, 2328, 3010, 30, 25, 6291, 19, 14, 13, 1, 4414, 12638, 19294, 60, 31, 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...
Querying Exchange 2007 storage group/database details with Unmanaged C++ === I have a program that's already in C++ which needs to query some information from Exchange 2007. What little information exists in Active Directory (or the Cluster Database) seems to be incorrectly documented, and while there are hints that p...
0
[ 2, 25597, 68, 1950, 624, 4326, 214, 118, 18768, 8436, 3289, 29, 367, 177, 8030, 272, 20512, 800, 3726, 3726, 31, 57, 21, 625, 30, 22, 18, 614, 19, 272, 20512, 56, 2274, 20, 25597, 109, 676, 37, 1950, 624, 9, 98, 265, 676, 5636, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Flex: How to create an entirely new component? === I'd like to develop a network graph application for Flex - imagine placing nodes on a Canvas and connecting them with links. The nodes should have editable text and other UI components. I'm trying to find examples of creating an entirely new UI component from scra...
0
[ 2, 14409, 45, 184, 20, 1600, 40, 2894, 78, 5912, 60, 800, 3726, 3726, 31, 22, 43, 101, 20, 2803, 21, 982, 7210, 3010, 26, 14409, 13, 8, 4382, 5861, 16272, 27, 21, 9696, 17, 6440, 105, 29, 6271, 9, 14, 16272, 378, 57, 9392, 579...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 use WITH in TSQL twice to filter a result set like my example? === I need to do something like this but SQL Server 2008 doesn't like it. My query is actually more complex than this and I realize this isn't the best way to accomplish what I'm doing but my focus is on the functionality of the WITH statement and no...
0
[ 2, 92, 31, 275, 29, 19, 13, 38, 18, 22402, 2088, 20, 11945, 21, 829, 309, 101, 51, 823, 60, 800, 3726, 3726, 31, 376, 20, 107, 301, 101, 48, 47, 4444, 255, 8128, 570, 1437, 22, 38, 101, 32, 9, 51, 25597, 25, 1121, 91, 1502, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 does the socket API accept() function work? === The socket API is the de-facto standard for TCP/IP and UDP/IP communications (that is, networking code as we know it). However, one of its core functions, `accept()` is a bit magical. To borrow a semi-formal definition: > accept() is used on the server side. >...
0
[ 2, 184, 630, 14, 18482, 21, 2159, 3440, 5, 6, 1990, 170, 60, 800, 3726, 3726, 14, 18482, 21, 2159, 25, 14, 121, 8, 16839, 111, 1236, 26, 13, 38, 7439, 118, 4307, 17, 287, 7431, 118, 4307, 3380, 13, 5, 887, 25, 15, 16230, 1797,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
.NET mshtml: How to pass a BSTR SAFEARRAY? === The class mshtml.HTMLDocumentClass in Microsoft.mshtml.dll assembly has a method: public virtual void write(params object[] psarray); Avoiding the real question for a moment, what code would you use to call **write()**? Would you use: String html = "<html...
0
[ 2, 13, 9, 2328, 4235, 15895, 45, 184, 20, 1477, 21, 334, 9729, 1834, 8576, 93, 60, 800, 3726, 3726, 14, 718, 4235, 15895, 9, 15895, 28132, 1898, 19, 7099, 9, 79, 18, 15895, 9, 43, 211, 1475, 63, 21, 2109, 45, 317, 6599, 11364, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 add a Python-style Get() method which takes a default value to my C# dictionaries? === I'd like to be able to specify a default value to return if the key I specify can't be found in the dictionary. e.g. int default = 5; string key = "MyKey"; int foo = myDictionary.GetValue(key, default); ...
0
[ 2, 184, 107, 31, 3547, 21, 20059, 8, 4381, 164, 5, 6, 2109, 56, 1384, 21, 12838, 1923, 20, 51, 272, 5910, 29783, 60, 800, 3726, 3726, 31, 22, 43, 101, 20, 44, 777, 20, 19077, 21, 12838, 1923, 20, 788, 100, 14, 1246, 31, 19077,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 dinamically configure an application? === When I say "configure" I mean where to save thoose values that could change very often (constants values lie taxes rates or something similar) and then when you need to change them you don't want to re-compile your application. Where to save those values? Database? X...
0
[ 2, 184, 20, 926, 6865, 8438, 1065, 15951, 40, 3010, 60, 800, 3726, 3726, 76, 31, 395, 13, 7, 1126, 15951, 7, 31, 884, 113, 20, 2079, 14963, 6641, 4070, 30, 110, 753, 253, 478, 13, 5, 29639, 18, 4070, 2850, 7447, 5332, 54, 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...
Using RenderTransform to increase the size of a DataTemplate in WPF === I'm using a DataTemplate that animates a RenderTransform to increase its size when the mouse is over it. The problem I'm having is that when the animation is in effect the enlarged list box item appears behind other items. Is there a way to contro...
0
[ 2, 568, 16535, 7028, 4190, 20, 1839, 14, 1072, 16, 21, 1054, 9577, 6554, 19, 619, 7721, 800, 3726, 3726, 31, 22, 79, 568, 21, 1054, 9577, 6554, 30, 14487, 3231, 21, 16535, 7028, 4190, 20, 1839, 82, 1072, 76, 14, 7567, 25, 84, 32...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...