unified_texts
stringlengths
32
30.1k
OpenStatus_id
int64
0
4
input_ids
list
token_type_ids
list
attention_mask
list
What is a good collaboration website for developers? === We have a number of developers located around the world which we need to collaborate with. Our functionality required is: 1. Some sort of white board, which multiple users can view, and update. 2. A private wiki. 3. A ticket system for managing workload. 4. A source control system would be nice, but not required. Ideally this would already be hosted somewhere (and free), alternatively if any software can do this, which is also not expensive, that would be fine. Ideally all this functionality would run over standard http.
0
[ 2, 98, 25, 21, 254, 4004, 2271, 26, 10168, 60, 800, 3726, 3726, 95, 57, 21, 234, 16, 10168, 335, 140, 14, 126, 56, 95, 376, 20, 19884, 29, 9, 318, 18548, 1390, 25, 45, 137, 9, 109, 2058, 16, 359, 686, 15, 56, 1886, 3878, 92,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
git: squash my commit? === Suppose you have: A-B-C Now your compilation/test fail. The fix should be merged in A. My current work-flow is like that: $ git commit -m "fixA" A-B-C-fixA $ git rebase -i A~1 And squash fixA in A, result in: A'-B-C Question! ======== Is there a command to do something like A-B-C + (index with fix for A) $ git commit -supperdupper A Result: A'-B-C
0
[ 2, 13, 10404, 45, 17998, 51, 9686, 60, 800, 3726, 3726, 5787, 42, 57, 45, 21, 8, 220, 8, 150, 130, 154, 4868, 118, 10543, 7476, 9, 14, 6098, 378, 44, 3901, 19, 21, 9, 51, 866, 170, 8, 9990, 25, 101, 30, 45, 5579, 13, 10404, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Improving FOR XML Explicit Perfomance === Although using SQL FOR XML EXPLICIT is cumbersome, I find myself using it often. Since it allows full control over the generated XML document. My problem is with perfomance, sometimes it would take more than 5 minutes to generate an XML document describing some financial data (invoices, bills .. etc.) for just one month! So I was looking for tips to imrpove its performance. **Or even other ways to replace it that give a performance advantage.**
0
[ 2, 9273, 26, 23504, 14990, 416, 4120, 79, 2416, 800, 3726, 3726, 419, 568, 4444, 255, 26, 23504, 14990, 25, 10611, 2102, 3220, 15, 31, 477, 992, 568, 32, 478, 9, 179, 32, 2965, 503, 569, 84, 14, 6756, 23504, 4492, 9, 51, 1448, 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 to access SOAP services from iPhone === I'm planning to develop an app for the iPhone and that app would have to access a couple of SOAP services. While doing some basic checking in the iPhone SDK I was not able to find any support for accessing SOAP services, a bit of Googling lead to the conclusion that there is no support for SOAP in the iPhone SDK. So if I do want to build that app I'll need to come up with a approach to access SOAP services from the iPhone. What would be the best approach? Any best practices? Did someone already write a library using the functionality that is present in the iPhone SDK to access SOAP services? (Since the service I need to access is exposed by another party and they only expose it as SOAP, it's unfortunately not an option to switch to another type of interface (e.g. REST based API). Gero
0
[ 2, 184, 20, 1381, 6447, 687, 37, 21024, 800, 3726, 3726, 31, 22, 79, 2334, 20, 2803, 40, 4865, 26, 14, 21024, 17, 30, 4865, 83, 57, 20, 1381, 21, 1335, 16, 6447, 687, 9, 133, 845, 109, 2125, 9886, 19, 14, 21024, 13, 18, 43, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Is there a perl function to turn a string into a regexp to use that string as pattern ? === I have trouble using Perl grep() with a string that *may* contain chars that are interpreted as regular expressions quantifiers. I got the following error when the grep pattern is "g++" because the '+' symbols are interpreted as quantifiers. Here is the output of for program that follows: 1..3 ok 1 - grep, pattern not found ok 2 - grep, pattern found Nested quantifiers in regex; marked by <-- HERE in m/g++ <-- HERE / at escape_regexp_quantifier.pl line 8. Is there a modifier I could use to indicate to grep that the quantifiers shall be ignored, or is there a function that would escape the quantifiers ? #! /usr/bin/perl sub test_grep($) { my $filter = shift; my @output = ("-r-xr-xr-x 3 root bin 122260 Jan 23 2005 gcc", "-r-xr-xr-x 4 root bin 124844 Jan 23 2005 g++"); return grep (!/$filter/, @output); } use Test::Simple tests => 2; ok(test_grep("foo"), "grep, pattern not found"); ok(test_grep("gcc"), "grep, pattern found"); ok(test_grep("g++"), "grep, pattern found"); PS: in addition to the answer question above, I welcome any feedback on Perl usage in the above as I'm still learning. Thanks
0
[ 2, 25, 80, 21, 416, 255, 1990, 20, 805, 21, 3724, 77, 21, 7953, 6899, 20, 275, 30, 3724, 28, 3732, 13, 60, 800, 3726, 3726, 31, 57, 2572, 568, 416, 255, 5604, 306, 5, 6, 29, 21, 3724, 30, 1637, 3904, 2483, 3717, 4892, 18, 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...
Invoking a method using reflection on a singleton object === So I have the following: public class Singleton { private Singleton(){} public static readonly Singleton instance = new Singleton(); public string DoSomething(){ ... } public string DoSomethingElse(){ ... } } Using reflection how can I invoke the DoSomething Method? Reason I ask is because I store the method names in XML and dynamically create the UI. For example I'm dynamically creating a button and telling it what method to call via reflection when the button is clicked. In some cases it would be DoSomething or in others it would be DoSomethingElse.
0
[ 2, 19, 2625, 1581, 21, 2109, 568, 9138, 27, 21, 345, 444, 3095, 800, 3726, 3726, 86, 31, 57, 14, 249, 45, 317, 718, 345, 444, 13, 1, 932, 345, 444, 5, 6, 1, 317, 12038, 1302, 4965, 345, 444, 4851, 800, 78, 345, 444, 5, 6, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Version control "in the clouds" === I'm a developer who works on both individual and group projects using Microsoft Visual Studio. I could setup one of several different source control packages, such as VSS, SourceGear Vault or SVN on a server of my own and access them remotely; however, I don't want to deal with the hassle of setting it up, configuring it, etc. Does anyone offer a hosted source control service?
0
[ 2, 615, 569, 13, 7, 108, 14, 7742, 7, 800, 3726, 3726, 31, 22, 79, 21, 10058, 72, 693, 27, 156, 1359, 17, 214, 2314, 568, 7099, 3458, 1120, 9, 31, 110, 18161, 53, 16, 238, 421, 1267, 569, 16875, 15, 145, 28, 4611, 18, 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...
What should main() return in C/C++? === What way is the most efficient and why? int main()? void main()? return 1? return 0?
0
[ 2, 98, 378, 407, 5, 6, 788, 19, 272, 118, 150, 20512, 60, 800, 3726, 3726, 98, 161, 25, 14, 127, 8243, 17, 483, 60, 19, 38, 407, 5, 6, 60, 11364, 407, 5, 6, 60, 788, 137, 60, 788, 713, 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, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
any tools to aide porting vb6 to vb.net ? === I just inherited control of a largish VB6 codebase. It doesnt have much in the way of active X other than the crystal reports engine and MS access work it does. I want to move it to .net before the tool set and skill sets dry up completely (if they havent already). Can anyone recommend any good tools to convert/migrate vb6 code to vb.net? How did the tool help you and what kinds of things did it not do for you?
0
[ 2, 186, 4672, 20, 17612, 1295, 68, 13, 20468, 379, 20, 13, 20468, 9, 2328, 13, 60, 800, 3726, 3726, 31, 114, 7179, 569, 16, 21, 7841, 263, 1595, 13, 20468, 379, 1797, 8436, 9, 32, 5886, 57, 212, 19, 14, 161, 16, 1348, 993, 89,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 retrieve a list of tasks and bugs from TFS in a batch file? === I would like to access the work items in our TFS programmatically. Shouldn't there be an obvious command line tool to extract such information? Or a WebService I can just call? I already have checked into using Excel - this is neat, but I want more hardcore...
0
[ 2, 184, 20, 11917, 21, 968, 16, 8674, 17, 13925, 37, 13, 11720, 18, 19, 21, 13064, 3893, 60, 800, 3726, 3726, 31, 83, 101, 20, 1381, 14, 170, 3755, 19, 318, 13, 11720, 18, 625, 6732, 1326, 9, 5714, 22, 38, 80, 44, 40, 4674, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Creation of Dynamic Entities in MS CRM 4.0 === I am trying to create a new contact using Dynamic Entity. The sample i found in CRM SDK had this code. // Set the properties of the contact using property objects. StringProperty firstname = new StringProperty(); firstname.Name = "firstname"; firstname.Value = "Jesper"; StringProperty lastname = new StringProperty(); lastname.Name = "lastname"; lastname.Value = "Aaberg"; // Create the DynamicEntity object. DynamicEntity contactEntity = new DynamicEntity(); // Set the name of the entity type. contactEntity.Name = EntityName.contact.ToString(); // Set the properties of the contact. contactEntity.Properties = new Property[] {firstname, lastname}; In my code i have the following implementation. StringProperty sp_Field1 = new StringProperty("Field1","Value1"); StringProperty sp_Field2 = new StringProperty("Field2","Value1"); CrmService service = new CrmService(); service.Credentials = System.Net.CredentialCache.DefaultCredentials; // Create the DynamicEntity object. DynamicEntity contactEntity = new DynamicEntity(); // Set the name of the entity type. contactEntity.Name = EntityName.contact.ToString(); // Set the properties of the contact. contactEntity.Properties = new Property[] {sp_Field1,sp_Field2}; I don't see much differences in the code. In the examples i found in the internet i have the same implementation as i found in SDK. But if i run the same i get the following error > CS0029: Cannot implicitly convert type 'Microsoft.Crm.Sdk.StringProperty' to 'Microsoft.Crm.Sdk.PropertyCollection' I tried created a new variable of type PropertyCollection(one that belongs in mscrm namespace) and added the stringpropertys into that and passed it to the entity. Microsoft.Crm.Sdk.PropertyCollection propTest = new Microsoft.Crm.Sdk.PropertyCollection(); propTest.Add(sp_SSNNo); propTest.Add(sp_FirstName); contactEntity.Properties = new Property[] {propTest}; This gave me the following error > CS0029: Cannot implicitly convert type 'Microsoft.Crm.Sdk.PropertyCollection' to 'Microsoft.Crm.Sdk.Property' I am sure its a minor typecasting error but i am not able to figure out where the error is. And moreover, even if it was a typecasting error why is it working for all the samples given in the internet and not for me. Please let me know if you need more info on this, any help on this would be appreciated.
0
[ 2, 2502, 16, 7782, 12549, 19, 4235, 6186, 79, 268, 9, 387, 800, 3726, 3726, 31, 589, 749, 20, 1600, 21, 78, 2203, 568, 7782, 9252, 9, 14, 5717, 31, 216, 19, 6186, 79, 13, 18, 43, 197, 41, 48, 1797, 9, 12894, 309, 14, 3704, 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...
Calculate the digital root of a number === A *[digital root][1]*, according to Wikipedia, is "the number obtained by adding all the digits, then adding the digits of that number, and then continuing until a single-digit number is reached." For instance, the digital root of 99 is 9, because 9 + 9 = 18 and 1 + 8 = 9. My Haskell solution -- and I'm no expert -- is as follows. digitalRoot n | n < 10 = n | otherwise = digitalRoot . sum . map (\c -> read [c]) . show $ n As a language junky, I'm interested in seeing solutions in as many languages as possible, both to learn about those languages and possibly to learn new ways of using languages I already know. (And I know at least a bit of quite a few.) I'm particularly interested in the tightest, most elegant solutions in Haskell and REBOL, my two principal "hobby" languages, but any ol' language will do. (I pay the bills with unrelated projects in Objective C and C#.) Here's my (verbose) REBOL solution: digital-root: func [n [integer!] /local added expanded] [ either n < 10 [ n ][ expanded: copy [] foreach c to-string n [ append expanded to-integer to-string c ] added: 0 foreach e expanded [ added: added + e ] digital-root added ] ] [1]: http://en.wikipedia.org/wiki/Digital_root
0
[ 2, 18469, 14, 1888, 5900, 16, 21, 234, 800, 3726, 3726, 21, 1637, 2558, 24123, 5900, 500, 2558, 165, 500, 2483, 15, 496, 20, 20169, 15, 25, 13, 7, 124, 234, 3048, 34, 4721, 65, 14, 19076, 15, 94, 4721, 14, 19076, 16, 30, 234, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Preserving order in SQL === I use linq instructions on an ordered array. Which operations shouldn't I do to be sure the order of the array is not changed?
0
[ 2, 17936, 389, 19, 4444, 255, 800, 3726, 3726, 31, 275, 6294, 1251, 7650, 27, 40, 1905, 7718, 9, 56, 1311, 5714, 22, 38, 31, 107, 20, 44, 562, 14, 389, 16, 14, 7718, 25, 52, 1015, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
How to manage non English speaking customer === What are the best practices when we are managing a software project involving a non English speaking client. 1:Communication 2:Maintain documentation in both languages (specially updating the specifications regularly) please share your experience based on above points. Regards, Kedar Hukeri
2
[ 2, 184, 20, 4705, 538, 486, 3324, 7705, 800, 3726, 3726, 98, 50, 14, 246, 5242, 76, 95, 50, 5616, 21, 2306, 669, 4838, 21, 538, 486, 3324, 6819, 9, 6352, 25600, 4274, 6232, 5851, 13945, 19, 156, 2556, 13, 5, 11118, 102, 71, 43, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Windows networking name resolution === This is not yet particularly programing related but, I am very interested in how Vista and XP resolve network names in a home LAN situation. With Windows 2000, network name resolution was either done via the netbeui protocol - tcp/ip networks needes a wins server. XP and Vista no longer install netbeui by default, so its entirely unclear to me how PCs on a lan are meant to find each other. One part of the puzzle's solution seems to be, IF there is a router appliance on the network that is configured as a DHCP server (and, as a result, a DNS server) then DNS queries of PC names tend to resolve. In the more isolated case - a couple of XP and Vista PCs connected to an ethernet hub, configured to talk only tcp/ip - what services and what protocols are involved in name resolution and broadcasting?
0
[ 2, 1936, 16230, 204, 4302, 800, 3726, 3726, 48, 25, 52, 768, 1653, 625, 68, 1597, 47, 15, 31, 589, 253, 3158, 19, 184, 13520, 17, 23045, 9854, 982, 1817, 19, 21, 213, 6178, 1858, 9, 29, 1936, 824, 15, 982, 204, 4302, 23, 694, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Java Lucene integration with .Net === I've got nutch and lucene setup to crawl and index some sites and I'd like to use a .net website instead of the JSP site that comes with nutch. Can anyone recommend some solutions? I've seen solutions where there was an app running on the index server which the .Net site used remoting to connect to. Speed is a consideration obviously so can this still perform well?
0
[ 2, 8247, 18515, 556, 8078, 29, 13, 9, 2328, 800, 3726, 3726, 31, 22, 195, 330, 8619, 673, 17, 18515, 556, 18161, 20, 12392, 17, 4348, 109, 3259, 17, 31, 22, 43, 101, 20, 275, 21, 13, 9, 2328, 2271, 700, 16, 14, 487, 3401, 689,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[TkCVS] Is there a way to replace the diff utility, with another, non-Tcl/Tk diff utility? === I'm using TkCVS as the GUI front-end for a CYGWIN CVS client, on a MSWinXP machine. It's a good compromise, since on my Linux machine I'm also running TkCVS (the same machine running the CVS server, BTW...) I'm interesting with replacing the diff utility (which has a tkdiff.tcl GUI front-end, for TkCVS) with a commercial product (like BeyondCompare or ExamDiff...) Anyone has a way to do this? Thanks!
0
[ 2, 636, 38, 197, 12732, 18, 500, 25, 80, 21, 161, 20, 3934, 14, 20811, 10082, 15, 29, 226, 15, 538, 8, 38, 5316, 118, 38, 197, 20811, 10082, 60, 800, 3726, 3726, 31, 22, 79, 568, 13, 38, 197, 12732, 18, 28, 14, 9457, 431, 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...
Listbox values are persisting across postbacks. === I am having a listbox in ASP.net. I am populating the listbox values from another listbox in a page dynamically. During postbacks the values of output listbox are not persisted. (while going to another page and come back to this page). Please suggest some good answer. EnableViewstate = "true" is not working.
0
[ 2, 968, 5309, 4070, 50, 22084, 68, 464, 678, 1958, 18, 9, 800, 3726, 3726, 31, 589, 452, 21, 968, 5309, 19, 28, 306, 9, 2328, 9, 31, 589, 1675, 10038, 14, 968, 5309, 4070, 37, 226, 968, 5309, 19, 21, 2478, 7782, 1326, 9, 112, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Change overview ruler color in Eclipse === How to change overview rule background color in Eclipse 3.4.0.I20080617-2000 (vertical bar on right of editing window with some annotations) ? It looks like my web searching skills are getting weaker since I cannot find it anywhere ...
0
[ 2, 753, 21598, 7077, 1665, 19, 11652, 800, 3726, 3726, 184, 20, 753, 21598, 1828, 2395, 1665, 19, 11652, 203, 9, 300, 9, 387, 9, 49, 2753, 3370, 1053, 8, 3050, 13, 5, 8122, 4272, 748, 27, 193, 16, 9510, 1463, 29, 109, 40, 1270, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 syntax for creating a timestamp(6) type field in Oracle === I need to insert some data into a table in Oracle. The only problem is one of the fields is a timestamp(6) type and it is required data. I don't care about what actually goes in here I just need to get the right syntax for an entry so that the database will accept it. I'm using the gui web client to enter data however I don't mind using raw SQL if I have to. Thanks.
0
[ 2, 98, 25, 14, 22649, 26, 2936, 21, 436, 38, 10158, 5, 379, 6, 1001, 575, 19, 15759, 800, 3726, 3726, 31, 376, 20, 14692, 109, 1054, 77, 21, 859, 19, 15759, 9, 14, 104, 1448, 25, 53, 16, 14, 2861, 25, 21, 436, 38, 10158, 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...
last-modified header and linux file system === im using httpclient and last-modified header in order to retrieve the last updated date of an html file however when i try this on a linux box it returns yesterdays date but when i use a windows machine it returns todays date. is anyone aware of issues using this header field in linux?
0
[ 2, 236, 8, 13670, 4462, 157, 106, 17, 13024, 3893, 329, 800, 3726, 3726, 797, 568, 7775, 150, 18513, 38, 17, 236, 8, 13670, 4462, 157, 106, 19, 389, 20, 11917, 14, 236, 6372, 1231, 16, 40, 13, 15895, 3893, 207, 76, 31, 1131, 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...
Nested transactions in postgresql 8.2? === I'm working on scripts that apply database schema updates. I've setup all my SQL update scripts using start transaction/commit. I pass these scripts to psql on the command line. I now need to apply multiple scripts at the same time, and in one transaction. So far the only solution I've come up with is to remove the start transaction/commit from the original set of scripts, then jam them together inside a new start transaction/commit block. I'm writing perl scripts to do this on the fly. Effectively I want nested transactions, which I can't figure out how to do in postgresql. Is there any way to do or simulate nested transactions for this purpose? I have things setup to automatically bail out on any error, so I don't need to continue in the top level transaction if any of the lower ones fail.
0
[ 2, 5618, 69, 13147, 19, 678, 6879, 18, 22402, 469, 9, 135, 60, 800, 3726, 3726, 31, 22, 79, 638, 27, 17505, 30, 5645, 6018, 23874, 16779, 9, 31, 22, 195, 18161, 65, 51, 4444, 255, 11100, 17505, 568, 799, 12799, 118, 960, 5130, 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 clean way to play an mp3 sound in the compact framework 3.5 === I know & use the p/invoke method to play wav sounds, & there are ways of calling windows media player to play an mp3 sound, but its slow & cumbersome, is there an easy way to simply play short mp3 file... mainly for application prompting & audible cues for when you are not looking at the screen.. (not music) thanks!!
0
[ 2, 25, 80, 21, 2745, 161, 20, 418, 40, 4628, 240, 646, 19, 14, 8285, 6596, 203, 9, 264, 800, 3726, 3726, 31, 143, 279, 275, 14, 351, 118, 108, 2625, 1048, 2109, 20, 418, 3142, 710, 2795, 15, 279, 80, 50, 2847, 16, 2555, 1936, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Get the CustomAttributes of a specific member === Is there any way to get the custom attributes of a specific object I am receiving in a method? I do not want nor can to iterate over Type.GetMembers() and search for my member. I have the object, which is also a member, that has the attribute. How do I get the attribute? class Custom { [Availability] private object MyObject = "Hello"; private void Do(object o) { //does object 'o' has any custom attributes of type 'Availability'? } //somewhere I make the call: Do(MyObject) }
0
[ 2, 164, 14, 5816, 721, 14755, 18, 16, 21, 1903, 322, 800, 3726, 3726, 25, 80, 186, 161, 20, 164, 14, 5816, 13422, 16, 21, 1903, 3095, 31, 589, 3396, 19, 21, 2109, 60, 31, 107, 52, 259, 2127, 92, 20, 32, 106, 1373, 84, 1001, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 exeprience with the Deliveance system ? === My new boss went to a speech where Deliverance, a kind of proxy allowing to add skin to any html output on the fly, was presented. He decided to use it right after that, no matter how young it is. More here : http://www.openplans.org/projects/deliverance/introduction In theory, the system sounds great when you want a newbie to tweak your plone theme without having to teach him all the complex mechanisms behind the zope products. And apply the same theme on a Drupal web site in one row. But I don't believe in theory, and would like to know if anybody tried this out in the real world :-)
0
[ 2, 186, 1396, 62, 6944, 2940, 29, 14, 121, 5928, 2416, 329, 13, 60, 800, 3726, 3726, 51, 78, 4054, 296, 20, 21, 2974, 113, 5879, 2416, 15, 21, 825, 16, 27188, 2719, 20, 3547, 1188, 20, 186, 13, 15895, 5196, 27, 14, 2855, 15, 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 a software agency deliver quality software? === I currently work for a bespoke software agency. Does anyone have any experince of how to win well priced work. It seems there is so much competition from ofshore/bedroom program teams, that cost is extremely competive these days. I feel that it is very different compared to a software product company or an internal it department, in terms of budget. As someone else said before, we only ever really get to version 1.0 of a lot of our software, unless the client is big enough. In which case it dosent make bussiness sense to spend ages making the software the best we can. Its like we are doing the same quality of work of internal it. Also a Lot of our clients are not technically minded and so therefor will not pay for things they dont understand. Because our company does not have the money to turn down work it often goes that we take on complicated work for far too little money. I have got a lot better at managing change and keeping tight specs etc... but it is still hard. Sorry for the waffling post, I hope to ask a similar question on the stackoverflow postcase soon, but I'm catching up to the most recent at the mo. Kind Regards, chris
2
[ 2, 184, 92, 21, 2306, 2344, 5879, 2190, 2306, 60, 800, 3726, 3726, 31, 871, 170, 26, 21, 44, 3401, 8416, 2306, 2344, 9, 630, 1276, 57, 186, 13, 6899, 6137, 6175, 16, 184, 20, 628, 134, 13, 24152, 170, 9, 32, 2206, 80, 25, 86, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Spliting a already split pane (MFC) === In my MFC program I am using a splitter to create two panes. I now want to split one of these panes in half again and put in another view, can someone talk me through how to do it or point me in the direction of some code? I would prefer to code it myself so I am not interested in custom derrived classes unless they are extremely basic. Thanks!
0
[ 2, 2132, 68, 21, 614, 2132, 13, 16660, 13, 5, 79, 7061, 6, 800, 3726, 3726, 19, 51, 307, 7061, 625, 31, 589, 568, 21, 2132, 815, 20, 1600, 81, 1809, 160, 9, 31, 130, 259, 20, 2132, 53, 16, 158, 1809, 160, 19, 519, 188, 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...
Deploy time Webservice location. === I am actually using framework 1.1. I my Web application i am actually adding a reference to a webservice. I am doing this using the Visual studio. When i add a web reference the below list of files get generated. reference.map reference.vb reference.disco reference.wsdl. all these files have the url pointing to the webservice. Even when i move it to a machine where there is no visual studio, it works fine. But if i intend to change the url of the webservice, i need to modified all the files opening them in notepad. Instead of this is there any way so that i can have it in the config file and just change it in one place and the web service is pointed from the new location.
0
[ 2, 17617, 85, 2741, 11449, 1474, 9, 800, 3726, 3726, 31, 589, 1121, 568, 6596, 137, 9, 165, 9, 31, 51, 2741, 3010, 31, 589, 1121, 4721, 21, 2801, 20, 21, 2741, 11449, 9, 31, 589, 845, 48, 568, 14, 3458, 1120, 9, 76, 31, 3547, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Nightly Builds: Why should I do it? === Why should I do **Nightly Builds?**
0
[ 2, 343, 102, 1895, 18, 45, 483, 378, 31, 107, 32, 60, 800, 3726, 3726, 483, 378, 31, 107, 13, 1409, 4893, 102, 1895, 18, 60, 1409, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
Checking for overflow of 64-bit integers in C++ === In my current 32-bit application, I check (very occasionally) for overflow by doing operations on 64-bit integers. However, on 64-bit systems there does not seem to be a standard 128-bit integer. Is there a simple way of checking for overflow, or a way of getting 128-bit integers, which works on all OSes and compilers? I tried using GMP as a more generic solution, but it is a little heavyweight for my requirements. Efficiency is not too important, no processor specific-ASM is.
0
[ 2, 9886, 26, 20285, 16, 4384, 8, 3326, 13820, 18, 19, 272, 20512, 800, 3726, 3726, 19, 51, 866, 2512, 8, 3326, 3010, 15, 31, 2631, 13, 5, 7864, 4533, 6, 26, 20285, 34, 845, 1311, 27, 4384, 8, 3326, 13820, 18, 9, 207, 15, 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...
JSMX ajax api not passing form variables to page with ie7 === I have a couple of pages working with Firefox but [JSMX][1] isn't passing the form variables through when using IE7. Has anybody experienced this? [1]: http://www.lalabird.com/
0
[ 2, 487, 18, 79, 396, 20624, 21, 2159, 52, 2848, 505, 12157, 20, 2478, 29, 13, 660, 465, 800, 3726, 3726, 31, 57, 21, 1335, 16, 4434, 638, 29, 535, 18219, 47, 636, 728, 18, 79, 396, 500, 2558, 165, 500, 2532, 22, 38, 2848, 14, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How to use CodeIgniter/MVC views inside jQuery ajax tabs? === Trying to make a form wizard with [jquery tabs][1]. Is it possible to have each step of the form in a separate view, then load each via jquery tabs' ajax option? When I ajax load just the partial (just the form), it has no way to access the js, css etc. (as there are is no 'header' for the partial file), and it doesn't seem to inherit from the parent page. As a workaround I have all the forms on one page, divided into tabs with divs. This does the job, but with js turned off it doesn't make much sense (though the app relies on js and will be used in-house only with js enabled browsers, so maybe this is not an issue). I'm using CodeIgniter, but I guess the question is valid for any MVC framework. [1]: http://docs.jquery.com/UI/Tabs
0
[ 2, 184, 20, 275, 1797, 9693, 242, 106, 118, 79, 8990, 4146, 572, 487, 8190, 93, 20624, 6523, 18, 60, 800, 3726, 3726, 749, 20, 233, 21, 505, 10276, 29, 636, 728, 8190, 93, 6523, 18, 500, 2558, 165, 500, 9, 25, 32, 938, 20, 57,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Streaming log(txt) viewer === Anybody in the know of a viewer (or Notepad++ plugin) that can read txt files in a streaming way? I would like to see for example the last 10 lines of a txt file that gets appended continiously.
0
[ 2, 11920, 6738, 5, 38, 396, 38, 6, 16812, 800, 3726, 3726, 11181, 19, 14, 143, 16, 21, 16812, 13, 5, 248, 1945, 8240, 20512, 10922, 108, 6, 30, 92, 1302, 20225, 38, 6488, 19, 21, 11920, 161, 60, 31, 83, 101, 20, 196, 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 to migrate all URL's in svn:externals properties across a repository? === We are in the process of moving our SVN repositories from one machine to another one, and with it will come a new domain name for the new repo. The problem is, that within the repository, there are lots of svn:externals references to other projects within the repository. So for example, we have projectA, which has in the svn:externals properties: external/libraryA svn://oldserver.net/repo/libraryA external/libraryB svn://oldserver.net/repo/libraryB ...and so on. All of the URL's reference this particular domain name, so it can be easily parsed. Having already learned my lesson, I will migrate these URL's to be "svn://localhost/", but I need to find a way to go through the repository history and rewrite all of the old URL's, so that we can still check out older revisions of these projects without having broken links. How would I go about doing this?
0
[ 2, 184, 20, 22985, 65, 287, 6362, 22, 18, 19, 13, 18, 16578, 45, 1706, 8766, 192, 18, 3704, 464, 21, 24869, 60, 800, 3726, 3726, 95, 50, 19, 14, 953, 16, 1219, 318, 13, 18, 16578, 302, 14882, 262, 2829, 37, 53, 1940, 20, 226, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 to SQL error message: 'Where' not found === I'm trying to start using LINQ and specifically LINQ to SQL but I'm having some difficulties I've tried this with SqlMetal and now using the database table designer in Visual Studio and I keep getting similar errors, like in this code, using the data context I created with the database layout designer in VS2008. using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { if (Page.IsPostBack) { string usn = UserNameBox.Text; string pss = PassBox.Text; if (usn == "" || pss == "") return; DataClassesDataContext dc = new DataClassesDataContext(); var user = from u in User where u.UserName == usn select u; } } } I get an error on the where saying: Could not find an implementation of the query pattern for source type 'System.Security.Principal.IPrincipal'. And also: 'Where' not found. I had something similar to this when I tried to use the results of SqlMetal. I deleted that source and started over using the designer. I must be missing something here but I can't figure out what. Shouldn't the tables implement what I need since I'm using LINQ to SQL, or do I need to do something extra to make that happen?
0
[ 2, 6294, 1251, 20, 4444, 255, 7019, 2802, 45, 13, 22, 2798, 22, 52, 216, 800, 3726, 3726, 31, 22, 79, 749, 20, 799, 568, 6294, 1251, 17, 3524, 6294, 1251, 20, 4444, 255, 47, 31, 22, 79, 452, 109, 8075, 31, 22, 195, 794, 48, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
how does google maps work? === what is the name of the technology behind google maps which allows the server to send only the part of the map requested from the user to enhance the performance, and is their any library to handle this.
0
[ 2, 184, 630, 8144, 6867, 170, 60, 800, 3726, 3726, 98, 25, 14, 204, 16, 14, 1099, 439, 8144, 6867, 56, 2965, 14, 8128, 20, 2660, 104, 14, 141, 16, 14, 2942, 6602, 37, 14, 4155, 20, 10734, 14, 956, 15, 17, 25, 66, 186, 1248, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 to validate that a string doesn't contain HTML using C# === Does anyone have a simple, efficient way of checking that a string doesn't contain HTML? Basically, I want to check that certain fields only contain plain text. I thought about looking for the < character, but that can easily be used in plain text. Another way might be to create a new System.Xml.Linq.XElement using: XElement.Parse("<wrapper>" + MyString + "</wrapper>") and check that the XElement contains no child elements, but this seems a little heavyweight for what I need.
0
[ 2, 184, 20, 7394, 1373, 30, 21, 3724, 1437, 22, 38, 3717, 13, 15895, 568, 272, 5910, 800, 3726, 3726, 630, 1276, 57, 21, 1935, 15, 8243, 161, 16, 9886, 30, 21, 3724, 1437, 22, 38, 3717, 13, 15895, 60, 11374, 15, 31, 259, 20, 2...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Does anybody familiar with big projects that was build with linqtoSql ORM ? === does it cost cost effective ? how can i profile the Sql calls to the server?
0
[ 2, 630, 11181, 3694, 29, 580, 2314, 30, 23, 1895, 29, 6294, 1251, 262, 18, 22402, 54, 79, 13, 60, 800, 3726, 3726, 630, 32, 1516, 1516, 3140, 13, 60, 184, 92, 31, 5296, 14, 4444, 255, 3029, 20, 14, 8128, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
When should a web service not be used? === Using a web service is often an excellent architectural approach. And, with the advent of WCF in .Net, it's getting even better. But, in my experience, some people seem to think that web services should always be used in the data access layer for calls to the database. I don't think that web services are the universal solution. I am thinking of smaller intranet applications with a few dozen users. The web app and its web service are deployed to one web server, not a web farm. There isn't going to be another web app in the future that can use this particular web service. It seems to me that the cost of calling the web service unnecessarily increases the burden on the web server. There is a performance hit to inter-process calls. Maintaining and debugging the code for the web app and the web service is more complicated. So is deployment. I just don't see the advantages of using a web service here. One could test this by creating two versions of the web app, with and without the web service, and do stress testing, but I haven't done it. Do you have an opinion on using web services for small-scale web app's? Any other occasions when web services are not a good architectural choice?
0
[ 2, 76, 378, 21, 2741, 365, 52, 44, 147, 60, 800, 3726, 3726, 568, 21, 2741, 365, 25, 478, 40, 5977, 5350, 2141, 9, 17, 15, 29, 14, 14707, 16, 11801, 410, 19, 13, 9, 2328, 15, 32, 22, 18, 1017, 166, 574, 9, 47, 15, 19, 51, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Best way for retrieving single record results in LINQ to SQL === If I query a table with a condition on the key field as in: var user = from u in dc.Users where u.UserName == usn select u; I know that I will either get zero results or one result. Should I still go ahead and retrieve the results using a for-each or is there another preferred way to handle this kind of situation.
0
[ 2, 246, 161, 26, 13, 6239, 3272, 8397, 345, 571, 1736, 19, 6294, 1251, 20, 4444, 255, 800, 3726, 3726, 100, 31, 25597, 21, 859, 29, 21, 2874, 27, 14, 1246, 575, 28, 19, 45, 4033, 4155, 800, 37, 287, 19, 4752, 9, 16704, 18, 113...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How to manage license banners in source files of Eclipse plug-in projects === I'm about to release a set of Eclipse plug-ins as Open Source and noticed that most source code released under the LGPL/EPL contains a header banner in each file that refers to the license or contains the license itself. Since adding these banners to each file manually seems to be a daunting and error-prone task, I was wondering whether there are any best practices regarding this task. Are there any tools or plug-ins for Eclipse that support the developer at adding and updating this kind of metadata? Are there any best-practices when it comes to generated source code? Any advice is much appreciated.
0
[ 2, 184, 20, 4705, 3962, 7492, 18, 19, 1267, 6488, 16, 11652, 10922, 8, 108, 2314, 800, 3726, 3726, 31, 22, 79, 88, 20, 830, 21, 309, 16, 11652, 10922, 8, 108, 18, 28, 368, 1267, 17, 2711, 30, 127, 1267, 1797, 261, 131, 14, 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 input 4-byte UTF-8 characters? === I am writing a small app which I need to test with utf-8 characters of different number of byte lengths. I can input unicode characters to test that are encoded in utf-8 with 1,2 and 3 bytes just fine by doing, for example: string in = "pi = \u3a0"; But how do I get a unicode character that is encoded with 4-bytes? I have tried: string in = "aegan check mark = \u10102"; Which as far as I understand should be outputting . But when I print that out I get ᴶ0 What am I missing?
0
[ 2, 184, 107, 31, 6367, 268, 8, 23246, 287, 11720, 8, 457, 1766, 60, 800, 3726, 3726, 31, 589, 1174, 21, 284, 4865, 56, 31, 376, 20, 1289, 29, 287, 11720, 8, 457, 1766, 16, 421, 234, 16, 34, 591, 13189, 9, 31, 92, 6367, 28010, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Easy way to translate from DTO to Entity and Entity to DTO? === I have worked on several distributed client/server projects recently, and one pain point that we always run into is translating the DTO objects into our entities and vice-versa. I was wondering if anyone has a "simple" solution to this time sink? One thing I thought about was coming up with some sort of translation using reflection...I guess you'd have to make sure your property names were exactly the same on each side of the wire - but seems like it might work. Just looking for a way to avoid some of this time sink in my development. Thanks!!
0
[ 2, 2010, 161, 20, 20628, 37, 13, 43, 262, 20, 9252, 17, 9252, 20, 13, 43, 262, 60, 800, 3726, 3726, 31, 57, 577, 27, 238, 4387, 6819, 118, 10321, 106, 2314, 1989, 15, 17, 53, 1257, 454, 30, 95, 550, 485, 77, 25, 25237, 14, 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...
Storing values in the web.config - appSettings or configSection - which is more efficient? === I'm writing a page that can use a couple of different themes, and I'm going to store some information about each theme in the web.config. Is it more efficient to create a new sectionGroup and store everything together, or just put everything in appSettings? <b>configSection solution</b> <configSections> <sectionGroup name="SchedulerPage"> <section name="Providers" type="System.Configuration.NameValueSectionHandler"/> <section name="Themes" type="System.Configuration.NameValueSectionHandler"/> </sectionGroup> </configSections> <SchedulerPage> <Themes> <add key="PI" value="PISchedulerForm"/> <add key="UB" value="UBSchedulerForm"/> </Themes> </SchedulerPage> To access values in the configSection, I am using this code: NameValueCollection themes = ConfigurationManager.GetSection("SchedulerPage/Themes") as NameValueCollection; String SchedulerTheme = themes["UB"]; <b>appSettings solution</b> <appSettings> <add key="PITheme" value="PISchedulerForm"/> <add key="UBTheme" value="UBSchedulerForm"/> </appSettings> To access values in appSettings, I am using this code String SchedulerTheme = ConfigurationManager.AppSettings["UBSchedulerForm"].ToString();
0
[ 2, 25615, 4070, 19, 14, 2741, 9, 14093, 2816, 13, 8, 4865, 19831, 18, 54, 13, 14093, 2816, 10579, 13, 8, 56, 25, 91, 8243, 60, 800, 3726, 3726, 31, 22, 79, 1174, 21, 2478, 30, 92, 275, 21, 1335, 16, 421, 6876, 15, 17, 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...
Does field size affect query time? === My question is in regards to MySQL, but I also wonder how this affects other databases. I have several fields that are varchar(255) but my coworker insists if they were varchar(30) -- or any smaller size -- then queries would run faster. I'm not so sure, but if it's so I'll admit to it. I'm not a total noob, but how much educating do I still need? :) Thanks.
0
[ 2, 630, 575, 1072, 6245, 25597, 85, 60, 800, 3726, 3726, 51, 1301, 25, 19, 14179, 20, 51, 18, 22402, 15, 47, 31, 67, 2666, 184, 48, 15476, 89, 6018, 18, 9, 31, 57, 238, 2861, 30, 50, 4033, 5433, 5, 20038, 6, 47, 51, 326, 225...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 disabling horizontal scrollbars in Flex components? === I have a few GridItem components that gets filled with dynamic data. Sometimes this data longer than the GridItem's fixed width, causing the GridItem to get a horizontal scrollbar. How can I disable this (I'm assuming you can...) Is there a general style that handles this for other Flex components as well? Thanks.
0
[ 2, 184, 92, 31, 1460, 58, 8599, 10095, 12159, 1850, 18, 19, 14409, 5090, 60, 800, 3726, 3726, 31, 57, 21, 310, 7354, 2119, 79, 5090, 30, 3049, 1943, 29, 7782, 1054, 9, 1030, 48, 1054, 1045, 119, 14, 7354, 2119, 79, 22, 18, 3535,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How do I add ajax calls to Mootools class === I have modified (very slightly) the Mootools class noobSlide (http://www.efectorelativo.net/laboratory/noobSlide/) to create a flickr style photostream. Here is the modified html (note you can see the original on the above page) print("code sample");<h2>Sample 2</h2> <div class="sample"> <div class="mask4"> <div id="box2"> <span><img src="img1.jpg" alt="Photo" /></span> <span><img src="img2.jpg" alt="Photo" /></span> <span><img src="img3.jpg" alt="Photo" /></span> <span><img src="img4.jpg" alt="Photo" /></span> <span><img src="img5.jpg" alt="Photo" /></span> <span><img src="img6.jpg" alt="Photo" /></span> <span><img src="img7.jpg" alt="Photo" /></span> </div> </div> <p class="buttons"> <span id="prev1">&lt;&lt; Previous</span> <span id="next1">Next &gt;&gt;</span> </p> Here is the JS print("code sample");//SAMPLE 2 var hs2 = new noobSlide({ box: $('box2'), items: [1,2,3,4], size: 500, interval: 3000, buttons: { previous: $('prev1'), next: $('next1') } }); What I would like to know is how to add an ajax call to this, I have about 50 images and I only want to load about 5 (actually I suppose I only need to load 2) at a time. So I would like some help on how to add ajax to noobslide using the native mootools ajax class/function thnkx
0
[ 2, 184, 107, 31, 3547, 20624, 3029, 20, 13, 8765, 20799, 18, 718, 800, 3726, 3726, 31, 57, 5372, 13, 5, 7864, 1847, 6, 14, 13, 8765, 20799, 18, 718, 90, 4995, 18, 1210, 546, 13, 5, 21127, 6903, 6483, 9, 6917, 19932, 3442, 38, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Is Mono robust enough for serious enterprise development? === It's been a few years since I've taken a deep look at Mono. When I last took a look, it wasnt quite there as far as BCL implementation and the tools available were limited. I have a specific need now to do some cross platform development, and was wondering what the community thought about Mono as a choice in the enterprise. Since I've been doing most of my dev work the past several years in .Net, Mono seems to be a natural choice. I don't want to push a technology that won't stand up to the test, however. Your input is appreciated!
0
[ 2, 25, 4129, 15313, 511, 26, 2055, 6002, 522, 60, 800, 3726, 3726, 32, 22, 18, 74, 21, 310, 122, 179, 31, 22, 195, 658, 21, 855, 361, 35, 4129, 9, 76, 31, 236, 199, 21, 361, 15, 32, 2672, 1450, 80, 28, 463, 28, 2726, 255, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How should I check if a flag is set in a flags enum? === Of the two methods below, which do you prefer to read?<br> Is there another (better?) way to check if a flag is set? bool CheckFlag(FooFlag fooFlag) { return fooFlag == (this.Foo & fooFlag); } And bool CheckFlag(FooFlag fooFlag) { return this.Foo & fooFlag != 0; }
0
[ 2, 184, 378, 31, 2631, 100, 21, 3157, 25, 309, 19, 21, 9318, 1957, 723, 60, 800, 3726, 3726, 16, 14, 81, 3195, 1021, 15, 56, 107, 42, 6369, 20, 1302, 60, 1, 5145, 1, 25, 80, 226, 13, 5, 16252, 60, 6, 161, 20, 2631, 100, 21...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How do you add arguments to an ASP button PostBackUrl? === I am constructing a search page with a textbox and a button for now, and probably a dropdown to filter results later on. I have my button's PostBackUrl set to my search page (~/search.aspx). Is there an easy way to pass the value in the text box to the search page?
0
[ 2, 184, 107, 42, 3547, 10553, 20, 40, 28, 306, 5167, 678, 1958, 911, 255, 60, 800, 3726, 3726, 31, 589, 18660, 21, 2122, 2478, 29, 21, 1854, 5309, 17, 21, 5167, 26, 130, 15, 17, 910, 21, 2804, 2968, 20, 11945, 1736, 138, 27, 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 C# equivalent of friend? === I'd like the private member variables of a class to be accessible to a Tester class without exposing them to other classes. In C++ I'd just declare the Tester class as a friend, how do I do this in C#? Can someone give me an example?
0
[ 2, 98, 25, 14, 272, 5910, 4602, 16, 860, 60, 800, 3726, 3726, 31, 22, 43, 101, 14, 932, 322, 12157, 16, 21, 718, 20, 44, 7342, 20, 21, 1289, 106, 718, 366, 17302, 105, 20, 89, 2684, 9, 19, 272, 20512, 31, 22, 43, 114, 10123,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 reduce cyclomatic complexity when validating data? === Right now I'm working on a web application that receives a significant amount of data from a database that has a potential to return null results. When going through the cyclomatic complexity for the application a number of functions are weighing in between 10 - 30. For the most part the majority of the functions with the high numbers have a lot of lines similar to the following: If Not oraData.IsDBNull(4) Then row("Field") = oraData.GetString(4) Which leads me to my question, what is the best way to go about trying to bring these numbers down? Right now I'm looking at having the majority of the functions below 10.
0
[ 2, 98, 25, 14, 246, 161, 20, 4136, 12833, 6732, 12745, 76, 7394, 1880, 1054, 60, 800, 3726, 3726, 193, 130, 31, 22, 79, 638, 27, 21, 2741, 3010, 30, 8359, 21, 1505, 2006, 16, 1054, 37, 21, 6018, 30, 63, 21, 2222, 20, 788, 1620...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Regex for SQL WHERE clause === For a web application I want to build a WHERE clause AND submit it to the server. There I will append it to a query. the clause will be something like LASTNAME LIKE 'Pep%' AND (DOB BETWEEN '19600101' AND '19601231 OR SALARY<35000) Can you propose a regular expression to validate the clause before submitting it to SQL Server? (Yes, of course I would like a regex for the ORDER clause)
0
[ 2, 7953, 1706, 26, 4444, 255, 113, 9040, 800, 3726, 3726, 26, 21, 2741, 3010, 31, 259, 20, 1895, 21, 113, 9040, 17, 12298, 32, 20, 14, 8128, 9, 80, 31, 129, 4865, 2451, 32, 20, 21, 25597, 9, 14, 9040, 129, 44, 301, 101, 236, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Find a Control in Asp.net Listview Inside the Selected Item Template === I'm converting functionality from an asp.net Gridview to a Listview. In the gridview when the selected item changed I would grab a value from a label in the selected row and write it to a different label outside of the gridview. Protected Sub grdModules_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles grdModules.SelectedIndexChanged Dim lblModuleTitle As Label = grdModules.SelectedRow.FindControl("lblModuleTitle") lblCurrentModule.Text = lblModuleTitle.Text End Sub In a Listview, there isn't a "SelectedRow" concept but a SelectedItem. However you can't do findcontrol against the selected item. When I try to do the following (I get a null reference exception): Protected Sub listviewModules_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles listviewModules.SelectedIndexChanged Dim lblModuleTitle As Label = CType(listviewModules.FindControl("lblModuleTitle"), Label) lblCurrentModule.Text = lblModuleTitle.Text End Sub Does anyone know the way to find a control inside the selected item template?
0
[ 2, 477, 21, 569, 19, 28, 306, 9, 2328, 968, 4725, 572, 14, 1704, 9101, 22894, 800, 3726, 3726, 31, 22, 79, 19583, 18548, 37, 40, 28, 306, 9, 2328, 7354, 4725, 20, 21, 968, 4725, 9, 19, 14, 7354, 4725, 76, 14, 1704, 9101, 1015,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Performance impact of using Workflow Foundation === I realize this is a quite general question, but I am wondering about the performance impact of implementing business logic with WF contra imperative code in fairly large enterprise system. I would like to hear others experiences in this regard.
0
[ 2, 956, 2261, 16, 568, 170, 9990, 1304, 800, 3726, 3726, 31, 4007, 48, 25, 21, 1450, 297, 1301, 15, 47, 31, 589, 5712, 88, 14, 956, 2261, 16, 17333, 508, 7085, 29, 13, 15263, 11805, 25186, 1797, 19, 6647, 370, 6002, 329, 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, 0, 0, 0, 0, 0, 0, 0, 0...
HTTP GET in VBS === Is there a way to perform an HTTP GET request within a Visual Basic script? I need to get the contents of the response from a particular URL for processing. Thanks.
0
[ 2, 7775, 164, 19, 13, 20468, 18, 800, 3726, 3726, 25, 80, 21, 161, 20, 2985, 40, 7775, 164, 3772, 363, 21, 3458, 2125, 3884, 60, 31, 376, 20, 164, 14, 8478, 16, 14, 1627, 37, 21, 1498, 287, 6362, 26, 5511, 9, 3669, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
Elegant way to search for UTF-8 files with BOM? === For debugging purposes, I need to recursively search a directory for all files which start with a UTF-8 byte order mark (BOM). My current solution is a simple shell script: <pre><code>find -type f | while read file do if [ "`head -c 3 "$file"`" == $'\xef\xbb\xbf' ] then echo "found BOM in: $file" fi done</code></pre> Or, if you prefer short, unreadable one-liners: <pre><code>find -type f|while read file;do [ "`head -c3 "$file"`" == $'\xef\xbb\xbf' ] && echo "found BOM in: $file";done</code></pre> It doesn't work with filenames that contain a line break, but such files are not to be expected anyway. Is there any shorter or more elegant solution? Are there any interesting text editors or macros for text editors?
0
[ 2, 11614, 161, 20, 2122, 26, 287, 11720, 8, 457, 6488, 29, 1607, 79, 60, 800, 3726, 3726, 26, 121, 16254, 2762, 4612, 15, 31, 376, 20, 302, 24244, 102, 2122, 21, 16755, 26, 65, 6488, 56, 799, 29, 21, 287, 11720, 8, 457, 34, 59...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
WPF Binding My.Settings collection to Combobox items === I'm VERY new to WPF, and still trying to wrap my head around binding in XAML. I'd like to populate a combobox with the values of a string collection in my.settings. I can do it in code like this: Me.ComboBox1.ItemsSource = My.Settings.MyCollectionOfStrings ...and it works. How can I do this in my XAML? is it possible? Thanks
0
[ 2, 619, 7721, 8728, 51, 9, 19831, 18, 1206, 20, 22621, 5309, 3755, 800, 3726, 3726, 31, 22, 79, 253, 78, 20, 619, 7721, 15, 17, 174, 749, 20, 8118, 51, 157, 140, 8728, 19, 13, 6791, 8184, 9, 31, 22, 43, 101, 20, 1675, 12383, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 construct a relative path in Java from two absolute paths (or URLs)? === Given two absolue paths, e.g.<br> /var/data/stuff/xyz.dat<br> /var/data How can one create a relative path that uses the second path as its base? In the example above, the result should be: ./stuff/xyz.dat
0
[ 2, 184, 20, 6960, 21, 4543, 2013, 19, 8247, 37, 81, 7070, 12074, 13, 5, 248, 13, 911, 7532, 6, 60, 800, 3726, 3726, 504, 81, 12178, 18687, 62, 12074, 15, 13, 62, 9, 263, 9, 1, 5145, 1, 13, 118, 3311, 118, 18768, 118, 384, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Two PHPBB questions === I was wondering if i could get some help with two questions I have: Firstly, is is possible, assuming I have a random variable to load up two different registration screens? Ie. one with and without the captcha? or one with and without some other stuff i would like to use? Secondly, is it possible to have a second log in box? say someone is already logged in, to display another to them which could potentially allow them to log in again or as I want to use it, show they know another persons password?
0
[ 2, 81, 13, 26120, 3490, 2346, 800, 3726, 3726, 31, 23, 5712, 100, 31, 110, 164, 109, 448, 29, 81, 2346, 31, 57, 45, 64, 102, 15, 25, 25, 938, 15, 11704, 31, 57, 21, 5477, 7612, 20, 6305, 71, 81, 421, 8587, 14236, 60, 13, 660...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How do you export a selection of files from the Synchronize view in Eclipse? === Sometimes I have made some local changes and for whatever reason don't want to commit them to the source repository. In this case I like to zip up and save off my changes on my local file system until I am ready to commit them at a later date. I recall that in an earlier version of eclipse, there was a context sensitive action from the Synchronize view that would highlight in the Navigator view the same files that you have selected in the Synchronize view. Then from the Navigator view, you can choose to export the highlighted selection. I don't see where that option is still available from the Synchronize view anymore and manually selecting the files in the Navigator/Package Explorer view is tedious. Is there an easy way to export a selection of files within the Synchronize view?
0
[ 2, 184, 107, 42, 7487, 21, 3155, 16, 6488, 37, 14, 13, 16023, 2952, 1418, 19, 11652, 60, 800, 3726, 3726, 1030, 31, 57, 117, 109, 375, 1693, 17, 26, 2099, 1215, 221, 22, 38, 259, 20, 9686, 105, 20, 14, 1267, 24869, 9, 19, 48, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How does one declare VB.Net Lambda Event Handlers? === I believe the following VB.Net code is the equivalent of the proceeding C# code; however the VB.Net test fails - the event handling Lambda is never called. What is going on? VB.Net version - fails: <TestFixture()> _ Public Class TestClass <Test()> _ Public Sub EventTest() Dim eventClass As New EventClass Dim eventRaised As Boolean = False AddHandler eventClass.AnEvent, Function() (eventRaised = True) eventClass.RaiseIt() Assert.IsTrue(eventRaised) End Sub End Class Public Class EventClass Public Event AnEvent() Public Sub RaiseIt() RaiseEvent AnEvent() End Sub End Class C# version - passes: [TestFixture] public class TestClass { [Test] public void EventTest() { var eventClass = new EventClass(); var eventRaised = false; eventClass.AnEvent += () => { eventRaised = true; }; eventClass.RaiseIt(); Assert.IsTrue(eventRaised); } } public class EventClass { public delegate void EventHandler(); public event EventHandler AnEvent; public void RaiseIt() { AnEvent(); } }
0
[ 2, 184, 630, 53, 10123, 13, 20468, 9, 2328, 13, 24187, 807, 24641, 18, 60, 800, 3726, 3726, 31, 985, 14, 249, 13, 20468, 9, 2328, 1797, 25, 14, 4602, 16, 14, 20459, 272, 5910, 1797, 73, 207, 14, 13, 20468, 9, 2328, 1289, 13614, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
What would you reccommand for a high traffic ajax intensive website? === For a website like reddit wtih lots of up/down votes and lots of comments per topic what should i go with? Lighttpd/Php or Lighttpd/CherryPy/Genshi/SQLAlchemy? and for database what would scale better / be fastest MySQL ( 4.1 or 5 ? ) or PostgreSQL?
0
[ 2, 98, 83, 42, 6042, 16239, 26, 21, 183, 2227, 20624, 13633, 2271, 60, 800, 3726, 3726, 26, 21, 2271, 101, 402, 43, 242, 619, 1388, 252, 7503, 16, 71, 118, 2968, 2922, 17, 7503, 16, 7534, 416, 8303, 98, 378, 31, 162, 29, 60, 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...
Which sorting algorithm is used by .net in IComparer === Do any one know which sorting algorithm is used by .net when we implement IComparer in our class?
0
[ 2, 56, 2058, 68, 9083, 25, 147, 34, 13, 9, 2328, 19, 31, 960, 3574, 106, 800, 3726, 3726, 107, 186, 53, 143, 56, 2058, 68, 9083, 25, 147, 34, 13, 9, 2328, 76, 95, 8713, 31, 960, 3574, 106, 19, 318, 718, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
Can someone explain the benefits of using a Primary Interop Assembly in .Net? === This concept is new to me, and a colleague suggested it. Sadly, I had no idea what he was talking about. Can someone enlighten me?
0
[ 2, 92, 737, 3271, 14, 5800, 16, 568, 21, 1256, 1480, 2594, 1475, 19, 13, 9, 2328, 60, 800, 3726, 3726, 48, 2420, 25, 78, 20, 55, 15, 17, 21, 12321, 2347, 32, 9, 16382, 15, 31, 41, 90, 882, 98, 24, 23, 1582, 88, 9, 92, 737,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
Collapsible Side Panel Control === I am looking for a way to create or implement a collapsible side panel inside of a form. Similar in the way a ToolStripContainer works I would like the same general concept except using panels that I can fill with controls. Does anyone know of a simple way to do this with the provided .Net controls or is this a total custom job. Either way I would appreciate some suggestions.
0
[ 2, 9470, 2552, 18, 3426, 270, 4113, 569, 800, 3726, 3726, 31, 589, 699, 26, 21, 161, 20, 1600, 54, 8713, 21, 9470, 2552, 18, 3426, 270, 4113, 572, 16, 21, 505, 9, 835, 19, 14, 161, 21, 4672, 17851, 1126, 5851, 106, 693, 31, 83...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Does it still make sense to use HTML comments on blocks of JavaScript? === In the past people used to wrap HTML comment tags around blocks of JavaScript in order to prevent "older" browsers from displaying the script. Even Lynx is smart enough to ignore JavaScript, so why do some people keep doing this? Are there any valid reasons these days? <script type="text/JavaScript"> <!-- //some js code --> </script>
0
[ 2, 630, 32, 174, 233, 1259, 20, 275, 13, 15895, 7534, 27, 5198, 16, 8247, 8741, 60, 800, 3726, 3726, 19, 14, 640, 148, 147, 20, 8118, 13, 15895, 6484, 3383, 18, 140, 5198, 16, 8247, 8741, 19, 389, 20, 2501, 13, 7, 1218, 106, 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...
Is there any valid reason to ever ignore a caught exception === Wow, I just got back a huge project in C# from outsourced developers and while going through my code review my analysis tool revealed bunches of what it considered bad stuff. One of the more discouraging messages was: Exceptions.DontSwallowErrorsCatchingNonspecificExceptionsRule : 2106 defects The developers assure me they had good reason for all the empty catch blocks, that sometimes the try with empty catch blocks are just there to ignore useless exceptions and keep the application from crashing. I feel this is a cop out and complete BS. Some of the examples I actually looked up were database calls where the record was being saved to the database, and in this case, if an exception was ignored, the user would get back an okay prompt, think everything was okay, and continue on with their work. In reality, their work was never saved. I think this is absolutely the most horrible kind of error. In this case, they are completely wrong in throwing that code in a try with an empty catch block. But my question is, "Is this EVER acceptable in ANY situation?" I think not, but I've been known to be wrong.
0
[ 2, 25, 80, 186, 7394, 1215, 20, 462, 7174, 21, 1383, 5391, 800, 3726, 3726, 15293, 15, 31, 114, 330, 97, 21, 2329, 669, 19, 272, 5910, 37, 70, 12097, 43, 10168, 17, 133, 228, 120, 51, 1797, 1487, 51, 2495, 5607, 2204, 7653, 160,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Automatically discovering C dependencies === I'm required to write documentation for my current project that lists all .c files and for each one lists every .h file which is directly or indirectly included by that file. This is a large project, and although we have Makefiles which theoretically have this information, those Makefiles are sometimes incorrect (we inherited this project from another company). We've often had to do a `make clean ; make` for our changes to actually be reflected in the recompilation, so I don't want to rely on these Makefiles. So is there a tool which lets us give it the name of a .c file and an include path and have it tell us all of the .h files which are directly or indirectly included by the .c file? We don't have anything weird like #define my_include "some_file.h" #include my_include so the tool doesn't need to be perfect. Anything that searched .c and .h files in an include path for regular includes would be good enough.
0
[ 2, 7499, 15799, 272, 29411, 800, 3726, 3726, 31, 22, 79, 1390, 20, 2757, 13945, 26, 51, 866, 669, 30, 7227, 65, 13, 9, 150, 6488, 17, 26, 206, 53, 7227, 352, 13, 9, 252, 3893, 56, 25, 1703, 54, 20713, 506, 34, 30, 3893, 9, 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...
Capture the contents of a regex and delete them, efficiently. === Situation: - text: a string - R: a regex that matches part of the string. This might be expensive to calculate. I want to both delete the R-matches from the text, and see what they actually contain. Currently, I do this like: import re ab_re = re.compile("[ab]") text="abcdedfe falijbijie bbbb laifsjelifjl" ab_re.findall(text) # ['a', 'b', 'a', 'b', 'b', 'b', 'b', 'b', 'a'] ab_re.sub('',text) # 'cdedfe flijijie lifsjelifjl' This runs the regex twice, near as I can tell. Is there a technique to do it all on pass, perhaps using re.split? It seems like with split based solutions I'd need to do the regex at least twice as well.
0
[ 2, 3683, 14, 8478, 16, 21, 7953, 1706, 17, 27448, 105, 15, 20519, 9, 800, 3726, 3726, 1858, 45, 13, 8, 1854, 45, 21, 3724, 13, 8, 761, 45, 21, 7953, 1706, 30, 1717, 141, 16, 14, 3724, 9, 48, 530, 44, 5381, 20, 18469, 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...
What are the best sandbox webapps for a particular language or framework? === As a web developer I am constantly exposed to many new languages, frameworks, and content management systems that I need to support when I sign a new client. And sometimes I just want to try out a language that I don't have much experience with for my own learning, and I don't want to download and install all the code for a few quick examples. What are your favorite sandbox webapp sites that allow you to try example code, and why?
0
[ 2, 98, 50, 14, 246, 1965, 5309, 2741, 7753, 18, 26, 21, 1498, 816, 54, 6596, 60, 800, 3726, 3726, 28, 21, 2741, 10058, 31, 589, 7545, 5043, 20, 151, 78, 2556, 15, 6596, 18, 15, 17, 2331, 1097, 1242, 30, 31, 376, 20, 555, 76, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Is there any good resources for T4 (Text Templating framework from Microsoft)? === Anything would be good. Exemples, best practices, samples, etc.
0
[ 2, 25, 80, 186, 254, 2566, 26, 13, 38, 300, 13, 5, 11969, 13, 9577, 255, 1880, 6596, 37, 7099, 6, 60, 800, 3726, 3726, 602, 83, 44, 254, 9, 1396, 1503, 18534, 15, 246, 5242, 15, 7855, 15, 2722, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
Are threads reused between requests in ASP.Net? === I'm just wondering if the same thread is used for each session, or if its dangerous to count on a particular thread between requests. What I'm getting at, is can I use thread static storage?
0
[ 2, 50, 20396, 302, 8795, 128, 12279, 19, 28, 306, 9, 2328, 60, 800, 3726, 3726, 31, 22, 79, 114, 5712, 100, 14, 205, 9322, 25, 147, 26, 206, 3723, 15, 54, 100, 82, 3342, 20, 2468, 27, 21, 1498, 9322, 128, 12279, 9, 98, 31, 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...
Xsd and inheritance === I have and xsd like this < xsd:complexType name="A"> < xsd:complexContent> < xsd:sequence> < xsd:element name="options"> < xsd:complexType> < xsd:sequence> < xsd:element name="Day"> ... < /xsd:element> < /xsd:sequence> < /xsd:complexType> < /xsd:element> < /xsd:sequence> < /xsd:complexContent> < /xsd:complexType> < xsd:complexType name="B"> < xsd:complexContent> < xsd:extension base="A"> ...What would go here... < /xsd:extension> < /xsd:complexContent> < /xsd:complexType> So basically I want class A to have a sequence of options Day, Week for example then I want B to inherit form A and have all of A's options and an additional 2 or 3 options like hours, seconds.
0
[ 2, 993, 18, 43, 17, 13852, 800, 3726, 3726, 31, 57, 17, 993, 18, 43, 101, 48, 13, 1, 993, 18, 43, 45, 960, 11326, 4474, 204, 3726, 7, 58, 7, 1, 13, 1, 993, 18, 43, 45, 960, 11326, 25424, 1, 13, 1, 993, 18, 43, 45, 29413,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 Server-side .Net PDF editing library === What's the best .Net PDF editing library available, and why? It needs to be used on an IIS web-server. Specifically, I need to edit a PDF which was generated by reporting services. Factors I'm interested in: 1. Speed 2. Memory Consumption 3. Price 4. Quality of documentation 5. Library stability 6. Size of library 7. Whatever else you think is important
4
[ 2, 246, 8128, 8, 1416, 13, 9, 2328, 13, 11124, 9510, 1248, 800, 3726, 3726, 98, 22, 18, 14, 246, 13, 9, 2328, 13, 11124, 9510, 1248, 904, 15, 17, 483, 60, 32, 2274, 20, 44, 147, 27, 40, 595, 18, 2741, 8, 10321, 106, 9, 3524,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
can i use "http header" to check if a dynamic page has been changed. === you can request the http header to check if a web page has been edited by looking at its date but how about dynamic pages such as - php, aspx- which grabs its data from a database?
0
[ 2, 92, 31, 275, 13, 7, 21127, 157, 106, 7, 20, 2631, 100, 21, 7782, 2478, 63, 74, 1015, 9, 800, 3726, 3726, 42, 92, 3772, 14, 7775, 157, 106, 20, 2631, 100, 21, 2741, 2478, 63, 74, 4802, 34, 699, 35, 82, 1231, 47, 184, 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...
Why does Visual Studio keep building my C++ project? === I've got a solution containing multiple projects. I'm only changing the code in one of them, but every time I hit Ctrl+Shift+B, Visual Studio rebuilds all of the others. Is there a tool or macro (or switch) that'll explore the dependency tree and tell me which files are missing or out-of-date, so that I can get it to stop?
0
[ 2, 483, 630, 3458, 1120, 643, 353, 51, 272, 20512, 669, 60, 800, 3726, 3726, 31, 22, 195, 330, 21, 4295, 3503, 1886, 2314, 9, 31, 22, 79, 104, 4226, 14, 1797, 19, 53, 16, 105, 15, 47, 352, 85, 31, 770, 13, 4812, 6362, 2430, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Events and Delegates with ASP.NET master pages === How do you catch a custom event raised by a master page? On my master page I have a custom event and delegate: public event SignOutHandler SignOut; public delegate void SignOutHandler(); This is raised when a link button on the master page is clicked. if (SignOut != null) { SignOut(); } In a user control on the page I'd like to subscribe to that event, but I don't know how I'm supposed to access it. Normally I'd do something like: MyInstantiatedMasterPage.SignOut += new MyMasterPage.SignOutHandler(MyEvent); but dealing with a master page means that this isn't possible.
0
[ 2, 963, 17, 10845, 29, 28, 306, 9, 2328, 1129, 4434, 800, 3726, 3726, 184, 107, 42, 2949, 21, 5816, 807, 1127, 34, 21, 1129, 2478, 60, 27, 51, 1129, 2478, 31, 57, 21, 5816, 807, 17, 11300, 45, 317, 807, 1676, 1320, 3203, 1252, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Tool for parsing smtp logs that finds bounces === Our web application sends e-mails. We have lots of users, and we get lots of bounces. For example, user changes company and his company e-mail is no longer valid. To find bounces, I parse smtp log file with log parser. Some bounces are great, like `550+#5.1.0+Address+rejected+user@domain.com`. There is `user@domain.com` in bounce. But some do not have e-mail in error message, like `550+No+such+recipient`. I have created simple ruby script that parses logs (uses log parser) to find which mail caused something like `550+No+such+recipient`. I am just surprised that I could not find a tool that does it. I have found tools like zabbix and splunk for log analysis, but they look like overkill for such simple task. Anybody knows a tool that would parse smtp logs, find bounces and e-mails that cause them?
0
[ 2, 5607, 26, 2017, 18, 68, 7613, 13726, 18893, 30, 3797, 17625, 18, 800, 3726, 3726, 318, 2741, 3010, 11350, 13, 62, 8, 8079, 18, 9, 95, 57, 7503, 16, 3878, 15, 17, 95, 164, 7503, 16, 17625, 18, 9, 26, 823, 15, 4155, 1693, 237...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
YUI Uploader 2.6.0 example === I'm trying to simply use some of the examples and instructions regarding the YUI-Uploader, and I'm being frustrated by a number of issues. 1. The "YUI Library: Uploader" cheat sheet's simple use case doesn't work for me because all the listed methods except `addListener()` do not exist on the myUploader object. 2. The [example][1] is for version 2.5.1 and includes a method called `browse()`, which not only was removed in version 2.6.0 but I cannot find any documentation for how to use the 2.5.1 version if I so choose. 3. I can't find the source FLA to the `uploader.swf` file so that I could theoretically diagnose all these issues. Has anyone successfully used the 2.6.0 YUI Uploader, and if so is there some common interfering JavaScript I should avoid, or a better example to follow? Thank you. [1]: http://developer.yahoo.com/yui/examples/uploader/uploader-simple.html
0
[ 2, 2600, 49, 71, 8294, 106, 172, 9, 379, 9, 387, 823, 800, 3726, 3726, 31, 22, 79, 749, 20, 1659, 275, 109, 16, 14, 3770, 17, 7650, 3467, 14, 2600, 49, 8, 576, 8294, 106, 15, 17, 31, 22, 79, 142, 10645, 34, 21, 234, 16, 15...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Does SQLAlchemy support caching? === Does SQLAlchemy support some kind of caching so if i have lots of time the same query it would return the response from cache instead of querying the database until i clear the cache for that query because i updated de db? Or what's the best way to implement this on a CherryPy,SQLAlchemy setup?
0
[ 2, 630, 4444, 10834, 2569, 915, 555, 1658, 7192, 60, 800, 3726, 3726, 630, 4444, 10834, 2569, 915, 555, 109, 825, 16, 1658, 7192, 86, 100, 31, 57, 7503, 16, 85, 14, 205, 25597, 32, 83, 788, 14, 1627, 37, 16522, 700, 16, 25597, 6...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How do you dynamically load a CSS file into a Flex application? === I know that you can apply CSS in order to style objects in Flex using the StyleManager: http://livedocs.adobe.com/flex/3/html/help.html?content=styles_07.html You can also load **compiled** CSS files (SWFs) dynamically: http://livedocs.adobe.com/flex/3/html/help.html?content=styles_10.html However, I'm dynamically creating my CSS files using a web GUI and a server-side script. If the CSS is changed, then the script would also need to compile the CSS into an SWF (which is not a viable option). Is there any way around this?
0
[ 2, 184, 107, 42, 7782, 1326, 6305, 21, 272, 18, 18, 3893, 77, 21, 14409, 3010, 60, 800, 3726, 3726, 31, 143, 30, 42, 92, 5645, 272, 18, 18, 19, 389, 20, 1034, 3916, 19, 14409, 568, 14, 1034, 22256, 45, 7775, 6903, 8279, 2499, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Profiler/Analyzer for Erlang? === Are there any good code profilers/analyzers for Erlang? I need something that can build a Call graph for my code.
0
[ 2, 5296, 139, 118, 1629, 102, 3592, 26, 13, 106, 9949, 60, 800, 3726, 3726, 50, 80, 186, 254, 1797, 5296, 1224, 118, 1629, 102, 3592, 18, 26, 13, 106, 9949, 60, 31, 376, 301, 30, 92, 1895, 21, 645, 7210, 26, 51, 1797, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
Set time programmatically using C# === What is the best way to set the time on a remote machine remotely? The machine is running Windows XP and is receiving the new time through a web service call. The goal is to keep the remote machines in synch with the server. The system is locked down so that our web service is the only access, so I cannot use a time server on each remote machine.
0
[ 2, 309, 85, 625, 6732, 1326, 568, 272, 5910, 800, 3726, 3726, 98, 25, 14, 246, 161, 20, 309, 14, 85, 27, 21, 5388, 1940, 23288, 60, 14, 1940, 25, 946, 1936, 23045, 17, 25, 3396, 14, 78, 85, 120, 21, 2741, 365, 645, 9, 14, 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...
Determine the LocalSystem account name using C# === We have an application that installs SQL Server Express from the command line and specifies the service account as the LocalSystem account via the parameter SQLACCOUNT="NT AUTHORITY\SYSTEM". This doesn't work with different languages because the account name for LocalSystem is different. There's a table listing the differences here: [http://forums.microsoft.com/MSR/ShowPost.aspx?PostID=685354&SiteID=37][1] This doesn't seem to be complete (the Swedish version isn't listed). So I'd like to be able to determine the name programmatically, perhaps using the SID? I've found some VB Script to do this: Set objWMI = GetObject("winmgmts:root\cimv2") Set objSid = objWMI.Get("Win32_SID.SID='S-1-5-18'") MsgBox objSid.ReferencedDomainName & "\" & objSid.AccountName Does any know the equivalent code that can be used in C#? [1]: http://forums.microsoft.com/MSR/ShowPost.aspx?PostID=685354&SiteID=37
0
[ 2, 3746, 14, 375, 10724, 2176, 204, 568, 272, 5910, 800, 3726, 3726, 95, 57, 40, 3010, 30, 16146, 18, 4444, 255, 8128, 2999, 37, 14, 1202, 293, 17, 27669, 14, 365, 2176, 28, 14, 375, 10724, 2176, 1197, 14, 18906, 4444, 255, 29148,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Asp.Net -- adding option to select on client side...no value in code behind on form submit === I'm quite confused by something. I've got 2 select lists, and if you choose an option in the first, I then load the 2nd with a certain set of options. I clear this out and repopulate it every time you change the selection in the first select element. Now, on postback, I need to know the value of the option that was selected in the 2nd select element, but it is always showing up as -1. I'm sure I'm missing something fundamental and dumb on my part, but can anyone point me in the right direction?
0
[ 2, 28, 306, 9, 2328, 13, 8, 8, 4721, 4255, 20, 5407, 27, 6819, 270, 9, 9, 9, 251, 1923, 19, 1797, 439, 27, 505, 12298, 800, 3726, 3726, 31, 22, 79, 1450, 4230, 34, 301, 9, 31, 22, 195, 330, 172, 5407, 7227, 15, 17, 100, 42...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
how to split a string on a fix char sequence === Suppose i have following string String asd = "this is test ass this is test" and i want to split the string using "ass" char sequence. if i used asd.split("ass"); it dosent work.
0
[ 2, 184, 20, 2132, 21, 3724, 27, 21, 6098, 4892, 4030, 800, 3726, 3726, 5787, 31, 57, 249, 3724, 3724, 28, 43, 800, 13, 7, 1565, 25, 1289, 28, 18, 48, 25, 1289, 7, 17, 31, 259, 20, 2132, 14, 3724, 568, 13, 7, 9755, 7, 4892, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
WMI - Generic Failure === We have a .NET application that uses WMI to gather a wide range of information on machines throughout a network, such as reading the Win32_NTLogEvent to see if Symantec Antivirus has written anything. The queries work fine, but after repeatedly running a WMI query "Generic Failure" errors will start coming back. This happens very consistently after approx. 125 calls. Rebooting the machine that we are running the WMI query against, always fixes the error... that is until the next 125 queries are run. It appears that the repository is fine and we can't locate any log file size issues. Anyone ever see this? Ideas?
0
[ 2, 619, 1435, 13, 8, 12733, 2990, 800, 3726, 3726, 95, 57, 21, 13, 9, 2328, 3010, 30, 2027, 619, 1435, 20, 7442, 21, 1051, 978, 16, 676, 27, 6035, 892, 21, 982, 15, 145, 28, 1876, 14, 628, 3125, 1, 2877, 5567, 4943, 38, 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...
static const Member Value vs. Member enum : Which Method is Better & Why? === If you want to associate some constant value with a class, here are two ways to accomplish the same goal: class Foo { public: static const size_t Life = 42; }; class Bar { public: enum {Life = 42}; }; Syntactically and semantically they appear to be identical from the client's point of view: size_t fooLife = Foo::Life; size_t barLife = Bar::Life; Is there any reason other than just pure style concerns why one would be preferable to another?
0
[ 2, 12038, 11608, 38, 322, 1923, 4611, 9, 322, 1957, 723, 13, 45, 56, 2109, 25, 574, 279, 483, 60, 800, 3726, 3726, 100, 42, 259, 20, 4169, 109, 3587, 1923, 29, 21, 718, 15, 235, 50, 81, 2847, 20, 14570, 14, 205, 1195, 45, 718,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Using SCRUM in a company that imposes strict governance on the development process? === Our company has to adhere to strict SOX/Cobit protocols. This means that there's a huge paper trail behind everything we do, and noone can start coding until the proper documentation has been signed off. That means you have to wait for the Change Spec, Software Spec, and Architecture Documents (at least) to be signed off before you can start coding. The same process follows any enhancements (which is a natural part of software development). Clearly this doesn't gel well with the idea behind SCRUM. Currently we follow the SDLC as defined in the Rational Unified Process (RUP). It also encompasses an iterative process (Inception/Elaboration/Construction/Transition/Repeat), but we want to try to replace that process with SCRUM. Is it feasible for a company with strict governance to switch to SCRUM? Does anyone have a case study that shows how it's been implemented successfully in a similar environment?
0
[ 2, 568, 26562, 19, 21, 237, 30, 18009, 18, 8170, 11966, 27, 14, 522, 953, 60, 800, 3726, 3726, 318, 237, 63, 20, 17982, 20, 8170, 9847, 118, 716, 3326, 19957, 9, 48, 1108, 30, 80, 22, 18, 21, 2329, 1397, 2657, 439, 796, 95, 10...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Remove empty directory from CVS? === I'm not quite sure how this happened, but somehow a completely empty hierarchy of directories has ended up in my repository: com/ com/companyname/ com/companyname/blah/ com/sun/ com/sun/java/ com/sun/java/jax_rpc_ri/ I think what happened was that these directories did have files in them, but then a developer realized he/she shouldn't have checked them in in the first place since these are by-products of the build process, so he/she removed the files but somehow the empty directories are left in the repository as ancient relics. How can I remove this from CVS? The only results I seem to be able to find on google say that there shouldn't be a need to remove empty directories as CVS won't keep them around in the first place, and that the `-P` (prune) options to `cvs update` should remove them from the working directory - which is zero help if you actually have empty directories in your repository. A `cvs remove` and `cvs commit` doesn't seem to take care of this situation: $ cvs remove -Rf com cvs remove: Removing com cvs remove: Removing com/companyname cvs remove: Removing com/companyname/blah cvs remove: Removing com/sun cvs remove: Removing com/sun/java cvs remove: Removing com/sun/java/jax_rpc_ri $ cvs commit com cvs commit: Examining com cvs commit: Examining com/companyname cvs commit: Examining com/companyname/blah cvs commit: Examining com/sun cvs commit: Examining com/sun/java cvs commit: Examining com/sun/java/jax_rpc_ri $ ls -l com total 24 drwxrwxr-x 2 matt matt 4096 Oct 15 14:38 CVS drwxrwxr-x 9 matt matt 4096 Oct 15 14:38 companyname drwxrwxr-x 4 matt matt 4096 Oct 15 14:38 sun It's still there! Does SVN have this weird behavior too?
0
[ 2, 4681, 2424, 16755, 37, 13, 12732, 18, 60, 800, 3726, 3726, 31, 22, 79, 52, 1450, 562, 184, 48, 1190, 15, 47, 3625, 21, 1524, 2424, 14417, 16, 559, 1596, 63, 1272, 71, 19, 51, 24869, 45, 13, 960, 118, 13, 960, 118, 28359, 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...
How to automatically remove a page frame === What's the best way to remove a page frame automatically? I've used this type of code before: <script language="JavaScript"> setTimeout ("changePage()", 3000); function changePage() { if (self.parent.frames.length != 0) self.parent.location="http://www.example.com"; } </script>
0
[ 2, 184, 20, 7499, 4681, 21, 2478, 3523, 800, 3726, 3726, 98, 22, 18, 14, 246, 161, 20, 4681, 21, 2478, 3523, 7499, 60, 31, 22, 195, 147, 48, 1001, 16, 1797, 115, 45, 13, 1, 8741, 816, 3726, 7, 1004, 1385, 8741, 7, 1, 309, 89...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 maintain a library of useful SQL in a team environment? === At my work everyone has sql snippets that they use to answer questions. Some are specific to a customer, while some are generic for a given database. I want to consolidate those queries into a library/repository that can be accessed by anyone on the team. The requirements would be: 1. Accessible 2. Searchable 3. Tagable (multiple tags allowed per sql) 4. Exportable (create a document containing all queries with certain tags) I'm interested in what has been found to work in other team environments.
0
[ 2, 184, 107, 42, 4027, 21, 1248, 16, 4811, 4444, 255, 19, 21, 173, 2307, 60, 800, 3726, 3726, 35, 51, 170, 1266, 63, 4444, 255, 13, 29061, 18, 30, 59, 275, 20, 1623, 2346, 9, 109, 50, 1903, 20, 21, 7705, 15, 133, 109, 50, 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...
Displaying a dataset or group as a comma delimited list in SSRS === In my SQL database, I have a one-to-many relationship, something like this: <pre> Teacher Student John Alex John Mike John Sean Bob Jack Gary George Gary Paul </pre> I'd like to display a table listing each teacher, with their students as a comma-delimited list, like this: <pre> Teacher Students John Alex, Mike, Sean Bob Jack Gary George, Paul </pre> [This question](http://stackoverflow.com/questions/180032/how-can-i-combine-multiple-rows-into-a-comma-delimited-list-in-sql-server-2005) describes how to do this on the SQL Server end, but is there a way to do this on the SSRS side of things?
0
[ 2, 17418, 21, 1054, 3554, 54, 214, 28, 21, 11951, 58, 121, 23012, 968, 19, 22118, 18, 800, 3726, 3726, 19, 51, 4444, 255, 6018, 15, 31, 57, 21, 53, 8, 262, 8, 14842, 1429, 15, 301, 101, 48, 45, 13, 1, 3515, 1, 2197, 1209, 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...
C++ Decompiler? === I have a program in which I've lost the source code... it was written in C++. Are there any good C++ decompilers out there? I've already ran across [Boomerang][1]. [1]: http://boomerang.sourceforge.net/
0
[ 2, 272, 20512, 121, 11103, 49, 1252, 60, 800, 3726, 3726, 31, 57, 21, 625, 19, 56, 31, 22, 195, 529, 14, 1267, 1797, 9, 9, 9, 32, 23, 642, 19, 272, 20512, 9, 50, 80, 186, 254, 272, 20512, 121, 960, 10091, 445, 70, 80, 60, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Is it possible to compile python natively (beyond pyc byte code)? === I wonder if it is possible to create an executable module from a python script. I need to have the most performance and the flexibility of python script, without needing to run in the python environment. I would use this code to load on demand user modules to customize my application.
0
[ 2, 25, 32, 938, 20, 26561, 20059, 1275, 102, 13, 5, 27333, 7103, 150, 34, 591, 1797, 6, 60, 800, 3726, 3726, 31, 2666, 100, 32, 25, 938, 20, 1600, 40, 1396, 17194, 5924, 12613, 37, 21, 20059, 3884, 9, 31, 376, 20, 57, 14, 127,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Is there a way to change another process's environment variables? === On Unix, is there any way that one process can change another's environment variables (assuming they're all being run by the same user)? A general solution would be best, but if not, what about the specific case where one is a child of the other?
0
[ 2, 25, 80, 21, 161, 20, 753, 226, 953, 22, 18, 2307, 12157, 60, 800, 3726, 3726, 27, 22540, 15, 25, 80, 186, 161, 30, 53, 953, 92, 753, 226, 22, 18, 2307, 12157, 13, 5, 9755, 723, 68, 59, 22, 99, 65, 142, 485, 34, 14, 205,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
WebSphere App Server Not Compiling JSP/Tag Libs === This is a problem that only occurs on application update (only tested through Admin Console, not CLI). Also, this is only happening on our development environment, which is identical to our prod env. On uninstall/install, everything is compiled properly. However, this is a large application and it takes long enough to do an update--we do not want to uninstall/install everytime (esp. during dev. builds). JSP .java and .smap files are being generated, but not .class. On prod, there is no .smap--only .java and .class. If the JSPs would compile, we believe the tag libs would be compiled also. Has anyone faced this problem, or know what we are possibly overlooking? WAS Version: 6.1.0.17 Thanks a lot!
0
[ 2, 2741, 14079, 4865, 8128, 52, 24378, 487, 3401, 118, 8628, 13, 8326, 18, 800, 3726, 3726, 48, 25, 21, 1448, 30, 104, 3690, 27, 3010, 11100, 13, 5, 4965, 7631, 120, 21, 43, 2160, 8650, 15, 52, 19391, 6, 9, 67, 15, 48, 25, 104...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 deal with all the different UIDs a process can have? === Real UID, effective UID, and some systems even have a "saved UID". What's the purpose of all these, especially the last one?
0
[ 2, 98, 22, 18, 14, 1183, 29, 65, 14, 421, 287, 9178, 21, 953, 92, 57, 60, 800, 3726, 3726, 683, 287, 1340, 15, 3140, 287, 1340, 15, 17, 109, 1242, 166, 57, 21, 13, 7, 19863, 43, 287, 1340, 7, 9, 98, 22, 18, 14, 2131, 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, 0, 0, 0, 0, 0, 0, 0...
in sql 2005 how to set a column of integers to ensure > 0 === This is probably a simple answer but I can't find it. I have a table with a column of integers and I want to ensure that when a row is inserted that the value in this column is greater than zero. I could do this on the code side but thought it would be best to enforce it on the table. Thanks!
0
[ 2, 19, 4444, 255, 812, 184, 20, 309, 21, 4698, 16, 13820, 18, 20, 4062, 13, 1, 713, 800, 3726, 3726, 48, 25, 910, 21, 1935, 1623, 47, 31, 92, 22, 38, 477, 32, 9, 31, 57, 21, 859, 29, 21, 4698, 16, 13820, 18, 17, 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...