unified_texts
stringlengths
32
30.1k
OpenStatus_id
int64
0
4
input_ids
list
token_type_ids
list
attention_mask
list
Avoid floating point precision issues === I'm about to create a terrain for a mobile game which allows a huge terrain which is mostly limited by the available hardisk space. This requires to keep the floating points limited to a "after-point-precision" of 2 numbers. What is a good approach to keep it at the precis...
0
[ 2, 2658, 8319, 454, 13133, 1549, 800, 3726, 3726, 31, 22, 79, 88, 20, 1600, 21, 9132, 26, 21, 3241, 250, 56, 2965, 21, 2329, 9132, 56, 25, 1555, 1317, 34, 14, 904, 552, 403, 197, 726, 9, 48, 4781, 20, 643, 14, 8319, 819, 1317,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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++ programing style === I'm an old(but not too old) Java programmer, that decided to learn C++. But I have seen that much of C++ programing style, is... well, just damn ugly! All that stuff of putting the class definition in a header file, and the methods in a different source file; Calling functions out of nowher...
0
[ 2, 272, 20512, 625, 68, 1034, 800, 3726, 3726, 31, 22, 79, 40, 315, 5, 811, 52, 266, 315, 6, 8247, 17968, 15, 30, 868, 20, 2484, 272, 20512, 9, 47, 31, 57, 541, 30, 212, 16, 272, 20512, 625, 68, 1034, 15, 25, 9, 9, 9, 134,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Path.Combine for Urls? === Path.Combine is handy, is there a similiar function in the framework for Urls? I'm looking for syntax like this: Url.Combine("Http://MyUrl.com/", "/Images/Image.jpg") ...Which would return: "Http://MyUrl.com/Images/Image.jpg" ...Of course string concatenation would be fine here ...
0
[ 2, 2013, 9, 10204, 1149, 26, 13, 911, 7532, 60, 800, 3726, 3726, 2013, 9, 10204, 1149, 25, 20277, 15, 25, 80, 21, 4861, 12765, 139, 1990, 19, 14, 6596, 26, 13, 911, 7532, 60, 31, 22, 79, 699, 26, 22649, 101, 48, 45, 287, 6362,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Refactoring tool in VS 2008? === At University we have VS 2005 and it has some refactoring tool like rename, extract method, extract class, etc. I have decide to download VS 2008 from MSDN and it has only Rename and Extract method, how can I activate the other?
0
[ 2, 302, 17455, 68, 5607, 19, 4611, 570, 60, 800, 3726, 3726, 35, 155, 95, 57, 4611, 812, 17, 32, 63, 109, 302, 17455, 68, 5607, 101, 302, 7259, 15, 10962, 2109, 15, 10962, 718, 15, 2722, 9, 31, 57, 4073, 20, 7121, 4611, 570, 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...
Response.Redirect not ending execution === I have Default.aspx page, which inherits from BasePage.cs, which inherits from System.Web.UI.Page. BasePage is where I do some common things every page must do upon loading. In BasePage, lets say I'm checking for X. If X=1, then I will redirect to my "Discontinued.aspx" ...
0
[ 2, 1627, 9, 99, 14706, 52, 3119, 5769, 800, 3726, 3726, 31, 57, 12838, 9, 472, 306, 396, 2478, 15, 56, 17569, 18, 37, 1000, 6486, 9, 6824, 15, 56, 17569, 18, 37, 329, 9, 14113, 9, 5661, 9, 6486, 9, 1000, 6486, 25, 113, 31, 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...
Shell Extension - Virtual File Creation === I want to create a file that only resides in memory... In looking through some documentation I saw a recommendation to use a shell extension as a virtual file. Im not sure that is a workable solution but I would like to know 1) Is it a good approach (or should I be usin...
0
[ 2, 3593, 3896, 13, 8, 6599, 3893, 2502, 800, 3726, 3726, 31, 259, 20, 1600, 21, 3893, 30, 104, 12631, 19, 1912, 9, 9, 9, 19, 699, 120, 109, 13945, 31, 441, 21, 14066, 20, 275, 21, 3593, 3896, 28, 21, 6599, 3893, 9, 797, 52, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How to define a user-defined data type with addressable members? === Unusual situation to model in MS SQL Server database: the primary key of a table is a multi-segment 'natural' key composed of 5 foreign keys (of fixed sizes). I'd like to be able to define a user-defined data type to implement the data structure b...
0
[ 2, 184, 20, 9267, 21, 4155, 8, 13439, 1054, 1001, 29, 3218, 579, 443, 60, 800, 3726, 3726, 4706, 1858, 20, 1061, 19, 4235, 4444, 255, 8128, 6018, 45, 14, 1256, 1246, 16, 21, 859, 25, 21, 1889, 8, 28857, 13, 22, 17232, 22, 1246, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Maintain scroll position in Javascript window.open() === How do I maintain the scroll position of the parent page when I open new window using window.open()? The parent page returns to the top of the page. Here is my current code: <a href="#" onclick="javascript: window.open('myPage.aspx');"> Open N...
0
[ 2, 4027, 12159, 649, 19, 8247, 8741, 1463, 9, 10157, 5, 6, 800, 3726, 3726, 184, 107, 31, 4027, 14, 12159, 649, 16, 14, 4766, 2478, 76, 31, 368, 78, 1463, 568, 1463, 9, 10157, 5, 6, 60, 14, 4766, 2478, 4815, 20, 14, 371, 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...
xslt count previous elements that have the local-name() equal to 'FootNoteReference' === How can I count how many previous **FootNoteReference** nodes there are in an xml doc such as this... <MyDoc> <title>&lt;Big Title&gt;</title> <head>Objective</head> <head2>&lt;Heading&gt;</head2> <head>Introduction...
0
[ 2, 993, 18, 255, 38, 2468, 1158, 2065, 30, 57, 14, 375, 8, 7259, 5, 6, 2747, 20, 13, 22, 3670, 10280, 28018, 22, 800, 3726, 3726, 184, 92, 31, 2468, 184, 151, 1158, 13, 1409, 3670, 10280, 28018, 1409, 16272, 80, 50, 19, 40, 23...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Zipping Files and Downloading them Using SaveAs Dialog === I have the following code to zip all the files and then save it to the harddisk. I want zip all the files (this is done) and then attach the zip file to the Response stream so that the user have the option to save it! protected void DownloadSelect...
0
[ 2, 12133, 3181, 6488, 17, 7121, 68, 105, 568, 2079, 472, 28223, 800, 3726, 3726, 31, 57, 14, 249, 1797, 20, 12133, 65, 14, 6488, 17, 94, 2079, 32, 20, 14, 552, 2906, 197, 9, 31, 259, 12133, 65, 14, 6488, 13, 5, 1565, 25, 677, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Logic in XML Files === I'm dealing with game dialogue files (conversation between player and non-playable-characters) where dialogue choices and their outcome depend on certain conditions and result in certain actions. Now, I could write a simple parser to handle some sort of language for specifying the pre and post-c...
0
[ 2, 7085, 19, 23504, 6488, 800, 3726, 3726, 31, 22, 79, 5746, 29, 250, 6402, 6488, 13, 5, 1126, 5498, 857, 128, 517, 17, 538, 8, 5438, 579, 8, 24589, 18, 6, 113, 6402, 10978, 17, 66, 9774, 12547, 27, 1200, 2039, 17, 829, 19, 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...
Best practice for returning IEnumerables from LINQ Methods === OK, This question has probably been answered before, but I'm not sure of how to word the Title. I have a class that has methods which return many composite LINQ queries. Most of these queries form Anonymous Types in order to get the data I need. I ...
0
[ 2, 246, 1345, 26, 2485, 13, 660, 6336, 106, 579, 18, 37, 6294, 1251, 3195, 800, 3726, 3726, 5854, 15, 48, 1301, 63, 910, 74, 3094, 115, 15, 47, 31, 22, 79, 52, 562, 16, 184, 20, 833, 14, 581, 9, 31, 57, 21, 718, 30, 63, 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...
Making a control "transparent" to click events === I have a ListBox displaying some items, and in certain modes I "stamp" a kind of watermark across the top of it. I've done this with a Border containing a TextBlock with an Opacity of 0.5. All this works nicely. However, I still want the user to be able to click on...
0
[ 2, 544, 21, 569, 13, 7, 7028, 18908, 7, 20, 10840, 963, 800, 3726, 3726, 31, 57, 21, 968, 5309, 17418, 109, 3755, 15, 17, 19, 1200, 12770, 31, 13, 7, 384, 10158, 7, 21, 825, 16, 308, 4527, 464, 14, 371, 16, 32, 9, 31, 22, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Can I be vulnerable to SQL injection by appending input with no whitespace to my query? === I am taking in a string from user input, and splitting it on whitespace (using \w) into an array of strings. I then loop through the array, and append a part of the where clause like this: query += " AND ( "...
0
[ 2, 92, 31, 44, 8107, 20, 4444, 255, 13646, 34, 4865, 7601, 6367, 29, 90, 359, 5582, 20, 51, 25597, 60, 800, 3726, 3726, 31, 589, 741, 19, 21, 3724, 37, 4155, 6367, 15, 17, 17282, 32, 27, 359, 5582, 13, 5, 12655, 13, 1, 499, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 join to a "fixed vector" in SQL? === By "fixed vector" I mean a static list of values, like 1 through 24. The current query looks like this (simplified) SELECT Period, Profit FROM Projections But the data is "sparse" &#8212; so there's not a row for every period. What query will give me a row ...
0
[ 2, 184, 107, 31, 1865, 20, 21, 13, 7, 18594, 69, 7497, 7, 19, 4444, 255, 60, 800, 3726, 3726, 34, 13, 7, 18594, 69, 7497, 7, 31, 884, 21, 12038, 968, 16, 4070, 15, 101, 137, 120, 937, 9, 14, 866, 25597, 1879, 101, 48, 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...
Does large MSSQL Memory Usage cause errors? === Just started getting a bunch of errors on our C# .Net app that seemed to be happening for no reason. Things like System.IndexOutOfRangeException on a SqlDataReader object for an index that should be returned and has been returning for a while now. Anyways, I looked at...
0
[ 2, 630, 370, 4235, 18, 22402, 1912, 7514, 1679, 11908, 60, 800, 3726, 3726, 114, 373, 1017, 21, 7653, 16, 11908, 27, 318, 272, 5910, 13, 9, 2328, 4865, 30, 890, 20, 44, 4942, 26, 90, 1215, 9, 564, 101, 329, 9, 25671, 1320, 1041,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
LINQ, iterators, selecting and projection === What i would like to do is use the elegance of LINQ while maintaining an iterator.... essentially Class A { int Position; string Name; } if i have a list of strings, i want to project them into List<A> but have the Position be populated in the projection....
0
[ 2, 6294, 1251, 15, 32, 106, 9922, 15, 20764, 17, 11607, 800, 3726, 3726, 98, 31, 83, 101, 20, 107, 25, 275, 14, 28191, 16, 6294, 1251, 133, 8215, 40, 32, 106, 3457, 9, 9, 9, 9, 7398, 718, 21, 13, 1, 19, 38, 649, 73, 3724, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 filter domain objects for json output in an ASP.NET MVC application === If I'm rendering a regular view in asp.net mvc the only domain object properties that show up in my page the ones I specifically write out. For example: <div><%= Customer.FirstName %></div> However, if I serialize a domain ob...
0
[ 2, 246, 161, 20, 11945, 4603, 3916, 26, 487, 528, 5196, 19, 40, 28, 306, 9, 2328, 307, 8990, 3010, 800, 3726, 3726, 100, 31, 22, 79, 15307, 21, 1290, 1418, 19, 28, 306, 9, 2328, 307, 8990, 14, 104, 4603, 3095, 3704, 30, 298, 7...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Full text search on a table === How to enable and perform a "full text" search on a table in SQL Server 2005? <br /> I did not quite understand the solution in: http://stackoverflow.com/questions/206142/how-do-i-use-full-text-search-accross-multiple-tables-mssql-2005
0
[ 2, 503, 1854, 2122, 27, 21, 859, 800, 3726, 3726, 184, 20, 9240, 17, 2985, 21, 13, 7, 13727, 1854, 7, 2122, 27, 21, 859, 19, 4444, 255, 8128, 812, 60, 13, 1, 5145, 13, 118, 1, 31, 144, 52, 1450, 1369, 14, 4295, 19, 45, 7775,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PHP/CURL/Other - How resource intensive? === I am going to have a daemon that will run on a FreeBSD server, which will exchange small amounts of data with a list of URIs every minute. I am thinking to use the curl_multi functions to run them all at once, or in groups, every minute, using a post. I am open to other...
0
[ 2, 13, 26120, 118, 4734, 255, 118, 9539, 13, 8, 184, 6577, 13633, 60, 800, 3726, 3726, 31, 589, 228, 20, 57, 21, 13127, 30, 129, 485, 27, 21, 551, 4562, 43, 8128, 15, 56, 129, 1950, 284, 8545, 16, 1054, 29, 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...
MySQL: Use Aliased Fields in Aggregate Functions === I have a SQL statement similar to this: SELECT COUNT(*) AS foo, SUM(foo) AS foo_sum FROM bar But MySQL doesn't allow this because foo is an alias. Does anyone have an idea of how this could be accomplished in SQL?
0
[ 2, 51, 18, 22402, 45, 275, 15794, 69, 2861, 19, 8544, 3719, 800, 3726, 3726, 31, 57, 21, 4444, 255, 3331, 835, 20, 48, 45, 5407, 2468, 5, 2483, 6, 28, 4310, 111, 15, 3907, 5, 4120, 111, 6, 28, 4310, 111, 1, 18, 723, 37, 748,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
WinForms: How to trigger a Control's event handler? === i want to programatically invoke an event handler for a control. For example: Button newCustomerButton; i want to trigger the Click event handler for the `newCustomerButton`, how can i do it? In other languages i would call something akin to: ...
0
[ 2, 628, 4190, 18, 45, 184, 20, 7286, 21, 569, 22, 18, 807, 24641, 60, 800, 3726, 3726, 31, 259, 20, 625, 721, 8438, 28371, 40, 807, 24641, 26, 21, 569, 9, 26, 823, 45, 5167, 78, 4636, 262, 1263, 811, 444, 73, 31, 259, 20, 72...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Do you use the TR 24731 'safe' functions in your C code? === The ISO C committee ([ISO/IEC JTC1/SC21/WG14][1]) has published TR 24731-1 and is working on TR 24731-2 (the second part is still under development). From the web site: <hr> ###TR 24731-1: Extensions to the C Library Part I: Bounds-checking interfaces...
0
[ 2, 107, 42, 275, 14, 9235, 13, 22549, 3513, 13, 22, 18166, 22, 3719, 19, 154, 272, 1797, 60, 800, 3726, 3726, 14, 11899, 272, 940, 13, 5, 2558, 11037, 118, 17658, 487, 6668, 8197, 3862, 1941, 118, 14932, 1419, 500, 2558, 165, 500,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Counting down for x to 0 in Javascript? === I have from the backend a time on the format 00:12:54 and I display it to the screen. But, I would like to have this time to continue to go down. I have though to create a variable in javascript that will old the time and with <code>setTimeout</code> to loop to display with ...
0
[ 2, 11195, 125, 26, 993, 20, 713, 19, 8247, 8741, 60, 800, 3726, 3726, 31, 57, 37, 14, 97, 2451, 21, 85, 27, 14, 2595, 13, 2032, 45, 918, 22083, 17, 31, 3042, 32, 20, 14, 2324, 9, 47, 15, 31, 83, 101, 20, 57, 48, 85, 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...
What's the difference between making an index on 2 columns and an index on each of the columns separately? === I'm new to database indexing, if I have 2 columns in a table that are good choices for indexing like for example, [Posts]( [PostID] [int] IDENTITY(1,1) NOT NULL, [UserName] [nvarchar](...
0
[ 2, 98, 22, 18, 14, 2841, 128, 544, 40, 4348, 27, 172, 7498, 17, 40, 4348, 27, 206, 16, 14, 7498, 10714, 60, 800, 3726, 3726, 31, 22, 79, 78, 20, 6018, 4348, 68, 15, 100, 31, 57, 172, 7498, 19, 21, 859, 30, 50, 254, 10978, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 CF 2.0: possible single-threaded reentrancy === A simple application is written in CF 2.0. It's single-threaded as far as I'm concerned. Two parts of the application are of interest: an event handler that handles "Barcode scanned" event raised by a class that represents PDA's barcode scanner (provided by manuf...
0
[ 2, 13, 9, 2328, 10084, 172, 9, 387, 45, 938, 345, 8, 96, 10647, 69, 302, 2291, 139, 10821, 800, 3726, 3726, 21, 1935, 3010, 25, 642, 19, 10084, 172, 9, 387, 9, 32, 22, 18, 345, 8, 96, 10647, 69, 28, 463, 28, 31, 22, 79, 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...
Better ruby markdown interpreter? === I'm trying to find a markdown interpreter class/module that I can use in a rakefile. So far I've found [maruku](http://maruku.rubyforge.org/), but I'm a bit wary of beta releases. Has anyone had any issues with maruku? Or, do you know of a better alternative?
0
[ 2, 574, 10811, 943, 2968, 19336, 60, 800, 3726, 3726, 31, 22, 79, 749, 20, 477, 21, 943, 2968, 19336, 718, 118, 19673, 62, 30, 31, 92, 275, 19, 21, 21009, 16877, 9, 86, 463, 31, 22, 195, 216, 636, 1615, 15597, 500, 5, 21127, 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...
MFC Edit Box - Multiple Characters per Keystroke? === I am trying to create a simple dialog in MFC using Visual C++. My problem is that when I get the dialog on the screen and try to type in an Edit Box field, if I type the letter 'a' once, it appears in the edit box as 'aaaaaaaaaaa' (that's 12 a's). Furthermore, if...
0
[ 2, 307, 7061, 9392, 1649, 13, 8, 1886, 1766, 416, 1246, 12962, 60, 800, 3726, 3726, 31, 589, 749, 20, 1600, 21, 1935, 28223, 19, 307, 7061, 568, 3458, 272, 20512, 9, 51, 1448, 25, 30, 76, 31, 164, 14, 28223, 27, 14, 2324, 17, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 Studio - "Modify Stored Procedure" Script Errors === In MS SQL Server Management Studio 2005: If you have the setting Tools|Options|Scripting|"Include IF NOT EXISTS clause" set to true, modifying a stored procedure will create a strange script that doesn't even work. It looks something like the following: (ell...
0
[ 2, 4444, 255, 1120, 13, 8, 13, 7, 13670, 8612, 8214, 7004, 7, 3884, 11908, 800, 3726, 3726, 19, 4235, 4444, 255, 8128, 1097, 1120, 18228, 100, 42, 57, 14, 2697, 4672, 1, 25458, 4710, 1, 8741, 68, 1, 7, 22640, 100, 52, 5636, 9040...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Wildcard search on column(s) in a large table (>10.000.000 rows) in MySQL === Which techniqes would you use to implement a search for contents in a column on a very big table in MySql? Say for instance that you have 10.000.000 emails stored in a table in the database and would like to implement a subject search, that...
0
[ 2, 23003, 2122, 27, 4698, 5, 18, 6, 19, 21, 370, 859, 13, 5, 1, 1036, 9, 3993, 9, 3993, 11295, 6, 19, 51, 18, 22402, 800, 3726, 3726, 56, 6145, 889, 1251, 160, 83, 42, 275, 20, 8713, 21, 2122, 26, 8478, 19, 21, 4698, 27, 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...
Windows Live ID in ASP.NET MVC === does anyone know is there a way to implement Windows Live ID authentication into your ASP.NET MVC site. There is some info about OpenID implementations and it uses some libraries. So is there a way to implement Live ID or it is not yet supported. Thank you
0
[ 2, 1936, 515, 4924, 19, 28, 306, 9, 2328, 307, 8990, 800, 3726, 3726, 630, 1276, 143, 25, 80, 21, 161, 20, 8713, 1936, 515, 4924, 27963, 77, 154, 28, 306, 9, 2328, 307, 8990, 689, 9, 80, 25, 109, 15404, 88, 368, 1340, 6123, 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...
Finding the Current Active Window in Mac OS X using Python === Is there a way to find the application name of the current active window at a given time on Mac OS X using Python?
0
[ 2, 3007, 14, 866, 1348, 1463, 19, 1572, 13, 759, 993, 568, 20059, 800, 3726, 3726, 25, 80, 21, 161, 20, 477, 14, 3010, 204, 16, 14, 866, 1348, 1463, 35, 21, 504, 85, 27, 1572, 13, 759, 993, 568, 20059, 60, 3, 0, 0, 0, 0, 0...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
Can't fetch data do Gridview === I'm trying to retrive a dataset to a Gridview, but I just don't get any row in my Gridview. What am I doing wrong? the page code Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load CType(Master, AreaTrabalho).AlteraTitulo = "...
0
[ 2, 92, 22, 38, 18312, 1054, 107, 7354, 4725, 800, 3726, 3726, 31, 22, 79, 749, 20, 302, 3367, 195, 21, 1054, 3554, 20, 21, 7354, 4725, 15, 47, 31, 114, 221, 22, 38, 164, 186, 3131, 19, 51, 7354, 4725, 9, 98, 589, 31, 845, 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...
What does FastCGI: comm with server mean? === I'm getting this error in a PHP (Drupal) application: (104)Connection reset by peer: FastCGI: comm with server "/opt/php-5.2.5/bin/php-cgi" aborted: read failed It is often followed by this error: FastCGI: incomplete headers (0 bytes) received from serv...
0
[ 2, 98, 630, 1512, 150, 2234, 45, 11951, 29, 8128, 884, 60, 800, 3726, 3726, 31, 22, 79, 1017, 48, 7019, 19, 21, 13, 26120, 13, 5, 43, 7964, 192, 6, 3010, 45, 13, 5, 16757, 6, 25996, 872, 23422, 34, 7617, 45, 1512, 150, 2234, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 settings should be thoroughly evaluated in MSSQL? === I am not a DBA by any means, but being a web developer means that I will have to install, setup, and administer databases. In the past, I have just followed the default installation for MSSQL. Over time, I have grown smarter and learned that default installati...
0
[ 2, 98, 12410, 378, 44, 13632, 19018, 19, 4235, 18, 22402, 60, 800, 3726, 3726, 31, 589, 52, 21, 13, 43, 969, 34, 186, 1108, 15, 47, 142, 21, 2741, 10058, 1108, 30, 31, 129, 57, 20, 16146, 15, 18161, 15, 17, 14839, 6018, 18, 9,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How To Properly Create Domain using Zend Framework? === I asked <a href="http://stackoverflow.com/questions/197939/difference-between-data-access-layer-and-model-in-mvc">this question</a> a while back but now I'm looking to implement an actual separation between my database access layer and the domain layer. I am also...
0
[ 2, 184, 20, 7428, 1600, 4603, 568, 10526, 43, 6596, 60, 800, 3726, 3726, 31, 411, 13, 1, 58, 746, 14057, 3726, 7, 21127, 6903, 25325, 2549, 9990, 9, 960, 118, 24652, 18, 118, 6969, 3412, 118, 1115, 6866, 2940, 8, 14427, 8, 18768, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
SqlBulkInsert - How to set Fire Triggers, Check Constraints? === I'm performing a bulk insert with an ADO.NET 2.0 SqlBulkCopy object from a C# method into a MS SQL 2005 database, using a database user with limited permissions. When I try to run the operation, I get the error message: > Bulk copy failed. User does ...
0
[ 2, 4444, 255, 9077, 6773, 6767, 13, 8, 184, 20, 309, 535, 7286, 18, 15, 2631, 16747, 60, 800, 3726, 3726, 31, 22, 79, 2955, 21, 7238, 14692, 29, 40, 21, 537, 9, 2328, 172, 9, 387, 4444, 255, 9077, 197, 19625, 3095, 37, 21, 272...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How to implement a readonly (immutable) object interface in C# === What I need is to make sure that in most scenarios objects are used via "readonly interface", which is a subset of the full interface. - If I were in C++, I would just return a const object, for instance. - If I could use interfaces, I would ju...
0
[ 2, 184, 20, 8713, 21, 1302, 4965, 13, 5, 1660, 7903, 579, 6, 3095, 6573, 19, 272, 5910, 800, 3726, 3726, 98, 31, 376, 25, 20, 233, 562, 30, 19, 127, 19611, 3916, 50, 147, 1197, 13, 7, 10647, 4965, 6573, 7, 15, 56, 25, 21, 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 advice are you giving your Web user community about the IE security issue? === Perhaps not directly programming related, but definitely product / commercially related. And I can't find a dupe, so I thought I would ask. I have had a bit of trouble trying to figure out what best to say to people who have called...
0
[ 2, 98, 4978, 50, 42, 1438, 154, 2741, 4155, 514, 88, 14, 13, 660, 1221, 1513, 60, 800, 3726, 3726, 1774, 52, 1703, 3143, 1597, 15, 47, 4939, 2374, 13, 118, 11845, 1597, 9, 17, 31, 92, 22, 38, 477, 21, 17938, 62, 15, 86, 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 Can I Best Guess the Encoding when the BOM (Byte Order Mark) is Missing? === My program has to read files that use various encodings. They may be ASCII, UTF-8 or UTF-16 (big or little endian). When the BOM (Byte Order Mark) is there, I have no problem. I know if the file is UTF-8 or UTF-16 BE or LE. I wante...
0
[ 2, 184, 92, 31, 246, 2321, 14, 19608, 76, 14, 1607, 79, 13, 5, 23246, 389, 943, 6, 25, 2863, 60, 800, 3726, 3726, 51, 625, 63, 20, 1302, 6488, 30, 275, 617, 19608, 18, 9, 59, 123, 44, 28, 1892, 49, 15, 287, 11720, 8, 457, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Scaling out SQL Server for the web (Single Writer Multiple Readers) === Has anyone had any experience scaling out SQL Server in a multi reader single writer fashion. If not can anyone suggest a suitable alternative for a read intensive web application, that they have experience with
0
[ 2, 26829, 70, 4444, 255, 8128, 26, 14, 2741, 13, 5, 14031, 1462, 1886, 7807, 6, 800, 3726, 3726, 63, 1276, 41, 186, 1496, 26829, 70, 4444, 255, 8128, 19, 21, 1889, 7765, 345, 1462, 3161, 9, 100, 52, 92, 1276, 5601, 21, 6445, 267...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
How many address fields would you use for a UK database? === Address records are probably used in most database, but I've seen a number of slightly different sets of fields used to store them. The number of fields seems to vary from 3-7, and sometimes all fields are simple labelled address1..addressN, other times give...
0
[ 2, 184, 151, 3218, 2861, 83, 42, 275, 26, 21, 1063, 6018, 60, 800, 3726, 3726, 3218, 742, 50, 910, 147, 19, 127, 6018, 15, 47, 31, 22, 195, 541, 21, 234, 16, 1847, 421, 3415, 16, 2861, 147, 20, 1718, 105, 9, 14, 234, 16, 286...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Catching 302 FOUND in JavaScript === I use jQuery to make an AJAX POST request to my server, which can return HTTP response with status 302. Then JavaScript just sends GET request to this URL, while I'd like to redirect user to URL in this response. Is this possible?
0
[ 2, 9436, 13, 22863, 216, 19, 8247, 8741, 800, 3726, 3726, 31, 275, 487, 8190, 93, 20, 233, 40, 20624, 678, 3772, 20, 51, 8128, 15, 56, 92, 788, 7775, 1627, 29, 1782, 13, 22863, 9, 94, 8247, 8741, 114, 11350, 164, 3772, 20, 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...
Purpose of "consider_all_requests_local" in config/environments/development.rb? === What is the purpose of this Rails config setting... config.action_controller.consider_all_requests_local = true It's set to true by default in `config/environments/development.rb`. Thanks, Ethan
0
[ 2, 2131, 16, 13, 7, 23275, 1, 1233, 1, 99, 10351, 18, 1, 15580, 7, 19, 13, 14093, 2816, 118, 28976, 18, 118, 26119, 9, 7549, 60, 800, 3726, 3726, 98, 25, 14, 2131, 16, 48, 2240, 18, 13, 14093, 2816, 2697, 9, 9, 9, 13, 14093,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
What's the "average" requests per second for a production web application? === I have no frame of reference in terms of what's considered "fast"; I'd always wondered this but have never found a straight answer...
0
[ 2, 98, 22, 18, 14, 13, 7, 27345, 7, 12279, 416, 153, 26, 21, 637, 2741, 3010, 60, 800, 3726, 3726, 31, 57, 90, 3523, 16, 2801, 19, 1663, 16, 98, 22, 18, 724, 13, 7, 13088, 7, 73, 31, 22, 43, 550, 3519, 48, 47, 57, 243, 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, 0, 0, 0, 0, 0, 0, 0, 0...
Best way for multi-language sites virtual Directories === I have a site that will ultimately support 4 languages and 2 countries (US & Canada, English and Spanish) I'm wondering what's the best way to set up the directory structure? Right now, I have a root site called site.com: This will take you to a page ...
0
[ 2, 246, 161, 26, 1889, 8, 7020, 3259, 6599, 559, 1596, 800, 3726, 3726, 31, 57, 21, 689, 30, 129, 3308, 555, 268, 2556, 17, 172, 1166, 13, 5, 267, 279, 836, 15, 486, 17, 1273, 6, 31, 22, 79, 5712, 98, 22, 18, 14, 246, 161, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 design a database schema to support tagging with categories? === I am trying to so something like [Database Design for Tagging][1], except each of my tags are grouped into categories. For example, let's say I have a database about vehicles. Let's say we actually don't know very much about vehicles, so we ca...
0
[ 2, 184, 20, 704, 21, 6018, 23874, 20, 555, 3383, 2762, 29, 6422, 60, 800, 3726, 3726, 31, 589, 749, 20, 86, 301, 101, 636, 18768, 8436, 704, 26, 3383, 2762, 500, 2558, 165, 500, 15, 1613, 206, 16, 51, 3383, 18, 50, 19511, 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...
darcs help breaks my shell === I have just installed darcs 2.1.2.2. When I type darcs help, sth less-like shows up. When I dismiss it with q it goes away but I don't get prompt and can't execute any commands. C-c doesn't work either. I am using bash on gentoo.
0
[ 2, 3178, 6824, 448, 7947, 51, 3593, 800, 3726, 3726, 31, 57, 114, 4066, 3178, 6824, 172, 9, 165, 9, 135, 9, 135, 9, 76, 31, 1001, 3178, 6824, 448, 15, 13, 18, 96, 787, 8, 1403, 1285, 71, 9, 76, 31, 14372, 32, 29, 2593, 32, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
What techniques can be used to speed up C++ compilation times? === What techniques can be used to speed up C++ compilation times? This question came up in some comments on this question: http://stackoverflow.com/questions/372862/c-programming-style And I'm interested to hear what ideas there are. I've seen th...
0
[ 2, 98, 4212, 92, 44, 147, 20, 1362, 71, 272, 20512, 4868, 436, 60, 800, 3726, 3726, 98, 4212, 92, 44, 147, 20, 1362, 71, 272, 20512, 4868, 436, 60, 48, 1301, 281, 71, 19, 109, 7534, 27, 48, 1301, 45, 7775, 6903, 25325, 2549, 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...
In Ruby, what are the best packages for decoding, encoding? === I am trying to encode/decode MIME headers in Ruby.
0
[ 2, 19, 10811, 15, 98, 50, 14, 246, 16875, 26, 121, 15458, 15, 19608, 60, 800, 3726, 3726, 31, 589, 749, 20, 20523, 118, 546, 9375, 26193, 157, 445, 19, 10811, 9, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
Does C++11's decltype make clone unecessary? === The [clone][1] paradigm is used to make a copy of a derived class without casting down to the base class type. Unfortunately, `clone` must be implemented in each subclass (or with a mixin with CRTP). Is there any chance that C++11's `decltype` makes this unecessary? ...
0
[ 2, 630, 272, 20512, 1306, 22, 18, 121, 5316, 4474, 233, 13871, 13, 6763, 5052, 18, 1857, 60, 800, 3726, 3726, 14, 636, 150, 16285, 500, 2558, 165, 500, 20234, 25, 147, 20, 233, 21, 4344, 16, 21, 3981, 718, 366, 9087, 125, 20, 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...
Something lost when I print flex items with Flash Player 11.2.202.233 === This is my code var pj:FlexPrintJob = new FlexPrintJob(); if(pj.start()) { pj.printAsBitmap = true; pj.addObject(printObject,FlexPrintJobScaleType.MATCH_WIDTH); pj.send(); } It works fine wit...
0
[ 2, 301, 529, 76, 31, 4793, 14409, 3755, 29, 4433, 517, 547, 9, 135, 9, 1323, 135, 9, 21799, 800, 3726, 3726, 48, 25, 51, 1797, 4033, 13, 21670, 45, 19752, 10299, 1636, 220, 800, 78, 14409, 10299, 1636, 220, 5, 6, 73, 100, 5, 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...
WP7 Marketplace Test Kit === The Marketplace Test Kit shows two capabilities for my app: ID_CAP_NETWORKING, and ID_CAP_LOCATION I use location (GPS), but I don't think that I use networking. How do I find out why the test detects networking in my app? thanks...
0
[ 2, 13, 13790, 465, 19408, 1289, 6346, 800, 3726, 3726, 14, 19408, 1289, 6346, 1285, 81, 10209, 26, 51, 4865, 45, 4924, 1, 4666, 1, 24106, 68, 15, 17, 4924, 1, 4666, 1, 19032, 31, 275, 1474, 13, 5, 13321, 18, 6, 15, 47, 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...
How do you implement constructor injection in a factory? === When you're using a factory pattern, how do you inject dependencies into constructors at runtime? I'm building Foos with different formats - boolean, array, freetext, matrix, etc. That format list will grow as we find different uses for Foo. Here's my b...
0
[ 2, 184, 107, 42, 8713, 6960, 248, 13646, 19, 21, 3129, 60, 800, 3726, 3726, 76, 42, 22, 99, 568, 21, 3129, 3732, 15, 184, 107, 42, 20316, 29411, 77, 6960, 248, 18, 35, 485, 891, 60, 31, 22, 79, 353, 4310, 759, 29, 421, 13767, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 safest way to empty a directory in *nix? === I'm scared that one day, I'm going to put a space or miss out something in the command I currently use: rm -rf ./* Is there a safer way of emptying the current directory's contents?
0
[ 2, 98, 25, 14, 1834, 384, 161, 20, 2424, 21, 16755, 19, 1637, 14064, 60, 800, 3726, 3726, 31, 22, 79, 5056, 30, 53, 208, 15, 31, 22, 79, 228, 20, 442, 21, 726, 54, 1501, 70, 301, 19, 14, 1202, 31, 871, 275, 45, 13, 6538, 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...
JavaScript: Passing a reference to a function, with parameters === I need to able to **pass a reference to a function with a given set of parameters**. Here is an example of passing a reference ***without** parameters*: var f = function () { //Some logic here... }; var fr = f; //Here...
0
[ 2, 8247, 8741, 45, 2848, 21, 2801, 20, 21, 1990, 15, 29, 12905, 800, 3726, 3726, 31, 376, 20, 777, 20, 13, 1409, 6201, 21, 2801, 20, 21, 1990, 29, 21, 504, 309, 16, 12905, 1409, 9, 235, 25, 40, 823, 16, 2848, 21, 2801, 8980, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
I would like to move an element to the left using loop ... === I bet I've got elementary question, but I couldn't solve it for two nights. I've got 1 "ul" element and I just want it to move any amount of pixels every e.g. 2 sec to the left. I want him to move like this step by step and then come back to the original ...
0
[ 2, 31, 83, 101, 20, 780, 40, 4520, 20, 14, 225, 568, 5293, 13, 9, 9, 9, 800, 3726, 3726, 31, 5676, 31, 22, 195, 330, 3210, 1301, 15, 47, 31, 711, 22, 38, 8402, 32, 26, 81, 6472, 9, 31, 22, 195, 330, 137, 13, 7, 1287, 7, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Mathematical Derivation with C#? === How can I do some more advanced function. I see that I can do function with public int myFunction(int myParameter) but what if I do want to derive that function?
0
[ 2, 7046, 26607, 29, 272, 5910, 60, 800, 3726, 3726, 184, 92, 31, 107, 109, 91, 2255, 1990, 9, 31, 196, 30, 31, 92, 107, 1990, 29, 317, 19, 38, 51, 22359, 5, 6391, 51, 6351, 7307, 6, 47, 98, 100, 31, 107, 259, 20, 20576, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
XPath in XmlStream.addObserver doesn't work the way it should === What I want to do is to react only on specified root elements. For example, if user sends XmlStream that looks like: <auth> <login>user</login> <pass>dupa.8</pass> </auth> My method ._auth should be executed. I've done i...
0
[ 2, 993, 8353, 19, 23504, 11260, 9, 14854, 4995, 10321, 106, 1437, 22, 38, 170, 14, 161, 32, 378, 800, 3726, 3726, 98, 31, 259, 20, 107, 25, 20, 7749, 104, 27, 9931, 5900, 2065, 9, 26, 823, 15, 100, 4155, 11350, 23504, 11260, 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...
What is classpath hell and is/was it really a problem for Java? === What is classpath hell and is/was it really a problem for Java?
0
[ 2, 98, 25, 718, 8353, 1094, 17, 25, 118, 4149, 32, 510, 21, 1448, 26, 8247, 60, 800, 3726, 3726, 98, 25, 718, 8353, 1094, 17, 25, 118, 4149, 32, 510, 21, 1448, 26, 8247, 60, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
Python regex for MD5 hash === I've come up with: re.findall("([a-fA-F\d]*)", data) but it's not very fool proof, is there a better way to grab all MD5-hash codes?
0
[ 2, 20059, 7953, 1706, 26, 8138, 264, 19170, 800, 3726, 3726, 31, 22, 195, 340, 71, 29, 45, 302, 9, 19811, 1233, 5, 7, 5, 2558, 58, 8, 1473, 8, 410, 1, 43, 500, 2483, 6, 7, 15, 1054, 6, 47, 32, 22, 18, 52, 253, 5345, 6070, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Close an easygui Python script with the standard 'close' button === I've created a *very* simple app, which presents an easygui entrybox() and continues to loop this indefinitely as it receives user input. I can quit the program using the Cancel button as this returns None, but I would also like to be able to use t...
0
[ 2, 543, 40, 2010, 7215, 20059, 3884, 29, 14, 1236, 13, 22, 14330, 22, 5167, 800, 3726, 3726, 31, 22, 195, 679, 21, 1637, 7864, 2483, 1935, 4865, 15, 56, 7992, 40, 2010, 7215, 2792, 5309, 5, 6, 17, 2622, 20, 5293, 48, 19, 19185, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Proper way to get a Winforms UI to block with a dialog until some non-user driven event conditioin? === I was asking about specifics with this approach earlier today [here][1] but the confused responses has me wondering if I'm going about this all wrong. So here's the problem. I need to architect a WinForms applic...
0
[ 2, 4119, 161, 20, 164, 21, 628, 4190, 18, 13, 5661, 20, 1921, 29, 21, 28223, 163, 109, 538, 8, 16704, 5355, 807, 1065, 1115, 15752, 108, 60, 800, 3726, 3726, 31, 23, 3379, 88, 1903, 18, 29, 48, 2141, 1201, 786, 636, 6836, 500, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
relative url in wcf service binding === I have a silverlight control which has a reference to a silverlight enabled wcf service. When I add a reference to the service in my silverlight control, it adds the following to my clientconfig file: <configuration> <system.serviceModel> <binding...
0
[ 2, 4543, 287, 6362, 19, 11801, 410, 365, 8728, 800, 3726, 3726, 31, 57, 21, 1172, 3130, 569, 56, 63, 21, 2801, 20, 21, 1172, 3130, 9338, 11801, 410, 365, 9, 76, 31, 3547, 21, 2801, 20, 14, 365, 19, 51, 1172, 3130, 569, 15, 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...
Create a 2 dimension Quickreport === I think im asking for the right type of report from Quickreport. What we have is a simple table, gauge,site,value Gauge and site are the keyfields, (there could be anynumber of Gauge-Site Pairs) normally there is only at most, about 10 sites. and we are looking t...
0
[ 2, 1600, 21, 172, 9547, 2231, 17437, 800, 3726, 3726, 31, 277, 797, 3379, 26, 14, 193, 1001, 16, 1330, 37, 2231, 17437, 9, 98, 95, 57, 25, 21, 1935, 859, 15, 7313, 15, 9097, 15, 15165, 7313, 17, 689, 50, 14, 1246, 1109, 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...
Check for column name in a SqlDataReader object === How do I check to see if a column exists in a SqlDataReader object? In my data access layer, I have create a method that builds the same object for multiple stored procedures calls. One of the stored procedures has an additional column that is not used by the other...
0
[ 2, 2631, 26, 4698, 204, 19, 21, 4444, 255, 18768, 10647, 106, 3095, 800, 3726, 3726, 184, 107, 31, 2631, 20, 196, 100, 21, 4698, 5636, 19, 21, 4444, 255, 18768, 10647, 106, 3095, 60, 19, 51, 1054, 1381, 5385, 15, 31, 57, 1600, 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 can I grab my local changelist and send it to someone else in Perforce? === How can I grab my local changelist and send it to someone else in Perforce?
0
[ 2, 184, 92, 31, 4931, 51, 375, 753, 5739, 17, 2660, 32, 20, 737, 962, 19, 416, 8774, 60, 800, 3726, 3726, 184, 92, 31, 4931, 51, 375, 753, 5739, 17, 2660, 32, 20, 737, 962, 19, 416, 8774, 60, 3, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
Linux how do I put double quotes around a file before piping it to tar? === I use ls to obtain my filename which has white space so it looks something like: my file with whitespace.tar.bz2 I want to pipe this to tar similar to: ls | grep mysearchstring | tar xvjf How can I insert double quotes before pipin...
0
[ 2, 13024, 184, 107, 31, 442, 1494, 18901, 140, 21, 3893, 115, 11280, 68, 32, 20, 2475, 60, 800, 3726, 3726, 31, 275, 644, 18, 20, 5545, 51, 3893, 7259, 56, 63, 359, 726, 86, 32, 1879, 301, 101, 45, 51, 3893, 29, 359, 5582, 9, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How to Domain Layer Objects to Represent Multiple Objects & Single Object in Zend Framework? === I'm working on creating a domain layer in Zend Framework that is separate from the data access layer. The Data Access Layer is composed to two main objects, a Table Data Gateway and a Row Data Gateway. As per Bill Karwin's...
0
[ 2, 184, 20, 4603, 5385, 3916, 20, 3501, 1886, 3916, 279, 345, 3095, 19, 10526, 43, 6596, 60, 800, 3726, 3726, 31, 22, 79, 638, 27, 2936, 21, 4603, 5385, 19, 10526, 43, 6596, 30, 25, 1725, 37, 14, 1054, 1381, 5385, 9, 14, 1054, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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" sizeof with a type or variable === Recently saw someone commending another user on their use of sizeof var instead of sizeof(type). I always thought that was just a style choice. Is there any significant difference? As an example, the lines with f and ff were considered better than the lines with g and gg: ...
0
[ 2, 13, 7, 150, 7, 1072, 1041, 29, 21, 1001, 54, 7612, 800, 3726, 3726, 1989, 441, 737, 28778, 68, 226, 4155, 27, 66, 275, 16, 1072, 1041, 4033, 700, 16, 1072, 1041, 5, 4474, 6, 9, 31, 550, 289, 30, 23, 114, 21, 1034, 1837, 9...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How do you count the words in an array of strings with LINQ? === Given an array like {"one two", "three four five"}, how'd you calculate the total number of words contained in it using LINQ?
0
[ 2, 184, 107, 42, 2468, 14, 715, 19, 40, 7718, 16, 7887, 29, 6294, 1251, 60, 800, 3726, 3726, 504, 40, 7718, 101, 13, 1, 7, 849, 81, 7, 15, 13, 7, 5642, 222, 355, 7, 1, 15, 184, 22, 43, 42, 18469, 14, 600, 234, 16, 715, 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, 0, 0, 0, 0, 0, 0, 0, 0...
Hide categories that have no products magento === I have many sites that use the same root category of the Main Site. Each product that is added is added to the site it was added to (wow.) and also the Main Site. However, I would like categories on a per site basis to only appear if there are products on that site. ...
0
[ 2, 3077, 6422, 30, 57, 90, 1985, 4723, 17050, 800, 3726, 3726, 31, 57, 151, 3259, 30, 275, 14, 205, 5900, 3230, 16, 14, 407, 689, 9, 206, 2374, 30, 25, 905, 25, 905, 20, 14, 689, 32, 23, 905, 20, 13, 5, 14297, 9, 6, 17, 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...
Computing a 95% confidence interval on the sum of n i.i.d. exponential random variables. === Let's in fact generalize to a `c`-confidence interval. Let the common rate parameter be `a`. (Note that the mean of an exponential distribution with rate parameter `a` is `1/a`.) First find the cdf of the sum of `n` such ...
0
[ 2, 10626, 21, 13, 20371, 6548, 14422, 27, 14, 3907, 16, 13, 103, 31, 9, 49, 9, 43, 9, 22705, 5477, 12157, 9, 800, 3726, 3726, 408, 22, 18, 19, 837, 297, 2952, 20, 21, 13, 1, 150, 1, 8, 29169, 14422, 9, 408, 14, 757, 1684, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
glGetError hangs for several seconds === I am developing an OpenGL application and I am seeing some strange things happen. The machine I am testing with is equipped with an NVidia Quadro FX 4600 and it is running RHEL WS 4.3 x86_64 (kernel 2.6.9-34.ELsmp). I've stepped through the application with a debugger and I'...
0
[ 2, 13, 8430, 3060, 29992, 4546, 18, 26, 238, 2582, 800, 3726, 3726, 31, 589, 3561, 40, 368, 8430, 3010, 17, 31, 589, 2078, 109, 2578, 564, 2384, 9, 14, 1940, 31, 589, 4431, 29, 25, 5503, 29, 40, 13, 20763, 18175, 13559, 661, 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...
How do you implement XOR using +-*/ ? === How can the XOR operation (on two 32 bit ints) be implemented using only basic arithmetic operations? Do you have to do it bitwise after dividing by each power of 2 in turn, or is there a shortcut? I don't care about execution speed so much as about the simplest, shortest code...
0
[ 2, 184, 107, 42, 8713, 993, 248, 568, 2754, 8, 2483, 118, 13, 60, 800, 3726, 3726, 184, 92, 14, 993, 248, 1453, 13, 5, 218, 81, 2512, 1142, 19, 38, 18, 6, 44, 6807, 568, 104, 2125, 21211, 1311, 60, 107, 42, 57, 20, 107, 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...
Looking for an XSD representing an 'Order' for a shopping cart === I am trying to create an XML schema representing an 'order' for a shopping cart I want this to completely abstract away my shopping cart's implementation -- and eventually support partners sending us orders using this schema. (yes i'm planning on in...
0
[ 2, 699, 26, 40, 993, 18, 43, 3793, 40, 13, 22, 7861, 22, 26, 21, 4884, 6420, 800, 3726, 3726, 31, 589, 749, 20, 1600, 40, 23504, 23874, 3793, 40, 13, 22, 7861, 22, 26, 21, 4884, 6420, 31, 259, 48, 20, 1524, 8502, 229, 51, 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...
Why does the EPIC eclipse plugin not show any info in "Explain Errors/Warnings" ? === I use the "EPIC" plugin to Eclipse for Perl development, but in the "Explain Errors/Warnings" view there's no info at all, even though I have some compilation errors. Do I need to do anything special to get EPIC to display useful inf...
0
[ 2, 483, 630, 14, 7269, 11652, 10922, 108, 52, 298, 186, 15404, 19, 13, 7, 6899, 10792, 11908, 118, 1885, 2981, 18, 7, 13, 60, 800, 3726, 3726, 31, 275, 14, 13, 7, 62, 7763, 7, 10922, 108, 20, 11652, 26, 416, 255, 522, 15, 47, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PHP: Messaging/Logging to Eclipse Console? === Is it possible to send messages from a PHP script to the console in Eclipse? Has anyone attempted this already? I'm not very familiar with how the console works, so I'm not sure if there is a standardized method for communicating with it.
0
[ 2, 13, 26120, 45, 26437, 118, 13919, 20, 11652, 8650, 60, 800, 3726, 3726, 25, 32, 938, 20, 2660, 7561, 37, 21, 13, 26120, 3884, 20, 14, 8650, 19, 11652, 60, 63, 1276, 3066, 48, 614, 60, 31, 22, 79, 52, 253, 3694, 29, 184, 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...
Digital Certificate: How to import .cer file in to .truststore file using? === Has anyone came across where they have to deal with .truststore file? and knowing how to import .cer into .truststore file? I am not sure if I have to use Java Keytool or Linux command (such as openssl command). Thanks
0
[ 2, 1888, 6259, 45, 184, 20, 9010, 13, 9, 5482, 3893, 19, 20, 13, 9, 11592, 16828, 3893, 568, 60, 800, 3726, 3726, 63, 1276, 281, 464, 113, 59, 57, 20, 1183, 29, 13, 9, 11592, 16828, 3893, 60, 17, 2506, 184, 20, 9010, 13, 9, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
What API call would I use to change brightness of laptop (.NET)? === I have Windows Server 2008 installed on a Sony laptop and the brightness control doesn't work. I'd like to write a program to allow me to change it. Currently what I have to do is open the Power control panel, click advanced settings, and fight th...
0
[ 2, 98, 21, 2159, 645, 83, 31, 275, 20, 753, 21138, 16, 12294, 13, 5, 9, 2328, 6, 60, 800, 3726, 3726, 31, 57, 1936, 8128, 570, 4066, 27, 21, 8283, 12294, 17, 14, 21138, 569, 1437, 22, 38, 170, 9, 31, 22, 43, 101, 20, 2757, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 specify a where clause on data returned from a .Include in an Entity Framework query? === Given the following database table hierarchy: Region ------ RegionId RegionName Country ------- CountryId RegionId CountryName Destination ----------...
0
[ 2, 184, 107, 42, 19077, 21, 113, 9040, 27, 1054, 587, 37, 21, 13, 9, 22640, 19, 40, 9252, 6596, 25597, 60, 800, 3726, 3726, 504, 14, 249, 6018, 859, 14417, 45, 632, 13, 8, 8, 8, 8, 8, 8, 632, 1340, 632, 7259, 475, 13, 8, 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...
Use of setTimeout === I am trying to develop a slideshow with a pause between slides. So I'm trying to use the setTimeout statement as shown below. This is written to swap 2.jpg for 1.jpg with a pause of 10 seconds on clicking the button. But it does now work. Can anyone help me. Thanks. <html> <head> <script typ...
0
[ 2, 275, 16, 309, 891, 1320, 800, 3726, 3726, 31, 589, 749, 20, 2803, 21, 18066, 1544, 29, 21, 6911, 128, 18066, 9, 86, 31, 22, 79, 749, 20, 275, 14, 309, 891, 1320, 3331, 28, 1721, 1021, 9, 48, 25, 642, 20, 17150, 172, 9, 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...
What types of architectures do you consider at the enterprise level? === When someone uses the term XXX architecture I tend to cringe. It often indicates that there's another architectural discipline that I'm unaware of ... or sometimes I'm aware of the discipline but not the term. In a recent meeting, I was asked a...
0
[ 2, 98, 2551, 16, 2607, 18, 107, 42, 3563, 35, 14, 6002, 662, 60, 800, 3726, 3726, 76, 737, 2027, 14, 981, 13, 13290, 2607, 31, 5480, 20, 6186, 68, 62, 9, 32, 478, 6475, 30, 80, 22, 18, 226, 5350, 7927, 30, 31, 22, 79, 12100,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Question about distinguishing between a truly exceptional circumstances and a routine bad condition === A lot of developers say only throw exceptions in truly exceptional circumstances. One of these would be if an external hard drive I want to write to is not switched on (therefore not a connected/registered drive). H...
0
[ 2, 1301, 88, 23973, 128, 21, 4574, 12961, 5072, 17, 21, 8275, 896, 2874, 800, 3726, 3726, 21, 865, 16, 10168, 395, 104, 3814, 13392, 19, 4574, 12961, 5072, 9, 53, 16, 158, 83, 44, 100, 40, 4886, 552, 1493, 31, 259, 20, 2757, 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...
How to excape eveything in a block in HTML === I seem to recall that there is an HTML tag that escapes absolutely everything inside it except the matching closing tag. Kind of like [`<plaintext>`][1] but not fundamentally broken. --- I did search SO for this and didn't find what I was looking for. [1]: http:/...
0
[ 2, 184, 20, 1396, 4666, 62, 5035, 93, 96, 68, 19, 21, 1921, 19, 13, 15895, 800, 3726, 3726, 31, 2260, 20, 7111, 30, 80, 25, 40, 13, 15895, 3383, 30, 16366, 6916, 796, 572, 32, 1613, 14, 10120, 4239, 3383, 9, 825, 16, 101, 636,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Suggestions for a Cron like scheduler in Python? === I'm looking for a library in Python which will provide `at` and `cron` like functionality. I'd quite like have a pure Python solution, rather than relying on tools installed on the box; this way I run on machines with no cron. For those unfamiliar with `cron`:...
0
[ 2, 18389, 26, 21, 13, 19587, 101, 4345, 139, 19, 20059, 60, 800, 3726, 3726, 31, 22, 79, 699, 26, 21, 1248, 19, 20059, 56, 129, 1181, 13, 1, 721, 1, 17, 13, 1, 19587, 1, 101, 18548, 9, 31, 22, 43, 1450, 101, 57, 21, 4267, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 is Vista64 using a 32bit cmd.exe by default? (machine-specific) === (I have this weird configuration problem at work, so I thought I'd give this site a try. My Google-Fu is failing me...) <b>The situation:</b> I need to convert our current development environment from XP 32bit to Vista 64bit (*). Naturally, I'...
0
[ 2, 483, 25, 13520, 3470, 568, 21, 2512, 3326, 2390, 43, 9, 1706, 62, 34, 12838, 60, 13, 5, 20442, 8, 9219, 6, 800, 3726, 3726, 13, 5, 49, 57, 48, 5455, 8091, 1448, 35, 170, 15, 86, 31, 289, 31, 22, 43, 590, 48, 689, 21, 11...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Obtaining iPhone Photo Exposure Information === Is there any way to get the exposure settings (aperture, shutter speed, ISO) for a photo taken on an iPhone? An app running on the iPhone can use the UIImagePickerController interface for taking pictures, but that doesn't provide much info about the picture. The EX...
0
[ 2, 12114, 21024, 3056, 6587, 676, 800, 3726, 3726, 25, 80, 186, 161, 20, 164, 14, 6587, 12410, 13, 5, 58, 1432, 6418, 15, 17948, 1362, 15, 11899, 6, 26, 21, 3056, 658, 27, 40, 21024, 60, 40, 4865, 946, 27, 14, 21024, 92, 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...
Is loading a dependency assembly from the internet a good practice? === I know there are several ways to deploy a .net windows client application: There's [Windows Installer][1], [Click Once][2], a simple download & run, and loading the windows forms / WCF application in Internet Explorer (no to confuse the latter ...
0
[ 2, 25, 12797, 21, 26835, 1475, 37, 14, 2620, 21, 254, 1345, 60, 800, 3726, 3726, 31, 143, 80, 50, 238, 2847, 20, 17617, 21, 13, 9, 2328, 1936, 6819, 3010, 45, 80, 22, 18, 636, 27508, 18, 16146, 106, 500, 2558, 165, 500, 15, 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...
Why aren't Java generic type parameters reified at runtime ? === My understanding is that C# and java differ with respect to generics in some ways, one of which is that generic type parameters are available at runtime in C#/.NET but not in Java. Why did the Java language designers do it this way?
0
[ 2, 483, 4847, 22, 38, 8247, 12733, 1001, 12905, 302, 4462, 35, 485, 891, 13, 60, 800, 3726, 3726, 51, 3260, 25, 30, 272, 5910, 17, 8247, 11394, 29, 2873, 20, 12733, 18, 19, 109, 2847, 15, 53, 16, 56, 25, 30, 12733, 1001, 12905, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How to write out a text file in C# with a code page other than utf-8? === I want to write out a text file. Instead of the default UTF-8, I want to write it encoded as ISO-8859-1 which is code page 28591. I have no idea how to do this... I'm writing out my file with the following very simple code: using (...
0
[ 2, 184, 20, 2757, 70, 21, 1854, 3893, 19, 272, 5910, 29, 21, 1797, 2478, 89, 119, 287, 11720, 8, 457, 60, 800, 3726, 3726, 31, 259, 20, 2757, 70, 21, 1854, 3893, 9, 700, 16, 14, 12838, 287, 11720, 8, 457, 15, 31, 259, 20, 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...
C# Object Initializers and v2.0 compiler error === I'm having an issue setting up one of my projects in TeamCity (v4.0), specifically when it comes to using Object Initializers. The project builds fine normally, however it would seem that TeamCity transforms the build file into something it likes (some MSBuild muta...
0
[ 2, 272, 5910, 3095, 2104, 11907, 18, 17, 566, 135, 9, 387, 21486, 7019, 800, 3726, 3726, 31, 22, 79, 452, 40, 1513, 2697, 71, 53, 16, 51, 2314, 19, 173, 5788, 13, 5, 710, 300, 9, 387, 6, 15, 3524, 76, 32, 1624, 20, 568, 3095...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
sqlite3:Unable to close due to unfinalised statements === I have two sqlite connections and execute like below(CMyDatabase is a derived class of sqlite3): CMyDatabase* dbConnection1 = new CMyDatabase; dbConnection1->OpenDataBase(CQCommon::GetModulePath() + L"test.db"); CMyDatabase* dbConnection2 = new CMyDataba...
0
[ 2, 4444, 10601, 240, 45, 1020, 579, 20, 543, 397, 20, 367, 4932, 2541, 9015, 800, 3726, 3726, 31, 57, 81, 4444, 10601, 6760, 17, 15644, 101, 1021, 5, 150, 915, 18768, 8436, 25, 21, 3981, 718, 16, 4444, 10601, 240, 6, 45, 2390, 9...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How do I get the UTC time of "midnight" for a given timezone? === The best I can come up with for now is this monstrosity: >>> datetime.utcnow() \ ... .replace(tzinfo=pytz.UTC) \ ... .astimezone(pytz.timezone("Australia/Melbourne")) \ ... .replace(hour=0,minute=0,second=0,microsecond=0) \ ...
0
[ 2, 184, 107, 31, 164, 14, 13, 11440, 85, 16, 13, 7, 7825, 4893, 7, 26, 21, 504, 85, 11661, 60, 800, 3726, 3726, 14, 246, 31, 92, 340, 71, 29, 26, 130, 25, 48, 3521, 18, 3996, 18, 856, 45, 13, 1, 1231, 891, 9, 11440, 1387, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 would you attack this polymorphism string building problem. === Sorry for not so discrptive title, if someone wants to change it go ahead. Also note I have already asked a [question][1] about this kind of thing but this one is more about how you would attack it because my attack just doesn't seem to feel right. ...
0
[ 2, 184, 83, 42, 991, 48, 3446, 13348, 3724, 353, 1448, 9, 800, 3726, 3726, 1875, 26, 52, 86, 3626, 6952, 6142, 581, 15, 100, 737, 2846, 20, 753, 32, 162, 2173, 9, 67, 1945, 31, 57, 614, 411, 21, 636, 24652, 500, 2558, 165, 500...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Geocoding libraries === I'm using python and I need to map locations like "Bloomington, IN" to GPS coordinates so I can measure distances between them. What Geocoding libraries/APIs do you recommend? Best, Bruno
0
[ 2, 6389, 15458, 8649, 800, 3726, 3726, 31, 22, 79, 568, 20059, 17, 31, 376, 20, 2942, 4095, 101, 13, 7, 220, 15160, 4926, 15, 19, 7, 20, 18298, 13714, 86, 31, 92, 4058, 15731, 128, 105, 9, 98, 6389, 15458, 8649, 118, 58, 8954, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
Retrieve return value from DB2 stored procedure === I have a block of code that is repeated within a DB2 stored procedure. I would like to separate this out into a new procedure that I can call with parameters and have it return a value. How do I create a procedure to return a value and how do I call this procedur...
0
[ 2, 11917, 788, 1923, 37, 13, 9007, 135, 8214, 7004, 800, 3726, 3726, 31, 57, 21, 1921, 16, 1797, 30, 25, 4251, 363, 21, 13, 9007, 135, 8214, 7004, 9, 31, 83, 101, 20, 1725, 48, 70, 77, 21, 78, 7004, 30, 31, 92, 645, 29, 1290...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Problem generating a VS.Net 2008 solution manually === For a project I am doing I need to manually create a .net project. I am currently using a StreamWriter to create the .sln, .csproj and base (empty for now) class. I am also generating the AssemblyInfo.cs class. I have copied exactly the files and folder structure ...
0
[ 2, 1448, 13500, 21, 4611, 9, 2328, 570, 4295, 23671, 800, 3726, 3726, 26, 21, 669, 31, 589, 845, 31, 376, 20, 23671, 1600, 21, 13, 9, 2328, 669, 9, 31, 589, 871, 568, 21, 3766, 9657, 20, 1600, 14, 13, 9, 18, 16600, 15, 13, 9...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Best way to implement multi-language/globalization in large .NET project === I'll soon be working on a large c# project and would like to build in multi-language support from the start. I've had a play around and can get it working using a seperate resource file for each language, then use a resource manager to load u...
0
[ 2, 246, 161, 20, 8713, 1889, 8, 7020, 118, 26763, 1829, 19, 370, 13, 9, 2328, 669, 800, 3726, 3726, 31, 22, 211, 651, 44, 638, 27, 21, 370, 272, 5910, 669, 17, 83, 101, 20, 1895, 19, 1889, 8, 7020, 555, 37, 14, 799, 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...
Please help with this ActionScript syntax === I am a Java programmer and need to work on a Flex/ActionScript project right now. I got an example of using ITreeDataDesriptor from Flex 3 Cookbook, but there is one line of actionscript code that's hard for me to understand. I appreciate if someone could explain this a li...
0
[ 2, 2247, 448, 29, 48, 1028, 8741, 22649, 800, 3726, 3726, 31, 589, 21, 8247, 17968, 17, 376, 20, 170, 27, 21, 14409, 118, 8645, 8741, 669, 193, 130, 9, 31, 330, 40, 823, 16, 568, 31, 8101, 18768, 3196, 16477, 2153, 37, 14409, 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...