unified_texts
stringlengths
32
30.1k
OpenStatus_id
int64
0
4
input_ids
list
token_type_ids
list
attention_mask
list
.NET: Why do I need a SecureString? === I'm trying to grok the purpose of .NET's SecureString. From MSDN: > An instance of the System.String class is both immutable and, when no longer needed, cannot be programmatically scheduled for garbage collection; that is, the instance is read-only after it is created and it...
0
[ 2, 13, 9, 2328, 45, 483, 107, 31, 376, 21, 4315, 11130, 60, 800, 3726, 3726, 31, 22, 79, 749, 20, 3452, 197, 14, 2131, 16, 13, 9, 2328, 22, 18, 4315, 11130, 9, 37, 4235, 43, 103, 45, 13, 1, 40, 4851, 16, 14, 329, 9, 11130,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 proper way to ensure a SQL connection is closed when an exception is thrown? === I use a pattern that looks something like this often. I'm wondering if this is alright or if there is a best practice that I am not applying here. Specifically I'm wondering; in the case that an exception is thrown is the ...
0
[ 2, 98, 25, 14, 4119, 161, 20, 4062, 21, 4444, 255, 2760, 25, 827, 76, 40, 5391, 25, 6027, 60, 800, 3726, 3726, 31, 275, 21, 3732, 30, 1879, 301, 101, 48, 478, 9, 31, 22, 79, 5712, 100, 48, 25, 11885, 54, 100, 80, 25, 21, 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 pass parameters to called function using ASP.Net Ajax $addHandler === I am trying to use the $addHandler function to add a handler to a text box's click event var o=$get('myTextBox'); var f = Type.parse('funcWithArgs'); $addHandler(o, 'click', f); However I need to pass parameters to t...
0
[ 2, 184, 107, 42, 1477, 12905, 20, 227, 1990, 568, 28, 306, 9, 2328, 20624, 5579, 14854, 3203, 1252, 800, 3726, 3726, 31, 589, 749, 20, 275, 14, 5579, 14854, 3203, 1252, 1990, 20, 3547, 21, 24641, 20, 21, 1854, 1649, 22, 18, 10840,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 have a LinkClicked event using an ArrayList of LinkLabels in .NET === I'm working on a form that will display links to open different types of reports. This system has different types of users, so the users should only be able to see the links to the types of reports they can access. Currently, the way I ...
0
[ 2, 184, 20, 57, 21, 3508, 150, 10129, 69, 807, 568, 40, 7718, 5739, 16, 3508, 21018, 18, 19, 13, 9, 2328, 800, 3726, 3726, 31, 22, 79, 638, 27, 21, 505, 30, 129, 3042, 6271, 20, 368, 421, 2551, 16, 2813, 9, 48, 329, 63, 421,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 many database indexes is too many? === I'm working on a project with a rather large Oracle database (although my question applies equally well to other databases). We have a web interface which allows users to search on almost any possible combination of fields. To make these searches go fast, we're adding ind...
0
[ 2, 184, 151, 6018, 4348, 160, 25, 266, 151, 60, 800, 3726, 3726, 31, 22, 79, 638, 27, 21, 669, 29, 21, 864, 370, 15759, 6018, 13, 5, 8655, 51, 1301, 13169, 7634, 134, 20, 89, 6018, 18, 6, 9, 95, 57, 21, 2741, 6573, 56, 2965,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 java have a using clause? === I've seen reference in some C# posted questions to a "using" clause. Does java have the equivalent?
0
[ 2, 630, 8247, 57, 21, 568, 9040, 60, 800, 3726, 3726, 31, 22, 195, 541, 2801, 19, 109, 272, 5910, 6054, 2346, 20, 21, 13, 7, 12655, 7, 9040, 9, 630, 8247, 57, 14, 4602, 60, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
Exceptions vs Result Codes for a socket client class. === I have a class that encapsulates tcp socket communications with a server. For each command message sent to the server, the server will send back a response message that invariably contains a response code (OK, Fail). Using my class, each command can be executed...
0
[ 2, 13392, 4611, 829, 11358, 26, 21, 18482, 6819, 718, 9, 800, 3726, 3726, 31, 57, 21, 718, 30, 1957, 4666, 18, 12383, 18, 13, 38, 7439, 18482, 3380, 29, 21, 8128, 9, 26, 206, 1202, 2802, 795, 20, 14, 8128, 15, 14, 8128, 129, 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...
Controlling property names on serialized ASP.Net Ajax Objects === To start, I know there are two "kinds" of JSON serialization currently built into ASP.Net: you can either use the JavaScriptSerializer class to serialize your object to JSON or the new DataContractJsonSerializer class to convert a object to JSON. If ...
0
[ 2, 10106, 1354, 1817, 27, 27877, 28, 306, 9, 2328, 20624, 3916, 800, 3726, 3726, 20, 799, 15, 31, 143, 80, 50, 81, 13, 7, 11008, 18, 7, 16, 487, 528, 5956, 1829, 871, 392, 77, 28, 306, 9, 2328, 45, 42, 92, 694, 275, 14, 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...
MATLAB Environment Tweaks === How have you tweaked the MATLAB environment to better suit your needs? One tweak per answer.
0
[ 2, 4277, 9086, 2307, 28769, 18, 800, 3726, 3726, 184, 57, 42, 28769, 69, 14, 4277, 9086, 2307, 20, 574, 2961, 154, 2274, 60, 53, 28769, 416, 1623, 9, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
Supress ClientAbortException in struts2 VelocityResult class === I am getting the following stack trace in my log file and was wanting to supress just this error from displaying in the log: > ERROR 08-09-26 14:48:45.141 > http-80-215 > org.apache.struts2.dispatcher.VelocityResult: > Unable to render Velocity Tem...
0
[ 2, 2538, 5890, 6819, 58, 6157, 38, 10066, 872, 19, 18316, 18, 135, 10700, 29955, 718, 800, 3726, 3726, 31, 589, 1017, 14, 249, 7566, 5565, 19, 51, 6738, 3893, 17, 23, 4638, 20, 2538, 5890, 114, 48, 7019, 37, 17418, 19, 14, 6738, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Stateless EJB question. === We have a stateless EJB that is behind a webservices (EJB3), this EJB also loads a EntityManager that is passed in calls that it makes. With that I have a question. Do simultaneous call to the webservice use the same EJB or is there different instances? I ask this especially concerning...
0
[ 2, 146, 923, 13, 10022, 220, 1301, 9, 800, 3726, 3726, 95, 57, 21, 146, 923, 13, 10022, 220, 30, 25, 439, 21, 2741, 11449, 18, 13, 5, 10022, 220, 240, 6, 15, 48, 13, 10022, 220, 67, 19069, 21, 9252, 22256, 30, 25, 1100, 19, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Hex offset === I downloaded Hex Workshop, and I was told to read a .dbc file, "It should contain 28,315 if you read offset 0x04 and 0x05" but I'm unsure how to do this? what doew 0x04 mean?
0
[ 2, 24, 396, 17493, 800, 3726, 3726, 31, 23887, 24, 396, 7873, 15, 17, 31, 23, 470, 20, 1302, 21, 13, 9, 43, 7229, 3893, 15, 13, 7, 242, 378, 3717, 1274, 15, 240, 1193, 100, 42, 1302, 17493, 713, 396, 3277, 17, 713, 396, 4071, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Subqueries vs joins === I refactored a slow section of an application we inherited from another company to use an inner join instead of a subquery like where id in (select id from ... ) **The refactored query runs about 100x faster.** (~50 seconds to ~0.3) I expected an improvement, but can anyone explain wh...
0
[ 2, 972, 2005, 2829, 4611, 10612, 800, 3726, 3726, 31, 302, 17455, 69, 21, 2276, 1050, 16, 40, 3010, 95, 7179, 37, 226, 237, 20, 275, 40, 3754, 1865, 700, 16, 21, 972, 8190, 93, 101, 113, 4924, 19, 13, 5, 18, 16964, 4924, 37, 1...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
What's the best way to count keywords in JavaScript? === What's the best and most efficient way to count keywords in JavaScript? Basically, I'd like to take a string and get the top N words or phrases that occur in the string, mainly for the use of suggesting tags. I'm looking more for conceptual hints or links to rea...
0
[ 2, 98, 22, 18, 14, 246, 161, 20, 2468, 1246, 12827, 19, 8247, 8741, 60, 800, 3726, 3726, 98, 22, 18, 14, 246, 17, 127, 8243, 161, 20, 2468, 1246, 12827, 19, 8247, 8741, 60, 11374, 15, 31, 22, 43, 101, 20, 247, 21, 3724, 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...
The difference between the Runnable and Callable interfaces in Java === What is the difference between using the Runnable and Callable interfaces when designing a concurrent thread in Java, why would you choose one over the other?
0
[ 2, 14, 2841, 128, 14, 485, 103, 579, 17, 645, 579, 6573, 18, 19, 8247, 800, 3726, 3726, 98, 25, 14, 2841, 128, 568, 14, 485, 103, 579, 17, 645, 579, 6573, 18, 76, 15026, 21, 19513, 9322, 19, 8247, 15, 483, 83, 42, 3538, 53, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
Possible to use Flex Framework/Components without using MXML? === Is it possible to use the Flex Framework and Components, without using MXML? I know ActionScript pretty decently, and don't feel like messing around with some new XML language just to get some simple UI in there. Can anyone provide an example consisting...
0
[ 2, 938, 20, 275, 14409, 6596, 118, 11103, 849, 14128, 366, 568, 307, 396, 8184, 60, 800, 3726, 3726, 25, 32, 938, 20, 275, 14, 14409, 6596, 17, 5090, 15, 366, 568, 307, 396, 8184, 60, 31, 143, 1028, 8741, 1772, 12238, 102, 15, 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 list only top level directories in Python? === I want to be able to list only the directories inside some folder. This means I don't want filenames listed, nor do I want additional sub-folders. Let's see if an example helps. In the current directory we have: >>> os.listdir(os.getcwd()) ['cx_Orac...
0
[ 2, 184, 20, 968, 104, 371, 662, 559, 1596, 19, 20059, 60, 800, 3726, 3726, 31, 259, 20, 44, 777, 20, 968, 104, 14, 559, 1596, 572, 109, 19294, 9, 48, 1108, 31, 221, 22, 38, 259, 3893, 7259, 18, 1510, 15, 2127, 107, 31, 259, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Checking File is Open in Delphi === Is there a way to check if a file has been opened by ReWrite in Delphi? Code would go something like this: AssignFile(textfile, 'somefile.txt'); if not textFile.IsOpen then Rewrite(textFile);
0
[ 2, 9886, 3893, 25, 368, 19, 23030, 800, 3726, 3726, 25, 80, 21, 161, 20, 2631, 100, 21, 3893, 63, 74, 520, 34, 27891, 19, 23030, 60, 1797, 83, 162, 301, 101, 48, 45, 13952, 16877, 5, 11969, 16877, 15, 13, 22, 3220, 16877, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Pronouncing dictionaries === Are there any alternatives to [The CMU Pronouncing Dictionary](http://www.speech.cs.cmu.edu/cgi-bin/cmudict), commercial or open source?
0
[ 2, 18362, 6302, 29783, 800, 3726, 3726, 50, 80, 186, 2676, 18, 20, 636, 124, 2390, 291, 18362, 6302, 9186, 500, 5, 21127, 6903, 6483, 9, 18, 1664, 7455, 9, 6824, 9, 150, 3677, 9, 69, 291, 118, 150, 2234, 8, 4772, 118, 150, 3677,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
php check for a valid date, wierd date conversions === Is there a way to check to see if a date/time is valid you would think these would be easy to check: $date = '0000-00-00'; $time = '00:00:00'; $dateTime = $date . ' ' . $time; if(strtotime($dateTime)) { // why is this valid? }...
0
[ 2, 13, 26120, 2631, 26, 21, 7394, 1231, 15, 11842, 897, 1231, 6263, 18, 800, 3726, 3726, 25, 80, 21, 161, 20, 2631, 20, 196, 100, 21, 1231, 118, 891, 25, 7394, 42, 83, 277, 158, 83, 44, 2010, 20, 2631, 45, 5579, 8209, 800, 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's the difference between Phing and PHPUnderControl? === We currently use a hand-rolled setup and configuration script and a hand-rolled continuous integration script to build and deploy our application. I am looking at formalizing this somewhat with a third party system designed for these purposes. I have look...
0
[ 2, 98, 22, 18, 14, 2841, 128, 4145, 68, 17, 13, 26120, 4579, 12898, 60, 800, 3726, 3726, 95, 871, 275, 21, 224, 8, 8694, 69, 18161, 17, 8091, 3884, 17, 21, 224, 8, 8694, 69, 6357, 8078, 3884, 20, 1895, 17, 17617, 318, 3010, 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...
Perl - Win32 - How to do a non-blocking read of a filehandle from another process? === I'm writing some server code that talks to a client process via STDIN. I'm trying to write a snippet of perl code that asynchronously receives responses from the client's STDOUT. The blocking version of the code might look like this...
0
[ 2, 416, 255, 13, 8, 628, 3125, 13, 8, 184, 20, 107, 21, 538, 8, 12048, 68, 1302, 16, 21, 3893, 3203, 413, 37, 226, 953, 60, 800, 3726, 3726, 31, 22, 79, 1174, 109, 8128, 1797, 30, 7837, 20, 21, 6819, 953, 1197, 354, 3653, 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...
C++ STL: should I store entire objects, or pointers to objects? === Designing a new system from scratch. I'll be using the STL to store lists and maps of certain long-live objects. Question: Should I ensure my objects have copy constructors and store copies of objects within my STL containers, or is it generally...
0
[ 2, 272, 20512, 354, 255, 45, 378, 31, 1718, 1078, 3916, 15, 54, 454, 445, 20, 3916, 60, 800, 3726, 3726, 15026, 21, 78, 329, 37, 12395, 9, 31, 22, 211, 44, 568, 14, 354, 255, 20, 1718, 7227, 17, 6867, 16, 1200, 175, 8, 5928, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 check if directory exists in %PATH%? === How does one check if a directory is already present in the PATH environment variable? Here's a start. All I've managed to do with the code belowcls , though, is echo the first directory in %PATH%. Since this is a FOR loop you'd think it would enumerate all the director...
0
[ 2, 184, 20, 2631, 100, 16755, 5636, 19, 13, 11881, 8353, 11881, 60, 800, 3726, 3726, 184, 630, 53, 2631, 100, 21, 16755, 25, 614, 734, 19, 14, 2013, 2307, 7612, 60, 235, 22, 18, 21, 799, 9, 65, 31, 22, 195, 1471, 20, 107, 29, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
xsl scope help === I have a xsl file that is grabbing variables from xml and they seem to not be able to see each other. I know it is a scope issue, I just do not know what I am doing wrong. <xsl:template match="one"> <xsl:variable name="varOne" select="@count" /> </xsl:template> <xsl:template...
0
[ 2, 993, 18, 255, 9914, 448, 800, 3726, 3726, 31, 57, 21, 993, 18, 255, 3893, 30, 25, 9910, 12157, 37, 23504, 17, 59, 2260, 20, 52, 44, 777, 20, 196, 206, 89, 9, 31, 143, 32, 25, 21, 9914, 1513, 15, 31, 114, 107, 52, 143, 9...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
What is the best way to parse a time into a Date object from user input in Javascript? === I am working on a form widget for users to enter a time of day into a text input (for a calendar application). Using JavaScript (we are using jQuery FWIW), I want to find the best way to parse the text that the user enters into ...
0
[ 2, 98, 25, 14, 246, 161, 20, 2017, 870, 21, 85, 77, 21, 1231, 3095, 37, 4155, 6367, 19, 8247, 8741, 60, 800, 3726, 3726, 31, 589, 638, 27, 21, 505, 4807, 43, 3060, 26, 3878, 20, 2830, 21, 85, 16, 208, 77, 21, 1854, 6367, 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 I find what is using memory in a Python process in a production system? === My production system occasionally exhibits a memory leak I have not been able to reproduce in a development environment. I've used a <a href="http://stackoverflow.com/questions/110259/python-memory-profiler">Python memory profiler</a> ...
0
[ 2, 184, 107, 31, 477, 98, 25, 568, 1912, 19, 21, 20059, 953, 19, 21, 637, 329, 60, 800, 3726, 3726, 51, 637, 329, 4533, 11549, 21, 1912, 11724, 31, 57, 52, 74, 777, 20, 21509, 19, 21, 522, 2307, 9, 31, 22, 195, 147, 21, 13, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Team Foundation Server - Use API to Sync to SVN === Has anyone out there used TFS's API to synchronize different types of repositories? I have a SVN repo that I want to sync with a TFS repo. More accurately, I just want to take everything latest from SVN occasionally (nightly) and dump it out to TFS as the latest ve...
0
[ 2, 173, 1304, 8128, 13, 8, 275, 21, 2159, 20, 6063, 150, 20, 13, 18, 16578, 800, 3726, 3726, 63, 1276, 70, 80, 147, 13, 11720, 18, 22, 18, 21, 2159, 20, 13, 16023, 2952, 421, 2551, 16, 302, 14882, 262, 2829, 60, 31, 57, 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...
Flex Post Event Screen Updates === I came across this topic today while investigating something very strange. Doing certain things in our Flex app can cause the number of frames rendered to rocket, from 12fps to ~30fps: loaded animations start playing at high speed and the GUI starts to lock up. Since everything I'...
0
[ 2, 14409, 678, 807, 2324, 16779, 800, 3726, 3726, 31, 281, 464, 48, 8303, 786, 133, 12490, 301, 253, 2578, 9, 845, 1200, 564, 19, 318, 14409, 4865, 92, 1679, 14, 234, 16, 12809, 10877, 20, 6598, 15, 37, 390, 12087, 18, 20, 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...
Calculating the elapsed working hours between 2 dates. === Given two dates. What is the best way to calculate the number of working hours between them. Considering the working hours are Mon 8 - 5.30, and Tue-Fri 8.30 - 5.30, and that potentially any day could be a public holiday. This is my effort, seem hideously i...
0
[ 2, 22937, 14, 13, 62, 17057, 43, 638, 974, 128, 172, 4076, 9, 800, 3726, 3726, 504, 81, 4076, 9, 98, 25, 14, 246, 161, 20, 18469, 14, 234, 16, 638, 974, 128, 105, 9, 5154, 14, 638, 974, 50, 3521, 469, 13, 8, 331, 9, 1762, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
INotifyPropertyChanged property name - hardcode vs reflection? === What is the best way to specify a property name when using INotifyPropertyChanged? Most examples hardcode the property name as an argument on the PropertyChanged Event. I was thinking about using MethodBase.GetCurrentMethod.Name.Substring(4) but ...
0
[ 2, 19, 2779, 8612, 10890, 106, 1084, 16229, 43, 1354, 204, 13, 8, 552, 9375, 4611, 9138, 60, 800, 3726, 3726, 98, 25, 14, 246, 161, 20, 19077, 21, 1354, 204, 76, 568, 19, 2779, 8612, 10890, 106, 1084, 16229, 43, 60, 127, 3770, 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...
Which Visual Studio Color Theme? === Which Visual Studio Color Theme do you use? Do you find that the darker themes work best for you? Do they help ease your eye strain? What is your favorite color theme & where can I get it?
4
[ 2, 56, 3458, 1120, 1665, 3184, 60, 800, 3726, 3726, 56, 3458, 1120, 1665, 3184, 107, 42, 275, 60, 107, 42, 477, 30, 14, 10393, 6876, 170, 246, 26, 42, 60, 107, 59, 448, 6378, 154, 1356, 8302, 60, 98, 25, 154, 3839, 1665, 3184, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
How to emulate Emacs’ transpose-words in Vim? === Emacs has a useful `transpose-words` command which lets one exchange the word before the cursor with the word after the cursor, preserving punctuation. For example, ‘`stack |overflow`’ + M-t = ‘`overflow stack|`’ (‘`|`’ is the cursor position). `<a>|<p>` becomes ...
0
[ 2, 184, 20, 23804, 13, 62, 6893, 18, 1, 2982, 15690, 8, 12827, 19, 1790, 79, 60, 800, 3726, 3726, 13, 62, 6893, 18, 63, 21, 4811, 13, 1, 7028, 15690, 8, 12827, 1, 1202, 56, 6884, 53, 1950, 14, 833, 115, 14, 29588, 29, 14, 83...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Yahoo GeoPlanet & XPathNavigator C# === I am returning XML data from the Yahoo GeoPlanet web service using HttpWebRequest. I am loading the XML using XPathDocument doc = new XPathDocument(HttpWebResponse.GetResponseStream()) Next comes XPathNavigator nav = doc.CreateNavigator(); If I do nav.Select("places");...
0
[ 2, 23553, 6389, 10207, 38, 279, 993, 8353, 16424, 15807, 272, 5910, 800, 3726, 3726, 31, 589, 2485, 23504, 1054, 37, 14, 23553, 6389, 10207, 38, 2741, 365, 568, 7775, 458, 3692, 10351, 9, 31, 589, 12797, 14, 23504, 568, 993, 8353, 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 I re-import a subreport into Crystal reports 9.0 without getting an Access Denied error? === I'm using Crystal Reports 9.0. It has a subreport which is shared by 2 master reports. I modified the subreport as a result of fixing one of the master reports. When I try to re-import that subreport into my 2nd Mast...
0
[ 2, 184, 107, 31, 302, 8, 1660, 1993, 21, 972, 17437, 77, 4282, 2813, 561, 9, 387, 366, 1017, 40, 1381, 5265, 7019, 60, 800, 3726, 3726, 31, 22, 79, 568, 4282, 2813, 561, 9, 387, 9, 32, 63, 21, 972, 17437, 56, 25, 2592, 34, 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...
Tomcat 6.0.18 service will not start on a windows server. === I installed Tomcat 6.0.18 on a windows server 2003 box and it will not start as a service. I'm running it with jdk 1.6.0_07. It runs when I start it with tomcat6.exe. I got a vague error in the System Event Log on Windows.
0
[ 2, 2067, 5782, 400, 9, 387, 9, 1087, 365, 129, 52, 799, 27, 21, 1936, 8128, 9, 800, 3726, 3726, 31, 4066, 2067, 5782, 400, 9, 387, 9, 1087, 27, 21, 1936, 8128, 973, 1649, 17, 32, 129, 52, 799, 28, 21, 365, 9, 31, 22, 79, 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...
Do examinations make good programmers? === Having just finished University I was just wondering if people think that exams are the best way to train people to write computer programs or should it be taught in a strictly practical, hands-on way.
0
[ 2, 107, 17725, 233, 254, 17968, 18, 60, 800, 3726, 3726, 452, 114, 842, 155, 31, 23, 114, 5712, 100, 148, 277, 30, 15954, 50, 14, 246, 161, 20, 1528, 148, 20, 2757, 1428, 1726, 54, 378, 32, 44, 2359, 19, 21, 10369, 5713, 15, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
How can a transform a polynomial to another coordinate system? === Using assorted matrix math, I've solved a system of equations resulting in coefficients for a polynomial of degree 'n' Ax^(n-1) + Bx^(n-2) + ... + Z I then evaulate the polynomial over a given x range, essentially I'm rendering the polynomial...
0
[ 2, 184, 92, 21, 8007, 21, 15039, 20, 226, 15154, 329, 60, 800, 3726, 3726, 568, 28542, 8187, 5057, 15, 31, 22, 195, 15091, 21, 329, 16, 12853, 2927, 19, 14612, 18, 26, 21, 15039, 16, 1168, 13, 22, 103, 22, 21, 396, 1, 5, 103, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
If I register for an event in c# while it's dispatching, am I guaranteed to not get called again during that dispatch? === In C#, I find myself occasionally wanting to register a method for an event in the middle of a dispatch of that same event. For example, if I have a class that transitions states based on success...
0
[ 2, 100, 31, 2243, 26, 40, 807, 19, 272, 5910, 133, 32, 22, 18, 14226, 68, 15, 589, 31, 13572, 20, 52, 164, 227, 188, 112, 30, 14226, 60, 800, 3726, 3726, 19, 272, 5910, 15, 31, 477, 992, 4533, 4638, 20, 2243, 21, 2109, 26, 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...
Gracefully closing a frame (toolbar) around an iframe === I've created a tool that is used with a fairly popular music retailer. The tool provides an enhanced search feature (transparent last.fm results, no ads, no lameness, nothing creepy) and I've found the most useful and unobtrusive way to display the search is...
0
[ 2, 28138, 4239, 21, 3523, 13, 5, 20799, 1850, 6, 140, 40, 31, 8361, 800, 3726, 3726, 31, 22, 195, 679, 21, 5607, 30, 25, 147, 29, 21, 6647, 844, 232, 22943, 9, 14, 5607, 1927, 40, 10062, 2122, 1580, 13, 5, 7028, 18908, 236, 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...
Is there a standard implementation for Electronic Signatures on fill-in-form web applications? === I have a client who is interested in adding in electronic signature support to a long (40 question) seller application form. I'm a little stumped on whether there is an existing standard or process that's out there that ...
0
[ 2, 25, 80, 21, 1236, 6123, 26, 3253, 19506, 27, 3509, 8, 108, 8, 4190, 2741, 3767, 60, 800, 3726, 3726, 31, 57, 21, 6819, 72, 25, 3158, 19, 4721, 19, 3253, 7810, 555, 20, 21, 175, 13, 5, 2602, 1301, 6, 3344, 106, 3010, 505, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How can I create a status bar item with Cocoa and Python (PyObjC)? === I have created a brand new project in XCode and have the following in my AppDelegate.py file: from Foundation import * from AppKit import * class MyApplicationAppDelegate(NSObject): def applicationDidFinishLaunching_...
0
[ 2, 184, 92, 31, 1600, 21, 1782, 748, 9101, 29, 24507, 17, 20059, 13, 5, 6448, 4995, 15864, 6, 60, 800, 3726, 3726, 31, 57, 679, 21, 2209, 78, 669, 19, 993, 9375, 17, 57, 14, 249, 19, 51, 4865, 24249, 3322, 9, 6448, 3893, 45, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Advantages of using MSBuild or NAnt versus running DevEnv.exe from command-line === Can anyone explain what advantages there are to using a tool like MSBuild (or NAnt) to build a collection of projects versus running DevEnv.exe from the command-line? A colleague I had worked with in the past had explained that (at le...
0
[ 2, 14683, 16, 568, 4235, 29361, 54, 13, 11028, 5706, 946, 121, 3124, 710, 9, 1706, 62, 37, 1202, 8, 1143, 800, 3726, 3726, 92, 1276, 3271, 98, 14683, 80, 50, 20, 568, 21, 5607, 101, 4235, 29361, 13, 5, 248, 13, 11028, 6, 20, 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 switch the radio station with javascript === I am new to programming and trying to make this work. I want to offer the user the option of selection the radio station they want to listen to...this is what i have come up with, but dont work, any help is appreciated: <script language="javascr...
0
[ 2, 184, 20, 5521, 14, 603, 312, 29, 8247, 8741, 800, 3726, 3726, 31, 589, 78, 20, 3143, 17, 749, 20, 233, 48, 170, 9, 31, 259, 20, 1994, 14, 4155, 14, 4255, 16, 3155, 14, 603, 312, 59, 259, 20, 3834, 20, 9, 9, 9, 1565, 25,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
(OpenGL 3.1 - 4.2) Objects take up all of the screen space === From what I know, everything about OpenGL changed since 3.1 and now I can't figure out how to re-size the rendering context. float positionData[] = { -0.8f, -0.8f, 0.0f, 0.8f, -0.8f, 0.0f, ...
0
[ 2, 13, 5, 10157, 8430, 203, 9, 165, 13, 8, 268, 9, 135, 6, 3916, 247, 71, 65, 16, 14, 2324, 726, 800, 3726, 3726, 37, 98, 31, 143, 15, 796, 88, 368, 8430, 1015, 179, 203, 9, 165, 17, 130, 31, 92, 22, 38, 1465, 70, 184, 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...
Remove Tax at Checkout for B2B customers in Magento === i need to dynamicaly remove tax during checkout for b2b customers in magento. I have a module which asks for vat id during checkout and checks it against the Euroean Online VAT-ID Validation Service. If the VAT ID is valid, the tax should be removed during check...
0
[ 2, 4681, 2225, 35, 2631, 1320, 26, 334, 135, 220, 5279, 19, 4723, 17050, 800, 3726, 3726, 31, 376, 20, 7782, 58, 102, 4681, 2225, 112, 2631, 1320, 26, 334, 135, 220, 5279, 19, 4723, 17050, 9, 31, 57, 21, 12613, 56, 3913, 26, 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...
jQuery, undefined function if used in a different function === I'm writing a jquery plugin, which similar to this, $(this).each(function(){ $el = $(this).find('.el') $el.click(function(){ test(); }); function test() { console.log('test init'); ...
0
[ 2, 487, 8190, 93, 15, 367, 13439, 1990, 100, 147, 19, 21, 421, 1990, 800, 3726, 3726, 31, 22, 79, 1174, 21, 487, 8190, 93, 10922, 108, 15, 56, 835, 20, 48, 15, 5579, 5, 1565, 6, 9, 14322, 5, 22359, 5, 6, 1, 5579, 532, 800, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 a JavaScript try-catch ignoring an expected occasional error bad practice? === In JavaScript is it wrong to use a try-catch block and ignore the error rather than test many attributes in the block for null? try{ if(myInfo.person.name == newInfo.person.name && myInfo.person.address.street == newInfo.p...
0
[ 2, 25, 21, 8247, 8741, 1131, 8, 18208, 9321, 40, 1727, 7713, 7019, 896, 1345, 60, 800, 3726, 3726, 19, 8247, 8741, 25, 32, 1389, 20, 275, 21, 1131, 8, 18208, 1921, 17, 7174, 14, 7019, 864, 119, 1289, 151, 13422, 19, 14, 1921, 26...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How do I wrap a string in a file in Python? === How do I create a file-like object (same duck time as File) with the contents of a string?
0
[ 2, 184, 107, 31, 8118, 21, 3724, 19, 21, 3893, 19, 20059, 60, 800, 3726, 3726, 184, 107, 31, 1600, 21, 3893, 8, 1403, 3095, 13, 5, 18, 8357, 7026, 85, 28, 3893, 6, 29, 14, 8478, 16, 21, 3724, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
Javascript to detect whether the dropdown of a select element is visible === I have a select element in a form, and I want to display something only if the dropdown is not visible. Things I have tried: - Watching for click events, where odd clicks mean the dropdown is visible and even clicks mean the dropdown is...
0
[ 2, 8247, 8741, 20, 9092, 1472, 14, 2804, 2968, 16, 21, 5407, 4520, 25, 4560, 800, 3726, 3726, 31, 57, 21, 5407, 4520, 19, 21, 505, 15, 17, 31, 259, 20, 3042, 301, 104, 100, 14, 2804, 2968, 25, 52, 4560, 9, 564, 31, 57, 794, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 purge expired items from cache? === I've got a nice little class built that acts as a cache. Each item has an expiration TimeSpan or DateTime. Each time an attempt to access an item in the cache is made, the item's expiration is checked, and if it's expired, the item is removed from the cache and nothing is ret...
0
[ 2, 184, 20, 20722, 15524, 3755, 37, 16522, 60, 800, 3726, 3726, 31, 22, 195, 330, 21, 2210, 265, 718, 392, 30, 3167, 28, 21, 16522, 9, 206, 9101, 63, 40, 29529, 436, 3206, 54, 1231, 891, 9, 206, 85, 40, 1735, 20, 1381, 40, 910...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
jdbc driver for Microsoft SQL Server CE(Compact Edition) 3.5 === I want to be able to explore the contents of a DB for this version of the DB. I was thinking of using the Squirrel DB client (which needs a JDBC driver). Therefore, I'm looking for a JDBC type 4 driver for SQL SERVER 3.5. Can somone point me to a F...
0
[ 2, 487, 43, 7229, 2425, 26, 7099, 4444, 255, 8128, 4000, 5, 11103, 5183, 1322, 6, 203, 9, 264, 800, 3726, 3726, 31, 259, 20, 44, 777, 20, 8594, 14, 8478, 16, 21, 13, 9007, 26, 48, 615, 16, 14, 13, 9007, 9, 31, 23, 1440, 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...
Recursive List Flattening === I could probably write this myself, but the specific way I'm trying to accomplish it is throwing me off. I'm trying to write a generic extension method similar to the others introduced in .NET 3.5 that will take a nested IEnumerable of IEnumerables (and so on) and flatten it into one IEn...
0
[ 2, 302, 24244, 968, 1844, 1316, 68, 800, 3726, 3726, 31, 110, 910, 2757, 48, 992, 15, 47, 14, 1903, 161, 31, 22, 79, 749, 20, 14570, 32, 25, 6033, 55, 168, 9, 31, 22, 79, 749, 20, 2757, 21, 12733, 3896, 2109, 835, 20, 14, 65...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 Configuration settings for REST w/ username/password + SSL === I'm looking to write a config file that allows for RESTful services in WCF, but I still want the ability to 'tap into' the membership provider for username/password authentication. The below is part of my current config using basicHttp binding or ws...
0
[ 2, 11801, 410, 8091, 12410, 26, 760, 619, 118, 4155, 7259, 118, 6201, 9587, 2754, 13, 18, 18, 255, 800, 3726, 3726, 31, 22, 79, 699, 20, 2757, 21, 13, 14093, 2816, 3893, 30, 2965, 26, 760, 1566, 687, 19, 11801, 410, 15, 47, 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 populate SlugField from CharField? === class Foo(models.Model): title = models.CharField(max_length=20) slug = models.SlugField() Is there a built-in way to get the slug field to autopopulate based on the title? Perhaps in the Admin and outside of the Admin.
0
[ 2, 25, 80, 40, 2010, 161, 20, 1675, 12383, 15850, 1109, 37, 4892, 1109, 60, 800, 3726, 3726, 718, 4310, 111, 5, 13998, 18, 9, 13998, 6, 45, 581, 800, 2761, 9, 5433, 1109, 5, 8304, 1, 6325, 3726, 1323, 6, 15850, 800, 2761, 9, 1...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
What open source C++ static analysis tools are available? === Java has some very good open source static analysis tools such as [FindBugs][1], [Checkstyle][2] and [PMD][3]. Those tools are easy to use and very helpful. For C++, trying to find open source tools to do static analysis is difficult. Below is a short ...
0
[ 2, 98, 368, 1267, 272, 20512, 12038, 2495, 4672, 50, 904, 60, 800, 3726, 3726, 8247, 63, 109, 253, 254, 368, 1267, 12038, 2495, 4672, 145, 28, 636, 19811, 16254, 18, 500, 2558, 165, 500, 15, 636, 12542, 4381, 500, 2558, 135, 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...
Any Java libraries out there that validate SQL syntax? === I'm not sure if this even exists or not, so I figured I would tap the wisdom of others.. I was wondering if there are any Java libraries out there that can be used to validate a SQL query's syntax. I know that there are many deviations from common SQL spec...
0
[ 2, 186, 8247, 8649, 70, 80, 30, 7394, 1373, 4444, 255, 22649, 60, 800, 3726, 3726, 31, 22, 79, 52, 562, 100, 48, 166, 5636, 54, 52, 15, 86, 31, 5700, 31, 83, 5526, 14, 10482, 16, 654, 9, 9, 31, 23, 5712, 100, 80, 50, 186, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 source control for small teams === I work on a small web team where I am the only .NET developer currently using Visual Studio 2008 Professional to build and maintain a few web applications. I am about to start training another member of our team so we purchased him a copy of Visual Studio 2008 Pro...
0
[ 2, 3458, 1120, 570, 1267, 569, 26, 284, 952, 800, 3726, 3726, 31, 170, 27, 21, 284, 2741, 173, 113, 31, 589, 14, 104, 13, 9, 2328, 10058, 871, 568, 3458, 1120, 570, 736, 20, 1895, 17, 4027, 21, 310, 2741, 3767, 9, 31, 589, 88,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 differentiates software engineering from any other engineering discipline? === Software engineering shares many of the same traits with other engineering disciplines (attention to detail, complexity to mastery). What do you think differentiates it? Please be specific and substantiate your answer.
2
[ 2, 98, 22144, 18, 2306, 1552, 37, 186, 89, 1552, 7927, 60, 800, 3726, 3726, 2306, 1552, 5945, 151, 16, 14, 205, 14756, 29, 89, 1552, 14469, 13, 5, 721, 1316, 3309, 20, 6110, 15, 12745, 20, 1129, 93, 6, 9, 98, 107, 42, 277, 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, 0, 0, 0...
when can we expect official release of Asp.net MVC ? === When do you think we can expect full release version of Asp.net MVC?
0
[ 2, 76, 92, 95, 4186, 989, 830, 16, 28, 306, 9, 2328, 307, 8990, 13, 60, 800, 3726, 3726, 76, 107, 42, 277, 95, 92, 4186, 503, 830, 615, 16, 28, 306, 9, 2328, 307, 8990, 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, 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...
Which php variable debuging function do you use? var_dump, print_r, var_export, other? === I personally use var_dump, but lots of people like print_r. What does everyone use? Pros and Cons? Does someone have a special home brew function of their own?
0
[ 2, 56, 13, 26120, 7612, 121, 16254, 68, 1990, 107, 42, 275, 60, 4033, 1, 43, 11134, 15, 4793, 1, 139, 15, 4033, 1, 1706, 1993, 15, 89, 60, 800, 3726, 3726, 31, 7200, 275, 4033, 1, 43, 11134, 15, 47, 7503, 16, 148, 101, 4793, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 clipboard CRLF/LF passing wrong for one user === We have a pair of applications. One is written in C# and uses something like: string s = "alpha\r\nbeta\r\ngamma\r\ndelta"; // Actually there's wrapper code here to make sure this works. System.Windows.Forms.Clipboard.SetDataObject(s, true);...
0
[ 2, 1936, 12229, 2806, 6186, 9641, 118, 9641, 2848, 1389, 26, 53, 4155, 800, 3726, 3726, 95, 57, 21, 2146, 16, 3767, 9, 53, 25, 642, 19, 272, 5910, 17, 2027, 301, 101, 45, 3724, 13, 18, 800, 13, 7, 22480, 1, 139, 1, 103, 24398,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Absolute Beginner's Guide to Bit Shifting? === I've been attempting to learn C in my spare time, and other languages (C#, Java, etc.) have the same concept (and often the same operators) ... What I'm wondering is, at a core level, what does bit-shifting (<<, >>, <<<, >>>) do, what problems can it help solve, and w...
0
[ 2, 7070, 26931, 22, 18, 3378, 20, 1142, 10255, 60, 800, 3726, 3726, 31, 22, 195, 74, 6314, 20, 2484, 272, 19, 51, 8001, 85, 15, 17, 89, 2556, 13, 5, 150, 5910, 15, 8247, 15, 2722, 9, 6, 57, 14, 205, 2420, 13, 5, 290, 478, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
MVC n-level route building === I want to create a productcatalog with N-Level Categories > e.g. > > /Catalog/Category1/Category2/../SubCategoryN/Product/{ProductActions}/{ID} > > And at the same time be able to > > /Catalog/Category1/Category2/../SubCategoryN/{CategoryActions} Is th...
0
[ 2, 307, 8990, 13, 103, 8, 3906, 858, 353, 800, 3726, 3726, 31, 259, 20, 1600, 21, 2374, 9709, 5567, 29, 13, 103, 8, 3906, 6422, 13, 1, 13, 62, 9, 263, 9, 13, 1, 13, 1, 13, 118, 9709, 5567, 118, 14375, 93, 8197, 14375, 93, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Potential Pitfalls of inserting millions of records into SQL Server 2005 from flat file === I am about to start on a journey writing a windows forms application that will open a txt file that is pipe delimited and about 230 mb in size. This app will then insert this data into a sql server 2005 database (obviously this...
0
[ 2, 2222, 4175, 5660, 18, 16, 14692, 68, 11999, 16, 742, 77, 4444, 255, 8128, 812, 37, 1844, 3893, 800, 3726, 3726, 31, 589, 88, 20, 799, 27, 21, 2998, 1174, 21, 1936, 1997, 3010, 30, 129, 368, 21, 20225, 38, 3893, 30, 25, 7642, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Should try...catch go inside or outside a loop? === I have a loop that looks something like this: for(int i = 0; i < max; i++) { String myString = ...; float myNum = Float.parseFloat(myString); myFloats[i] = myNum; } This is the main content of a method whose sole purpose is t...
0
[ 2, 378, 1131, 9, 9, 9, 18208, 162, 572, 54, 719, 21, 5293, 60, 800, 3726, 3726, 31, 57, 21, 5293, 30, 1879, 301, 101, 48, 45, 26, 5, 6391, 31, 800, 713, 73, 31, 13, 1, 2049, 73, 31, 20512, 6, 13, 1, 3724, 51, 11130, 800, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 to find the number of distinct values in a column === I can select all the distinct values in a column in the following ways: - `SELECT DISTINCT column_name FROM table_name;` - `SELECT column_name FROM table_name GROUP BY column_name;` But how do I get the row count from that query? Is a subquery required?
0
[ 2, 4444, 255, 20, 477, 14, 234, 16, 4421, 4070, 19, 21, 4698, 800, 3726, 3726, 31, 92, 5407, 65, 14, 4421, 4070, 19, 21, 4698, 19, 14, 249, 2847, 45, 13, 8, 13, 1, 18, 16964, 4421, 4698, 1, 7259, 37, 859, 1, 7259, 73, 1, 1...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Bulk time entry into timesprite / fogbugz === Is there a good way to import time data into either timesprite or fogbugz? Both seem to have very clunky interfaces for adding single items at a time. What I want is a spreadsheet-style format that I can enter a bunch of rows and suck them in. Noticed timesprite has an i...
0
[ 2, 7238, 85, 2792, 77, 436, 306, 8011, 13, 118, 7486, 16254, 380, 800, 3726, 3726, 25, 80, 21, 254, 161, 20, 9010, 85, 1054, 77, 694, 436, 306, 8011, 54, 7486, 16254, 380, 60, 156, 2260, 20, 57, 253, 272, 22033, 93, 6573, 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...
Storing Relational Data in XML === I'm wondering what the best practices are for storing a relational data structure in XML. Particulary, I am wondering about best practices for enforcing node order. For example, say I have three objects: `School`, `Course`, and `Student`, which are defined as follows: class Sc...
0
[ 2, 25615, 5827, 192, 1054, 19, 23504, 800, 3726, 3726, 31, 22, 79, 5712, 98, 14, 246, 5242, 50, 26, 25615, 21, 5827, 192, 1054, 1411, 19, 23504, 9, 1498, 93, 15, 31, 589, 5712, 88, 246, 5242, 26, 29296, 15421, 389, 9, 26, 823, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 get a list of changes from a Subversion repository by date range? === What I would like is be able to generate a simple report that is the output of svn log for a certain date range. Specifically, all the changes since 'yesterday'. Is there an easy way to accomplish this in Subversion besides grep-ing...
0
[ 2, 184, 107, 42, 164, 21, 968, 16, 1693, 37, 21, 972, 10898, 24869, 34, 1231, 978, 60, 800, 3726, 3726, 98, 31, 83, 101, 25, 44, 777, 20, 7920, 21, 1935, 1330, 30, 25, 14, 5196, 16, 13, 18, 16578, 6738, 26, 21, 1200, 1231, 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...
LINQ Syntext Sequence === The following SQL SELECT * FROM customers converted to this in LINQ var customers = from c in customers select c; Is their any good reasones why the from and select is swaped? The only logical reason I can think of is for intellisens? For the inte...
0
[ 2, 6294, 1251, 6063, 11969, 4030, 800, 3726, 3726, 14, 249, 4444, 255, 5407, 1637, 37, 5279, 3494, 20, 48, 19, 6294, 1251, 4033, 5279, 800, 37, 272, 19, 5279, 5407, 272, 73, 25, 66, 186, 254, 1215, 160, 483, 14, 37, 17, 5407, 25...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Is it legal way to get use GPL code in close-source application through plugin? === Consider following steps: 0) Release open source Mock Program and Mock Plugin which communicate by certain interface (I), exchanging complex data structures, sharing memory and calling each other. Apply all-permissive license to it....
0
[ 2, 25, 32, 1517, 161, 20, 164, 275, 489, 5727, 1797, 19, 543, 8, 12097, 3010, 120, 10922, 108, 60, 800, 3726, 3726, 3563, 249, 2382, 45, 713, 6, 830, 368, 1267, 10506, 625, 17, 10506, 10922, 108, 56, 8709, 34, 1200, 6573, 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...
How can I hide content in a HTML file from search engines? === Say that I write an article or document about a certain topic, but the content is meant for readers with certain prior knowledge about the topic. To help people who don't have the "required" background information, I would like to add a note to the top of ...
0
[ 2, 184, 92, 31, 3077, 2331, 19, 21, 13, 15895, 3893, 37, 2122, 4016, 60, 800, 3726, 3726, 395, 30, 31, 2757, 40, 2002, 54, 4492, 88, 21, 1200, 8303, 15, 47, 14, 2331, 25, 1380, 26, 7807, 29, 1200, 1313, 1918, 88, 14, 8303, 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...
iterating over Enum constants in JSP === I have an Enum like this package com.example; public enum CoverageEnum { COUNTRY("country","Country"), REGIONAL("regional", "Regional"), COUNTY("county", "County"), } I would like to iterate over these constants in JSP without ...
0
[ 2, 32, 106, 1880, 84, 1957, 723, 3587, 18, 19, 487, 3401, 800, 3726, 3726, 31, 57, 40, 1957, 723, 101, 48, 6030, 13, 960, 9, 29041, 73, 317, 1957, 723, 5245, 219, 723, 13, 1, 475, 5, 7, 10741, 7, 15, 7, 10741, 7, 6, 15, 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...
Database structure to track change history === I'm working on database designs for a project management system as personal project and I've hit a snag. I want to implement a ticket system and I want the tickets to look like the [tickets in Trac][1]. What structure would I use to replicate this system? (I have not h...
0
[ 2, 6018, 1411, 20, 792, 753, 447, 800, 3726, 3726, 31, 22, 79, 638, 27, 6018, 4748, 26, 21, 669, 1097, 329, 28, 1319, 669, 17, 31, 22, 195, 770, 21, 28755, 9, 31, 259, 20, 8713, 21, 6133, 329, 17, 31, 259, 14, 10309, 20, 361...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
RoR: Accessing models from with application.rb === i am working on a simple web app which has a user model and role model (among others), and an admin section that contains many controllers. i would like to use a before_filter to check that the user of the user in the session has a 'can_access_admin' flag. i have t...
0
[ 2, 761, 248, 45, 1381, 68, 2761, 37, 29, 3010, 9, 7549, 800, 3726, 3726, 31, 589, 638, 27, 21, 1935, 2741, 4865, 56, 63, 21, 4155, 1061, 17, 597, 1061, 13, 5, 21068, 654, 6, 15, 17, 40, 21, 43, 2160, 1050, 30, 1588, 151, 991...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 access PostData from WebBrowser.Navigating event handler? === I've got a windows form in Visual Studio 2008 using .NET 3.5 which has a WebBrowser control on it. I need to analyse the form's PostData in the Navigating event handler before the request is sent. Is there a way to get to it? The old win32 br...
0
[ 2, 184, 92, 31, 1381, 678, 18768, 37, 10192, 5417, 4104, 9, 325, 13227, 1880, 807, 24641, 60, 800, 3726, 3726, 31, 22, 195, 330, 21, 1936, 505, 19, 3458, 1120, 570, 568, 13, 9, 2328, 203, 9, 264, 56, 63, 21, 10192, 5417, 4104, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Accessing "raw" clipboard data === If I drag and drop a selection of a webpage from Firefox to HTML-Kit, HTML-Kit asks me whether I want to paste as text or HTML. If I select "text," I get this: Version:0.9 StartHTML:00000147 EndHTML:00000516 StartFragment:00000181 EndFragment:00000480 ...
0
[ 2, 1381, 68, 13, 7, 12404, 7, 12229, 2806, 1054, 800, 3726, 3726, 100, 31, 5501, 17, 2804, 21, 3155, 16, 21, 2741, 6486, 37, 535, 18219, 20, 13, 15895, 8, 13703, 15, 13, 15895, 8, 13703, 3913, 55, 1472, 31, 259, 20, 640, 62, 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...
Another JPA Question *rolls eyes* === I have this code: @PersistenceContext(name="persistence/monkey", unitName="deltaflow-pu") ... @Stateless public class GahBean implements GahRemote { But when I use this: try{ InitialContext ic = new InitialContext(); System.out.println("Pissing me off * " + ic.lookup...
0
[ 2, 226, 487, 1060, 1301, 1637, 8694, 18, 194, 2483, 800, 3726, 3726, 31, 57, 48, 1797, 45, 13, 1, 7490, 702, 2940, 1126, 11969, 5, 7259, 3726, 7, 7490, 702, 2940, 118, 2111, 4237, 7, 15, 1237, 7259, 3726, 7, 3436, 536, 9990, 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...
Perl training for non-Perl developers === I've been working with Perl long enough that many of its idiosyncracies have become second nature to me. When new programmers join our group, they frequently have little to no experience with Perl, and it's usually my task to train them (to the extent necessary). I'd like to...
0
[ 2, 416, 255, 838, 26, 538, 8, 1432, 255, 10168, 800, 3726, 3726, 31, 22, 195, 74, 638, 29, 416, 255, 175, 511, 30, 151, 16, 82, 13, 20347, 9507, 7519, 10807, 57, 533, 153, 1444, 20, 55, 9, 76, 78, 17968, 18, 1865, 318, 214, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 limitations have closures in Python compared to language X closures? === Where X is any programming language (C#, Javascript, Lisp, Perl, Ruby, Scheme, etc) which supports some flavour of closures. Some limitations are mentioned in the [Closures in Python][1] (compared to Ruby's closures), but the article is...
0
[ 2, 98, 14070, 57, 7790, 18, 19, 20059, 2428, 20, 816, 993, 7790, 18, 60, 800, 3726, 3726, 113, 993, 25, 186, 3143, 816, 13, 5, 150, 5910, 15, 8247, 8741, 15, 2093, 3401, 15, 416, 255, 15, 10811, 15, 4276, 15, 2722, 6, 56, 6747...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Socket programming for mobile phones in Python === I've written code for communication between my phone and comp thru TCP sockets. When I type out the code line by line in the interactive console it works fine. However, when i try running the script directly through filebrowser.py it just wont work. I'm using Nokia N9...
0
[ 2, 18482, 3143, 26, 3241, 14830, 19, 20059, 800, 3726, 3726, 31, 22, 195, 642, 1797, 26, 3291, 128, 51, 1132, 17, 6479, 19637, 13, 38, 7439, 18482, 18, 9, 76, 31, 1001, 70, 14, 1797, 293, 34, 293, 19, 14, 9194, 8650, 32, 693, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How do you make a generic memoize function in Haskell? === I've seen [the other post about this](http://stackoverflow.com/questions/129877/how-do-i-write-a-generic-memoize-function), but is there a clean way of doing this in Haskell? As a 2nd part, can it also be done without making the function monadic?
0
[ 2, 184, 107, 42, 233, 21, 12733, 22236, 2952, 1990, 19, 63, 16507, 60, 800, 3726, 3726, 31, 22, 195, 541, 636, 124, 89, 678, 88, 48, 500, 5, 21127, 6903, 25325, 2549, 9990, 9, 960, 118, 24652, 18, 118, 13320, 3730, 9816, 1544, 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...
Viewing the Visual SourceSafe log inside Visual Studio === Is there any way to view the activity log for the integrate SourceSafe inside Visual Studio 2005 Pro? I'd like to be able to quickly see the results of any Get Latest Version, Check In and Checkout actions, and I can't find a way to get that information withou...
0
[ 2, 11244, 14, 3458, 1267, 18166, 6738, 572, 3458, 1120, 800, 3726, 3726, 25, 80, 186, 161, 20, 1418, 14, 2358, 6738, 26, 14, 18399, 1267, 18166, 572, 3458, 1120, 812, 895, 60, 31, 22, 43, 101, 20, 44, 777, 20, 976, 196, 14, 1736...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Polyglot Programming: Is building applications with multiple languages a good practice? === I am considering building an application that is a blend of a dynamic language (python or ruby) and compiled language and need some help getting convincing myself that this is a good idea. My thought are that I can use a dyn...
0
[ 2, 3446, 6725, 38, 3143, 45, 25, 353, 3767, 29, 1886, 2556, 21, 254, 1345, 60, 800, 3726, 3726, 31, 589, 5154, 353, 40, 3010, 30, 25, 21, 11138, 16, 21, 7782, 816, 13, 5, 6448, 11570, 54, 10811, 6, 17, 9316, 816, 17, 376, 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...
How do I find a default constraint using INFORMATION_SCHEMA? === I'm trying to test if a given default constraint exists. I don't want to use the sysbojects table, but the more standard INFORMATION_SCHEMA. I've used this to check for tables and primary key constraints before, but I don't see default constraints any...
0
[ 2, 184, 107, 31, 477, 21, 12838, 28804, 568, 676, 1, 7526, 540, 60, 800, 3726, 3726, 31, 22, 79, 749, 20, 1289, 100, 21, 504, 12838, 28804, 5636, 9, 31, 221, 22, 38, 259, 20, 275, 14, 10315, 18, 1192, 17759, 18, 859, 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...
Adding a flash after authentication with merb-auth === What's the best way to add a flash message, for successful or unsuccessful login when using the merb-auth slice (Other than overriding sessions create)?
0
[ 2, 4721, 21, 4433, 75, 27963, 29, 55, 7549, 8, 1346, 96, 800, 3726, 3726, 98, 22, 18, 14, 246, 161, 20, 3547, 21, 4433, 2802, 15, 26, 1300, 54, 7225, 6738, 108, 76, 568, 14, 55, 7549, 8, 1346, 96, 12982, 13, 5, 9539, 119, 84...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
Java Web Deployment: build code, or deploy .war? === Two main ways to deploy a J2EE/Java Web app (in a very simplistic sense): ## Deploy assembled artifacts to production box ## Here, we create the `.war` (or whatever) elsewhere, configure it for production (possibly creating numerous artifacts for numerous boxe...
0
[ 2, 8247, 2741, 10475, 45, 1895, 1797, 15, 54, 17617, 13, 9, 1885, 60, 800, 3726, 3726, 81, 407, 2847, 20, 17617, 21, 487, 135, 2851, 118, 1004, 1385, 2741, 4865, 13, 5, 108, 21, 253, 22862, 255, 3771, 1259, 6, 45, 6926, 5910, 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...
How do I use a shell command to tar a list of files and folders with exclusions === How do I tar a list of files and folders (all in the same directory) with the exclusion of a single directory (which contains a huge amount of data)
0
[ 2, 184, 107, 31, 275, 21, 3593, 1202, 20, 2475, 21, 968, 16, 6488, 17, 19294, 18, 29, 16232, 18, 800, 3726, 3726, 184, 107, 31, 2475, 21, 968, 16, 6488, 17, 19294, 18, 13, 5, 1233, 19, 14, 205, 16755, 6, 29, 14, 16232, 16, 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, 0, 0, 0, 0...
How to set cpu load on a RedHat linux box === I have a RHEL box that I need to put under a moderate and variable amount of cpu load (50%-75%). What is the best way to go about this? Is there a program that can do this that I am not aware of? I am happy to write some C code to make this happen, I just don't know wha...
0
[ 2, 184, 20, 309, 17578, 6305, 27, 21, 402, 6775, 13024, 1649, 800, 3726, 3726, 31, 57, 21, 9940, 255, 1649, 30, 31, 376, 20, 442, 131, 21, 8063, 17, 7612, 2006, 16, 17578, 6305, 13, 5, 21703, 8, 465, 1933, 6, 9, 98, 25, 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...
.NET Compact Framework 3.5 on Windows Mobile 2003 SE === Does .NET Compact Framework 3.5 work on Windows Mobile 2003 SE without limitations?
0
[ 2, 13, 9, 2328, 8285, 6596, 203, 9, 264, 27, 1936, 3241, 973, 1353, 800, 3726, 3726, 630, 13, 9, 2328, 8285, 6596, 203, 9, 264, 170, 27, 1936, 3241, 973, 1353, 366, 14070, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
SQL Server Temp Tables and Connection Pooling === I have a multi-user ASP.NET app running against SQL Server and want to have StoredProcA create a #temptable temp table - not a table variable - to insert some data, then branch to StoredProcB, StoredProcC, and StoredProcD to manipulate the data in #temptable per busine...
0
[ 2, 4444, 255, 8128, 13, 9577, 7484, 17, 2760, 3067, 68, 800, 3726, 3726, 31, 57, 21, 1889, 8, 16704, 28, 306, 9, 2328, 4865, 946, 149, 4444, 255, 8128, 17, 259, 20, 57, 8214, 15617, 58, 1600, 21, 6926, 9577, 5924, 13, 9577, 859,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 compare structs for equality in C? === How do you compare two instances of structs for equality in standard C?
0
[ 2, 184, 107, 42, 11590, 13, 10346, 18, 26, 10337, 19, 272, 60, 800, 3726, 3726, 184, 107, 42, 11590, 81, 13946, 16, 13, 10346, 18, 26, 10337, 19, 1236, 272, 60, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
OC4J 10.1.3.4 problem with deploying multiple 2.1 EJBs === I am having troubles migrating from OC4J 10.1.2.3 to 10.1.3.4. The problem is for applications that have multiple EJBs (all are 2.1, no EJB 3.0). Jdeveloper will take the default ejb-jar.xml (the one required for Jdeveloper to run it on its stand-alone OC4J i...
0
[ 2, 13, 2499, 300, 728, 332, 9, 165, 9, 240, 9, 300, 1448, 29, 17617, 68, 1886, 172, 9, 165, 13, 10022, 4562, 800, 3726, 3726, 31, 589, 452, 16615, 28749, 37, 13, 2499, 300, 728, 332, 9, 165, 9, 135, 9, 240, 20, 332, 9, 165, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
What is the default session timeout for a Java EE website? === If I do not specify the following in my web.xml file: <session-config> <session-timeout>600</session-timeout> </session-config> What will be my default session timeout?
0
[ 2, 98, 25, 14, 12838, 3723, 85, 1320, 26, 21, 8247, 13, 2851, 2271, 60, 800, 3726, 3726, 100, 31, 107, 52, 19077, 14, 249, 19, 51, 2741, 9, 396, 8184, 3893, 45, 13, 1, 7202, 5991, 8, 14093, 2816, 1, 13, 1, 7202, 5991, 8, 891...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Would you consider float values to behave differently across a release and debug builds to be a bug? === My application is generating different floating point values when I compile it in release mode and in debug mode. The only reason that I found out is I save a binary trace log and the one from the release build is ...
0
[ 2, 83, 42, 3563, 11510, 4070, 20, 14149, 12670, 464, 21, 830, 17, 121, 16254, 1895, 18, 20, 44, 21, 6256, 60, 800, 3726, 3726, 51, 3010, 25, 13500, 421, 8319, 454, 4070, 76, 31, 26561, 32, 19, 830, 3740, 17, 19, 121, 16254, 3740...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
GDI has been accelerated. Does anyone know when this happened? === To sketch the background of this question : at work we use Dell Precision workstations. My current one has got an NVidia Quadro FX1700. My team is developing the graphics components for a real time data acquisition system. So we are always looking ou...
3
[ 2, 489, 1115, 63, 74, 16878, 9, 630, 1276, 143, 76, 48, 1190, 60, 800, 3726, 3726, 20, 8998, 14, 2395, 16, 48, 1301, 13, 45, 35, 170, 95, 275, 13, 5491, 13133, 170, 10839, 18, 9, 51, 866, 53, 63, 330, 40, 13, 20763, 18175, 1...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
What is the best tool for creating user guides with screenshots on Windows? === I need to write some guides for my development team on how to get some software up and running and would like to include partial screenshots. Are there any tools that are particularly good at this? Word is *almost* there in that I can easi...
0
[ 2, 98, 25, 14, 246, 5607, 26, 2936, 4155, 14838, 29, 2324, 7868, 18, 27, 1936, 60, 800, 3726, 3726, 31, 376, 20, 2757, 109, 14838, 26, 51, 522, 173, 27, 184, 20, 164, 109, 2306, 71, 17, 946, 17, 83, 101, 20, 468, 7284, 2324, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 alternative to conditional display:none === I inherited an application where display:none was used to control conditional display of input elements based the values of other input elements. The way this was handled is by running some pretty ugly code to evaluate field values and reset the display prope...
0
[ 2, 25, 80, 40, 2676, 20, 21206, 3042, 45, 15746, 800, 3726, 3726, 31, 7179, 40, 3010, 113, 3042, 45, 15746, 23, 147, 20, 569, 21206, 3042, 16, 6367, 2065, 432, 14, 4070, 16, 89, 6367, 2065, 9, 14, 161, 48, 23, 9006, 25, 34, 94...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Solving the NP-complete problem in XKCD === The problem/comic in question: [http://xkcd.com/287/][1] ![General solutions get you a 50% tip][2] I'm not sure this is the best way to do it, but here's what I've come up with so far. I'm using CFML, but it should be readable by anyone. <cffunction name="testCo...
0
[ 2, 17533, 14, 13, 8157, 8, 15990, 1448, 19, 993, 197, 6324, 800, 3726, 3726, 14, 1448, 118, 960, 596, 19, 1301, 45, 636, 21127, 6903, 396, 197, 6324, 9, 960, 118, 23114, 118, 500, 2558, 165, 500, 13, 187, 2558, 3661, 6776, 164, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...