unified_texts
stringlengths
32
30.1k
OpenStatus_id
int64
0
4
input_ids
list
token_type_ids
list
attention_mask
list
Using MySQL with Entity Framework === Can't find anything relevant about Entity Framework/MySQL on Google so I'm hoping someone knows about it.
0
[ 2, 568, 51, 18, 22402, 29, 9252, 6596, 800, 3726, 3726, 92, 22, 38, 477, 602, 7480, 88, 9252, 6596, 118, 915, 18, 22402, 27, 8144, 86, 31, 22, 79, 3935, 737, 3620, 88, 32, 9, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
What is your favorite use of Resharper? === I've been trying resharper casually for about a week, without delving into it too deeply. What I've found useful so far is the ability to eliminate redundant Using statements, ToString() calls, and casts. I guess in theory this should reduce the expense of my code-behind and dlls and such. What is Resharper best at, what justifies its cost? Your answers will help whet my appetite for further Resharper delving. Thanks people.
4
[ 2, 98, 25, 154, 3839, 275, 16, 302, 23646, 106, 60, 800, 3726, 3726, 31, 22, 195, 74, 749, 302, 23646, 106, 14964, 26, 88, 21, 877, 15, 366, 1506, 8397, 77, 32, 266, 5206, 9, 98, 31, 22, 195, 216, 4811, 86, 463, 25, 14, 2165...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
I need this baby in a month - send me nine women! === Under what circumstances - if any - does adding programmers to a team actually speed development of an already late project?
0
[ 2, 31, 376, 48, 1578, 19, 21, 1617, 13, 8, 2660, 55, 1391, 364, 187, 800, 3726, 3726, 131, 98, 5072, 13, 8, 100, 186, 13, 8, 630, 4721, 17968, 18, 20, 21, 173, 1121, 1362, 522, 16, 40, 614, 456, 669, 60, 3, 0, 0, 0, 0, 0...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
How does the Multiview control handle its Viewstate? === Does the Multiview control contain the viewstate information for each of its views regardless of whether or not the view is currently visible?
0
[ 2, 184, 630, 14, 1889, 4725, 569, 3053, 82, 1418, 3859, 60, 800, 3726, 3726, 630, 14, 1889, 4725, 569, 3717, 14, 1418, 3859, 676, 26, 206, 16, 82, 4146, 7148, 16, 1472, 54, 52, 14, 1418, 25, 871, 4560, 60, 3, 0, 0, 0, 0, 0, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
How are Integer arrays stored internally, in the JVM? === An array of ints in java is stored as a block of 32-bit values in memory. How is an array of Integer objects stored? i.e. int[] vs. Integer[] I'd imagine that each element in the Integer array is a reference to an Integer object, and that the Integer object has object storage overheads, just like any other object. I'm hoping however that the JVM does some magical cleverness under the hood given that Integers are immutable and stores it just like an array of ints. Is my hope woefully naive? Is an Integer array much slower than an int array in an application where every last ounce of performance matters?
0
[ 2, 184, 50, 13820, 7718, 18, 8214, 17739, 15, 19, 14, 487, 20147, 60, 800, 3726, 3726, 40, 7718, 16, 19, 38, 18, 19, 8247, 25, 8214, 28, 21, 1921, 16, 2512, 8, 3326, 4070, 19, 1912, 9, 184, 25, 40, 7718, 16, 13820, 3916, 8214,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Adding item to the Desktop context menu in Windows === I want to add an item into the Desktop context menu (the menu you see when you right-click on an empty space on the Windows Desktop). Something like Catalyst Control Center in this screenshot: ![Embedded Example](http://i361.photobucket.com/albums/oo51/Stark3000/ContextMenuExample.png) I know how to add items to files' and folders' context menus through registry, but the Desktop seems to work differently: I didn't even find the text in the registry. So, how can I add a new item into the Desktop menu and how can I associate some code with it? I think the solution is language independent, if it's not, I'd appreciate any code that helps.
0
[ 2, 4721, 9101, 20, 14, 17404, 4141, 11379, 19, 1936, 800, 3726, 3726, 31, 259, 20, 3547, 40, 9101, 77, 14, 17404, 4141, 11379, 13, 5, 124, 11379, 42, 196, 76, 42, 193, 8, 150, 10129, 27, 40, 2424, 726, 27, 14, 1936, 17404, 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...
Is there an easy way to change the color of a bullet in a list? === All I want is to be able to change the color of a bullet in a list to a light gray. It defaults to black, and I can't figure out how to change it. I know I could just use an image; I'd rather not do that if I can help it.
0
[ 2, 25, 80, 40, 2010, 161, 20, 753, 14, 1665, 16, 21, 6812, 19, 21, 968, 60, 800, 3726, 3726, 65, 31, 259, 25, 20, 44, 777, 20, 753, 14, 1665, 16, 21, 6812, 19, 21, 968, 20, 21, 471, 2030, 9, 32, 12838, 18, 20, 319, 15, 1...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Prototype's Enumerable#pluck in F#? === In JavaScript, using the Prototype library, the following functional construction is possible: var words = ["aqueous", "strength", "hated", "sesquicentennial", "area"]; words.pluck('length'); //-> [7, 8, 5, 16, 4] Note that this example code is equivalent to words.map( function(word) { return word.length; } ); I wondered if something similar is possible in F#: let words = ["aqueous"; "strength"; "hated";"sesquicentennial"; "area"] //val words: string list List.pluck 'Length' words //int list = [7; 8; 5; 16; 4] without having to write: List.map (fun (s:string) -> s.Length) words This would seem quite useful to me because then you don't have to write functions for every property to access them.
0
[ 2, 7063, 22, 18, 1957, 723, 106, 579, 5910, 306, 17185, 19, 398, 5910, 60, 800, 3726, 3726, 19, 8247, 8741, 15, 568, 14, 7063, 1248, 15, 14, 249, 7652, 900, 25, 938, 45, 4033, 715, 800, 636, 7, 58, 2005, 1291, 7, 15, 13, 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...
Rhino Mocks: Is there any way to verify a constraint on an object property's property? === If I have class ObjA { public ObjB B; } class ObjB { public bool Val; } and class ObjectToMock { public DoSomething(ObjA obj){...} } Is there any way to define an expectation that not only will DoSomething get called but that obj.B.Val == true? I have tried Expect.Call(delegate { mockObj.DoSomething(null);}).Constraints(new PropertyIs("B.Val", true)); but it seems to fail no matter what the value is.
0
[ 2, 18642, 10506, 18, 45, 25, 80, 186, 161, 20, 21012, 21, 28804, 27, 40, 3095, 1354, 22, 18, 1354, 60, 800, 3726, 3726, 100, 31, 57, 718, 5122, 1004, 13, 1, 317, 5122, 728, 220, 334, 73, 13, 1, 718, 5122, 728, 220, 13, 1, 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...
persistence.xml not found during maven testing === I'm trying to load test data into a test DB during a maven build for integration testing. persistence.xml is being copied to `target/test-classes/META-INF/` correctly, but I get this exception when the test is run. > javax.persistence.PersistenceException: > No Persistence provider for > EntityManager named aimDatabase It looks like it's not finding or loading persistence.xml.
0
[ 2, 28584, 9, 396, 8184, 52, 216, 112, 1216, 3124, 4431, 800, 3726, 3726, 31, 22, 79, 749, 20, 6305, 1289, 1054, 77, 21, 1289, 13, 9007, 112, 21, 1216, 3124, 1895, 26, 8078, 4431, 9, 28584, 9, 396, 8184, 25, 142, 18225, 20, 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...
SOAP or REST === Is REST a better approach to doing Web Services or is SOAP? Or are they different tools for different problems? Or is it a nuanced issue - that is, is one slightly better in certain arenas than another, etc?
0
[ 2, 6447, 54, 760, 800, 3726, 3726, 25, 760, 21, 574, 2141, 20, 845, 2741, 687, 54, 25, 6447, 60, 54, 50, 59, 421, 4672, 26, 421, 1716, 60, 54, 25, 32, 21, 3152, 2416, 43, 1513, 13, 8, 30, 25, 15, 25, 53, 1847, 574, 19, 120...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
Page can not be displayed === I've got a client that sees the "Page can not be displayed" (nothing else) whenever they perform a certain action in their website. I don't get the error, ever. I've tried IE, FF, Chrome, and I do not see the error. The client sees the error on IE. The error occurs when they press a form submit button that has only hidden fields. I'm thinking this could be some kind of anti-malware / virus issue. has anyone ever dealt with this issue?
0
[ 2, 2478, 92, 52, 44, 6115, 800, 3726, 3726, 31, 22, 195, 330, 21, 6819, 30, 6895, 14, 13, 7, 6486, 92, 52, 44, 6115, 7, 13, 5, 8297, 962, 6, 6634, 59, 2985, 21, 1200, 1028, 19, 66, 2271, 9, 31, 221, 22, 38, 164, 14, 7019, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
64 bit enum in C++? === Is there a way to have a 64 bit enum in C++? Whilst refactoring some code I came across bunch of #defines which would be better as an enum, but being greater than 32 bit causes the compiler to error. For some reason I thought the following might work: enum MY_ENUM : unsigned __int64 { LARGE_VALUE = 0x1000000000000000, };
0
[ 2, 4384, 1142, 1957, 723, 19, 272, 20512, 60, 800, 3726, 3726, 25, 80, 21, 161, 20, 57, 21, 4384, 1142, 1957, 723, 19, 272, 20512, 60, 4575, 302, 17455, 68, 109, 1797, 31, 281, 464, 7653, 16, 6926, 13862, 10652, 56, 83, 44, 574,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Mixing C# Code and umanaged C++ code on Windows with Visual Studio. === I would like to call my umanaged C++ libraries from my C# code. What are the potential pitfalls and precautions that need to be taken. Thank you for your time.
0
[ 2, 5826, 272, 5910, 1797, 17, 287, 177, 8030, 272, 20512, 1797, 27, 1936, 29, 3458, 1120, 9, 800, 3726, 3726, 31, 83, 101, 20, 645, 51, 287, 177, 8030, 272, 20512, 8649, 37, 51, 272, 5910, 1797, 9, 98, 50, 14, 2222, 4175, 5660, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
Printings using CUPS, when can my app quit? === I have an linux app that uses cups for printing, but I've noticed that if I print and then quit my app right away my printout never appears. So I assume that my app has to wait for it to actually come out of the printer before quitting, so does anyone know how to tell when it's finished printing??
0
[ 2, 7312, 18, 568, 15737, 15, 76, 92, 51, 4865, 6489, 60, 800, 3726, 3726, 31, 57, 40, 13024, 4865, 30, 2027, 15737, 26, 7312, 15, 47, 31, 22, 195, 2711, 30, 100, 31, 4793, 17, 94, 6489, 51, 4865, 193, 229, 51, 4793, 1320, 243,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Fetch unread messages, by user === I want to maintain a list of global messages that will be displayed to all users of a web app. I want each user to be able to mark these messages as read individually. I've created 2 tables; `messages (id, body)` and `messages_read (user_id, message_id)`. Can you provide an sql statement that selects the unread messages for a single user? Or do you have any suggestions for a better way to handle this? Thanks!
0
[ 2, 18312, 367, 10647, 7561, 15, 34, 4155, 800, 3726, 3726, 31, 259, 20, 4027, 21, 968, 16, 2062, 7561, 30, 129, 44, 6115, 20, 65, 3878, 16, 21, 2741, 4865, 9, 31, 259, 206, 4155, 20, 44, 777, 20, 943, 158, 7561, 28, 1302, 1657...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Advice on building a distributed CMS? === I'm in the process of designing a PHP-based content management system for personal use and eventually to be distributed. I know there are a lot of CMS's already out there, but I really haven't found one that meets my all of my needs and I also would like to have the learning experience. Security is a large focus, as are extensibility and ease of use. For those of you out there who have built your own CMS, what advice can you offer? What features are essential for a core? What are must have add-ons? What did you wish you knew before starting? What's the biggest potential roadblock/problem? Any and all advice is welcome.
0
[ 2, 4978, 27, 353, 21, 4387, 2390, 18, 60, 800, 3726, 3726, 31, 22, 79, 19, 14, 953, 16, 15026, 21, 13, 26120, 8, 1281, 2331, 1097, 329, 26, 1319, 275, 17, 878, 20, 44, 4387, 9, 31, 143, 80, 50, 21, 865, 16, 2390, 18, 22, 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...
Who to contact at HP for misbehaving drivers? === I'm working on som printing code that doesn't behave correctly when used against certain HP drivers. The PrintDlgEx structure will actually come back empty in some cases when a printer is selected. We can duplicate the behavior in a simple test program that has allowed us to track it back to the printer being selected (in this case a M9040). It always works on the first try, but on subsequent attempts it fails. How and who do I contact at HP to report this as a bug?
0
[ 2, 72, 20, 2203, 35, 5301, 26, 2462, 863, 13693, 5783, 60, 800, 3726, 3726, 31, 22, 79, 638, 27, 86, 79, 7312, 1797, 30, 1437, 22, 38, 14149, 12044, 76, 147, 149, 1200, 5301, 5783, 9, 14, 4793, 43, 10641, 1706, 1411, 129, 1121, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 a simple method to dump pipe input to a file? (Linux) === I'm looking for a little shell script that will take anything piped into it, and dump it to a file.. for email debugging purposes. Any ideas? Alex
0
[ 2, 98, 22, 18, 21, 1935, 2109, 20, 11424, 7642, 6367, 20, 21, 3893, 60, 13, 5, 1226, 7147, 6, 800, 3726, 3726, 31, 22, 79, 699, 26, 21, 265, 3593, 3884, 30, 129, 247, 602, 7642, 43, 77, 32, 15, 17, 11424, 32, 20, 21, 3893, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
What is the best way to handle sessions for a PHP site on multiple hosts? === PHP stores its session information on the file system of the host of the server establishing that session. In a multiple-host PHP environment, where load is unintelligently distributed amongst each host, PHP session variables are not available to each request (unless by chance the request is assigned to the same host -- assume we have no control over the load balancer). [This site, dubbed "The Hitchhikers Guide to PHP Load Balancing"](http://porteightyeight.com/archives/121-The-Hitchhikers-Guide-to-PHP-Load-Balancing.html) suggests overriding PHPs session handler and storing session information in the shared database. What, in your humble opinion, is the *best* way to maintain session information in a multiple PHP host environment?
0
[ 2, 98, 25, 14, 246, 161, 20, 3053, 5763, 26, 21, 13, 26120, 689, 27, 1886, 5397, 60, 800, 3726, 3726, 13, 26120, 4134, 82, 3723, 676, 27, 14, 3893, 329, 16, 14, 2015, 16, 14, 8128, 6814, 30, 3723, 9, 19, 21, 1886, 8, 11694, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
VS2008 Setup Project: Shared (By All Users) Application Data Files? === fellow anthropoids and lily pads and paddlewheels! Yes, yes! I'm developing a Windows desktop app in C#/.NET/WPF, using VS 2008. The app is required to install and run on Vista and XP machines. I'm working on a Setup project to install the app. My app requires read/modify/write access to a SQLCE database file (.sdf) and some other database-type files related to a third-party control I'm using. These files should be shared among all users/log-ins on the PC, none of which can be required to be an Administrator. This means, of course, that the files can't go in the program's own installation directory (as such things often did before the arrival of Vista, yes, yes!). I had expected the solution to be simple. Vista and XP both have shared-application-data folders intended for this purpose. ("\ProgramData" in Vista, "\Documents and Settings\All Users\Application Data" in XP.) The .NET Environment.GetFolderPath() call exists to find the paths to these folders on a given PC, yes, yes! But I can't figure out how to specify the shared-app-data folder in the Setup project. There is a "Common Files" folder, but that's intended for shared program components (not data files), is usually located under "\Program Files," and has the same security restrictions anything else in "\Program files" does, yes, yes! There is also a "User's Application Data" folder, but that's a per-user folder, which is exactly what I'm trying to avoid, yes, yes! Is it possible to add files to the shared-app-data folder in a robust, cross-Windows-version way from a VS 2008 setup project? Can anyone tell me how?
0
[ 2, 4611, 2753, 18161, 669, 45, 2592, 13, 5, 779, 65, 3878, 6, 3010, 1054, 6488, 60, 800, 3726, 3726, 1657, 40, 17025, 16196, 17, 6274, 4432, 18, 17, 17552, 8229, 18, 187, 1643, 15, 1643, 187, 31, 22, 79, 3561, 21, 1936, 17404, 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...
Scaling cheaply: MySQL and MS SQL === How cheap can MySQL be compared to MS SQL when you have tons of data (and joins/search)? Consider a site like stackoverflow full of Q&As already and after getting dugg. My ASP.NET sites are currently on SQL Server Express so I don't have any idea how cost compares in the long run. Although after a quick research, I'm starting to envy the savings MySQL folks get.
0
[ 2, 26829, 9148, 102, 45, 51, 18, 22402, 17, 4235, 4444, 255, 800, 3726, 3726, 184, 9148, 92, 51, 18, 22402, 44, 2428, 20, 4235, 4444, 255, 76, 42, 57, 5278, 16, 1054, 13, 5, 290, 10612, 118, 25136, 6, 60, 3563, 21, 689, 101, 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...
Where can I find a good introductory tutorial for Spring? === I am a Java developer but up to now have not had any hands on experience using the Spring framework. Does anyone know of anyone good online tutorials that explain the basics and offer good examples and sample code.
0
[ 2, 113, 92, 31, 477, 21, 254, 26958, 29724, 26, 1573, 60, 800, 3726, 3726, 31, 589, 21, 8247, 10058, 47, 71, 20, 130, 57, 52, 41, 186, 473, 27, 1496, 568, 14, 1573, 6596, 9, 630, 1276, 143, 16, 1276, 254, 2087, 29724, 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, 0, 0, 0, 0, 0...
How do I TDD a custom membership provider and custom membership user? === I need to create a custom membership user and provider for an ASP.NET mvc app and I'm looking to use TDD. I have created a User class which inherits from the MembershipUser class, but when I try to test it I get an error that I can't figure out. How do I give it a valid provider name? Do I just need to add it to web.config? But I'm not even testing the web app at this point. [failure] UserTests.SetUp.UserShouldHaveMembershipUserProperties TestCase 'UserTests.SetUp.UserShouldHaveMembershipUserProperties' failed: The membership provider name specified is invalid. Parameter name: providerName System.ArgumentException Message: The membership provider name specified is invalid. Parameter name: providerName Source: System.Web
0
[ 2, 184, 107, 31, 15596, 43, 21, 5816, 4363, 11747, 17, 5816, 4363, 4155, 60, 800, 3726, 3726, 31, 376, 20, 1600, 21, 5816, 4363, 4155, 17, 11747, 26, 40, 28, 306, 9, 2328, 307, 8990, 4865, 17, 31, 22, 79, 699, 20, 275, 15596, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
.NET XML Seralization === I'm working on a set of classes that will be used to serialize to XML. The XML is not controlled by me and is organized rather well. Unfortunately, there are several sets of nested nodes, the purpose of some of them is just to hold a collection of their children. Based on my current knowledge of XML Serialization, those nodes require another class. Is there a way to make a class serialize to a set of XML nodes instead of just one. Because I feel like I'm being as clear as mud, say we have the xml: <root> <users> <user id=""> <firstname /> <lastname /> ... </user> <user id=""> <firstname /> <lastname /> ... </user> </users> <groups> <group id="" groupname=""> <userid /> <userid /> </group> <group id="" groupname=""> <userid /> <userid /> </group> </groups> </root> Ideally, 3 classes would be best. A class `root` with collections of `user` and `group` objects. However, best I can figure is that I need a class for `root`, `users`, `user`, `groups` and `group`, where `users` and `groups` contain only collections of `user` and `group` respectively, and `root` contains a `users`, and `groups` object. Anyone out there who knows better than me? (don't lie, I know there are).
0
[ 2, 13, 9, 2328, 23504, 4245, 192, 1829, 800, 3726, 3726, 31, 22, 79, 638, 27, 21, 309, 16, 2684, 30, 129, 44, 147, 20, 5956, 2952, 20, 23504, 9, 14, 23504, 25, 52, 3959, 34, 55, 17, 25, 2518, 864, 134, 9, 6200, 15, 80, 50, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Anyone out there using web2py? === Is anyone out there using [web2py][1]? Specifically: - In production? - With what database? - With Google Application Engine? [1]: http://mdp.cti.depaul.edu/
4
[ 2, 1276, 70, 80, 568, 2741, 135, 6448, 60, 800, 3726, 3726, 25, 1276, 70, 80, 568, 636, 14113, 135, 6448, 500, 2558, 165, 500, 60, 3524, 45, 13, 8, 19, 637, 60, 13, 8, 29, 98, 6018, 60, 13, 8, 29, 8144, 3010, 1406, 60, 636, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
DoSomethingToThing(Thing n) vs Thing.DoSomething() === What factors determine which approach is more appropriate?
0
[ 2, 107, 9099, 262, 96, 68, 5, 96, 68, 13, 103, 6, 4611, 584, 9, 537, 9099, 5, 6, 800, 3726, 3726, 98, 4776, 3746, 56, 2141, 25, 91, 4593, 60, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 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...
How to send SOAP requests in ISO-8859-1 whith Flex ? === Flex uses by default UTF-8. I have not fount a way to specify a different encoding/charset on the actionscript WebService class. Thanks in advance for your help
0
[ 2, 184, 20, 2660, 6447, 12279, 19, 11899, 8, 3020, 3902, 8, 165, 5558, 252, 14409, 13, 60, 800, 3726, 3726, 14409, 2027, 34, 12838, 287, 11720, 8, 457, 9, 31, 57, 52, 4310, 1020, 38, 21, 161, 20, 19077, 21, 421, 19608, 118, 5433...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
CSS "frameworks" that account for browser irregularities? === I build websites for a small-ish media company. Unfortunately, around 45-50% of our client base uses IE6, while the other half are pretty much equally split between Firefox and Webkit-based browsers, with a sprinkling of Opera users. I start every one of my sites with a reset stylesheet similar to Eric Meyer's, with a few modificaions. I've been using the Blueprint CSS "framework" a lot recently, and it's made my life a lot easier, though I am not especially attached to it. Roughly 60% of my development time is spent making sure the sites I create don't look incredibly different in each browser. I code for Firefox 3 then tweak from there. Does anyone know of any stylesheets/frameworks out there that attempt to preemptively account for all of those stupid little browser quirks? I know that nothing out there can totally account for all the browser weirdness, but it would be nice to have something a little more solid to start with. I'm working on creating my own, but it would be nice to have something to start with.
0
[ 2, 272, 18, 18, 13, 7, 8361, 7684, 7, 30, 2176, 26, 16495, 28111, 60, 800, 3726, 3726, 31, 1895, 13931, 26, 21, 284, 8, 1595, 941, 237, 9, 6200, 15, 140, 2487, 8, 21703, 16, 318, 6819, 1000, 2027, 13, 660, 379, 15, 133, 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...
What the best way to remotely reset the server cache in a web farm? === Each of our production web servers maintains its own cache for separate web sites (ASP.NET Web Applications). Currently to clear a cache we log into the server and "touch" the web.config file. Does anyone have an example of a safe/secure way to **remotely** reset the cache for a specific web application? Ideally we'd be able to say "clear the cache for app X running on all servers" but also "clear the cache for app X running on server Y".
0
[ 2, 98, 14, 246, 161, 20, 23288, 23422, 14, 8128, 16522, 19, 21, 2741, 1937, 60, 800, 3726, 3726, 206, 16, 318, 637, 2741, 17595, 9767, 82, 258, 16522, 26, 1725, 2741, 3259, 13, 5, 472, 306, 9, 2328, 2741, 3767, 6, 9, 871, 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...
Can I alter how types are resolved and instantiated in .NET? === In some languages you can override the "new" keyword to control how types are instantiated. You can't do this directly in .NET. However, I was wondering if there is a way to, say, handle a "Type not found" exception and manually resolve a type before whoever "new"ed up that type blows up? I'm using a serializer that reads in an xml-based file and instantiates types described within it. I don't have any control over the serializer, but I'd like to interact with the process, hopefully without writing my own appdomain host. Please don't suggest alternative serialization methods.
0
[ 2, 92, 31, 7835, 184, 2551, 50, 11052, 17, 6322, 49, 1669, 19, 13, 9, 2328, 60, 800, 3726, 3726, 19, 109, 2556, 42, 92, 84, 11891, 14, 13, 7, 2681, 7, 1246, 9587, 20, 569, 184, 2551, 50, 6322, 49, 1669, 9, 42, 92, 22, 38, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Is there a way to dynamically load a properties file in NAnt? === I want to load a different properties file based upon one variable. Basically, if doing a dev build use this properties file, if doing a test build use this other properties file, and if doing a production build use yet a third properties file.
0
[ 2, 25, 80, 21, 161, 20, 7782, 1326, 6305, 21, 3704, 3893, 19, 13, 11028, 60, 800, 3726, 3726, 31, 259, 20, 6305, 21, 421, 3704, 3893, 432, 685, 53, 7612, 9, 11374, 15, 100, 845, 21, 9664, 1895, 275, 48, 3704, 3893, 15, 100, 84...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Troubleshooting Timeout SqlExceptions === I have some curious behavior that I'm having trouble figuring out why is occurring. I'm seeing intermittent timeout exceptions. I'm pretty sure it's related to volume because it's not reproducible in our development environment. As a bandaid solution, I tried upping the sql command timeout to sixty seconds, but as I've found, this doesn't seem to help. Here's the strange part, when I check my logs on the process that is failing, here are the start and end times: - 09/16/2008 16:21:49 - 09/16/2008 16:22:19 So how could it be that it's timing out in thirty seconds when I've set the command timeout to sixty?? Just for reference, here's the exception being thrown: System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlDataReader.ConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader() at SetClear.DataAccess.SqlHelper.ExecuteReader(CommandType commandType, String commandText, SqlParameter[] commandArgs)
0
[ 2, 2572, 12511, 68, 85, 1320, 4444, 255, 10066, 5757, 800, 3726, 3726, 31, 57, 109, 7686, 3257, 30, 31, 22, 79, 452, 2572, 25379, 70, 483, 25, 10428, 9, 31, 22, 79, 2078, 19667, 85, 1320, 13392, 9, 31, 22, 79, 1772, 562, 32, 2...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How do I perform an HTTP post from VBScript / ASP to a WCF service and get a response? === Ideally I'd be able to construct a message and use WinHTTP to perform a post to a WCF service (hosted in IIS) and get a response, but so far I've been unable to construct something that works properly. Does anyone have an example of doing this that is straightforward? In the 2.0 Web Service world this was as easy as putting a setting in the web.config to get the service to respond to a post and then calling the appropriate web method with the right parameters. There seems to be no analogue for this in the WCF world.
0
[ 2, 184, 107, 31, 2985, 40, 7775, 678, 37, 13, 20468, 8741, 13, 118, 28, 306, 20, 21, 11801, 410, 365, 17, 164, 21, 1627, 60, 800, 3726, 3726, 5628, 102, 31, 22, 43, 44, 777, 20, 6960, 21, 2802, 17, 275, 628, 21127, 20, 2985, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 easiest way to adjust EXIF timestamps on photos from multiple cameras in Windows Vista? === **Scenario:** Several people go on holiday together, armed with digital cameras, and snap away. Some people remembered to adjust their camera clocks to local time, some left them at their home time, some left them at local time of the country they were born in, and some left their cameras on factory time. **The Problem:** Timestamps in the EXIF metadata of photos will not be synchronised, making it difficult to aggregate all the photos into one combined collection. **The Question:** Assuming that you have discovered the deltas between all of the camera clocks, What is the *simplest* way to correct these timestamp differences in Windows Vista?
0
[ 2, 98, 25, 14, 27237, 161, 20, 14328, 1396, 821, 436, 4919, 1919, 27, 7064, 37, 1886, 8688, 19, 1936, 13520, 60, 800, 3726, 3726, 13, 1409, 18, 8172, 8756, 45, 1409, 238, 148, 162, 27, 5114, 429, 15, 2799, 29, 1888, 8688, 15, 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...
App referencing Microsoft.SqlServer.Smo requires additional assemblies to be included on Target Machine? === I have a small app which references the Microsoft.SqlServer.Smo assembly (so I can display to the user a list of servers & databases to which they can connect). My application originally referenced Microsoft.SqlServer.Smo and Microsoft.SqlServer.ConnectionInfo. Things worked as expected on my dev box. When I installed the application on a test machine, I received a **System.IO.FileNotFoundException**. The details of the message included the following: **Could not load file or assembly Microsoft.SqlServer.SmoEnum** I eventually resolved the issue by referencing the following assemblies in addition to the ones mentioned above: - Microsoft.SqlServer.SmoEnum - Microsoft.SqlServer.SqlEnum - Microsoft.SqlServer.BatchParser - Microsoft.SqlServer.Replication Can anyone confirm that I do indeed need to include each of these additional assemblies in my application (and therefore install them on user's machines) even though the app builds fine on my development box without them referenced?
0
[ 2, 4865, 13, 29254, 7099, 9, 18, 22402, 10321, 106, 9, 18, 1293, 4781, 1351, 21066, 20, 44, 506, 27, 2935, 1940, 60, 800, 3726, 3726, 31, 57, 21, 284, 4865, 56, 7231, 14, 7099, 9, 18, 22402, 10321, 106, 9, 18, 1293, 1475, 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 important is a database in managing information? === I have been hired to help write an application that manages certain information for the end user. It is intended to manage a few megabytes of information, but also manage scanned images in full resolution. Should this project use a database, and why or why not?
0
[ 2, 184, 681, 25, 21, 6018, 19, 5616, 676, 60, 800, 3726, 3726, 31, 57, 74, 3658, 20, 448, 2757, 40, 3010, 30, 9118, 1200, 676, 26, 14, 241, 4155, 9, 32, 25, 2081, 20, 4705, 21, 310, 5957, 23246, 18, 16, 676, 15, 47, 67, 4705...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
x86 Remote Debugger Service on x64 === Is it possible to install the x86 Remote Debugger as a Service on a 64bit machine? I need to attach a debugger to a Session 0 process. The process runs 32bit but the debugger service that gets installed is 64bit and wont attach to the 32bit process. I need to attach to managed code.
0
[ 2, 993, 3274, 5388, 121, 2345, 11356, 365, 27, 993, 3470, 800, 3726, 3726, 25, 32, 938, 20, 16146, 14, 993, 3274, 5388, 121, 2345, 11356, 28, 21, 365, 27, 21, 4384, 3326, 1940, 60, 31, 376, 20, 19514, 21, 121, 2345, 11356, 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...
Which library should I use to generate RSS in Common Lisp? === What's the best library to use to generate RSS for a webserver written in Common Lisp?
0
[ 2, 56, 1248, 378, 31, 275, 20, 7920, 13, 1224, 18, 19, 757, 2093, 3401, 60, 800, 3726, 3726, 98, 22, 18, 14, 246, 1248, 20, 275, 20, 7920, 13, 1224, 18, 26, 21, 2741, 10321, 106, 642, 19, 757, 2093, 3401, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
Mending bad BAD database design once data is in the system. === I know that that is not a question... erm anyway HERE is the question. I have inherited a database that has 1(one) table in that looks much like this. Its aim is to record what species are found in the various (200 odd) countries. ID Species Afghanistan Albania Algeria American Samoa Andorra Angola .... Western Sahara Yemen Zambia Zimbabwe A sample of the data would be something like this id Species Afghanistan Albania American Samoa 1 SP1 null null null 2 SP2 1 1 null 3 SP3 null null 1 It seems to me this is a typical many to many situation and I want 3 tables. Species, Country, and SpeciesFoundInCountry The link table (SpeciesFoundInCountry) would have foreign keys in both the species and Country tables. (It is hard to draw the diagram!) Species SpeciesID SpeciesName Country CountryID CountryName SpeciesFoundInCountry CountryID SpeciesID Is there a magic way I can generate an insert statement that will get the CountryID from the new Country table based on the column name and the SpeciesID where there is a 1 in the original mega table? I can do it for one Country (this is a select to show what I want out) SELECT Species.ID, Country.CountryID FROM Country, Species WHERE (((Species.Afghanistan)=1)) AND (((Country.Country)="Afghanistan")); (the mega table is called species) But using this strategy I would need to do the query for each column in the original table. Is there a way of doing this in sql? I guess I can OR a load of my where clauses together and write a script to make the sql, seems inelegant though! Any thoughts (or clarification required)? Cheers for reading all that :D
0
[ 2, 304, 3258, 896, 896, 6018, 704, 382, 1054, 25, 19, 14, 329, 9, 800, 3726, 3726, 31, 143, 30, 30, 25, 52, 21, 1301, 9, 9, 9, 13, 106, 79, 2774, 235, 25, 14, 1301, 9, 31, 57, 7179, 21, 6018, 30, 63, 137, 5, 849, 6, 859,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How is it possible to run a traceroute-like program without needing root privileges? === I have seen another program provide traceroute functionality within it but without needing root (superuser) privileges? I've always assumed that raw sockets need to be root, but is there some other way? (I think somebody mentioned "supertrace" or "tracepath"?) Thanks for your responses :)
0
[ 2, 184, 25, 32, 938, 20, 485, 21, 5565, 20179, 8, 1403, 625, 366, 12210, 5900, 15977, 60, 800, 3726, 3726, 31, 57, 541, 226, 625, 1181, 5565, 20179, 18548, 363, 32, 47, 366, 12210, 5900, 13, 5, 8542, 16704, 6, 15977, 60, 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...
How to double buffer .NET controls on a form? === How can i set the protected DoubleBuffered property of the controls on a form that are suffering from flicker?
0
[ 2, 184, 20, 1494, 17497, 13, 9, 2328, 8671, 27, 21, 505, 60, 800, 3726, 3726, 184, 92, 31, 309, 14, 3803, 1494, 2345, 6866, 69, 1354, 16, 14, 8671, 27, 21, 505, 30, 50, 4957, 37, 18709, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
( revised ) how to generate a stacktrace when my C++ app crashes ( using gcc compiler ) === When my c++ app crashes I would like to generate a stacktrace. I already asked this but I guess I needed to clarify my needs. My app is being run by many different users and it also runs on Linux, Windows and Macintosh ( all versions are compiled using gcc ). I would like my program to be able to generate a stack trace when it crashes and the next time the user run's it, it will ask them if it is ok to send the stack trace to me so I can track down the problem. I can handle the sending the info to me but I don't know how to generate the trace string. Any ideas?
0
[ 2, 13, 5, 7886, 13, 6, 184, 20, 7920, 21, 7566, 38, 7367, 76, 51, 272, 20512, 4865, 21563, 13, 5, 568, 489, 3384, 21486, 13, 6, 800, 3726, 3726, 76, 51, 272, 20512, 4865, 21563, 31, 83, 101, 20, 7920, 21, 7566, 38, 7367, 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...
Which open-source project should I help with? === I am looking for an open-source project involving c++ GUI(s) working with a database. I have not done it before, and am looking for a way to get my feet wet. Which can I work on?
4
[ 2, 56, 368, 8, 12097, 669, 378, 31, 448, 29, 60, 800, 3726, 3726, 31, 589, 699, 26, 40, 368, 8, 12097, 669, 4838, 272, 20512, 9457, 5, 18, 6, 638, 29, 21, 6018, 9, 31, 57, 52, 677, 32, 115, 15, 17, 589, 699, 26, 21, 161, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
What is the best way the _DoPostBack javascript method in Asp.net === I want to set a breakpoint on the __DoPostBack method, but it's a pain to find the correct file to set the breakpoint in. The method __DoPostBack is contained in an auto-generated js file called something like: ScriptResource.axd?d=P_lo2... After a few post-backs visual studio gets littered with many of these files, and it's a bit of a bear to check which one the current page is referencing. Any thoughts?
0
[ 2, 98, 25, 14, 246, 161, 14, 13, 1, 537, 6962, 1958, 8247, 8741, 2109, 19, 28, 306, 9, 2328, 800, 3726, 3726, 31, 259, 20, 309, 21, 1442, 3132, 27, 14, 13, 1, 537, 6962, 1958, 2109, 15, 47, 32, 22, 18, 21, 1257, 20, 477, 1...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How can I get Google Charts to display multiple colors in a scatter chart? === I would like to display multiple colors (and potentially shapes and sizes) of data points in a Google Chart scatter chart. Does anyone have an example of how to do so? Thanks, Kent Beck
0
[ 2, 184, 92, 31, 164, 8144, 5158, 20, 3042, 1886, 5268, 19, 21, 27465, 1795, 60, 800, 3726, 3726, 31, 83, 101, 20, 3042, 1886, 5268, 13, 5, 290, 9465, 12129, 17, 13403, 6, 16, 1054, 819, 19, 21, 8144, 1795, 27465, 1795, 9, 630, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
Cleanest way to implement collapsable entries in a table generated via asp:Repeater? === Before anyone suggests scrapping the table tags altogether, I'm just modifying this part of a very large system, so it really wouldn't be wise for me to revise the table structure (the app is filled with similar tables). This is a webapp in C# .NET - data comes in from a webservice and is displayed onscreen in a table. The table's rows are generated with asp:Repeaters, so that the rows alternate colers nicely. The table previously held one item of data per row. Now, essentially, the table has sub-headers... The first row is the date, the second row shows a line of data, and all the next rows are data rows until data of a new date comes in, in which case there will be another sub-header row. At first I thought I could cheat a little and do this pretty easily to keep the current repeater structure- I just need to feed some cells the empty string so that no data appears in them. Now, however, we're considering one of those +/- collapsers next to each date, so that they can collapse all the data. My mind immediately went to hiding rows when a button is pressed... but I don't know how to hide rows from the code behind unless the row has a unique id, and I'm not sure if you can do that with repeaters. I hope I've expressed the problem well. I'm sure I'll find a way TBH but I just saw this site on slashdot and thought I'd give it a whirl :)
0
[ 2, 2745, 1430, 161, 20, 8713, 9470, 2552, 18, 579, 11399, 19, 21, 859, 6756, 1197, 28, 306, 45, 99, 306, 9834, 60, 800, 3726, 3726, 115, 1276, 5049, 10241, 3181, 14, 859, 3383, 18, 11206, 15, 31, 22, 79, 114, 17579, 68, 48, 141,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 is faster, python webpages or php webpages? === Does anyone know how the speed of pylons(or any of the other frameworks) compares to a similar website made with php? I know that serving a python base webpage via cgi is slower than php because of its long start up every time. I enjoy using pylons and I would still use it if it was slower than php. But if pylons was faster than php, I could maybe, hopefully, eventually convince my employer to allow me to convert the site over to pylons.
0
[ 2, 56, 25, 4233, 15, 20059, 2741, 6486, 18, 54, 13, 26120, 2741, 6486, 18, 60, 800, 3726, 3726, 630, 1276, 143, 184, 14, 1362, 16, 29262, 18, 5, 248, 186, 16, 14, 89, 6596, 18, 6, 11590, 18, 20, 21, 835, 2271, 117, 29, 13, 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...
Are there any good Continuous Testing plugins for Eclipse out right now? === I've used the [MIT Continuous testing][1] plugin in the past, but it has long since passed out of date and is no longer compatible with anything approaching a modern release of Eclipse. Does anyone have a good replacement? Free, naturally, is preferred. [1]: http://groups.csail.mit.edu/pag/continuoustesting/
0
[ 2, 50, 80, 186, 254, 6357, 4431, 10922, 108, 18, 26, 11652, 70, 193, 130, 60, 800, 3726, 3726, 31, 22, 195, 147, 14, 636, 5130, 6357, 4431, 500, 2558, 165, 500, 10922, 108, 19, 14, 640, 15, 47, 32, 63, 175, 179, 1100, 70, 16, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Adobe Reader Error Codes === I am programmatically creating PDFs, and a recent change to my generator is creating documents that crash both Mac Preview and Adobe Reader on my Mac. Before Adobe Reader crashes, it reports: > There was an error processing a page. > There was a problem reading this document (18). I suspect that that "18" might give me some information on what is wrong with the PDF I've created. Is there a document explaining the meaning of these status codes?
0
[ 2, 20299, 7765, 7019, 11358, 800, 3726, 3726, 31, 589, 625, 6732, 1326, 2936, 13, 11124, 18, 15, 17, 21, 1764, 753, 20, 51, 15286, 25, 2936, 4374, 30, 4597, 156, 1572, 16121, 17, 20299, 7765, 27, 51, 1572, 9, 115, 20299, 7765, 215...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 some good compilers to use when learning C++? === What are some suggestions for easy to use C++ compilers for a beginner? Free or open-source ones would be preferred.
4
[ 2, 98, 50, 109, 254, 21486, 18, 20, 275, 76, 2477, 272, 20512, 60, 800, 3726, 3726, 98, 50, 109, 18389, 26, 2010, 20, 275, 272, 20512, 21486, 18, 26, 21, 26931, 60, 551, 54, 368, 8, 12097, 53, 18, 83, 44, 5981, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
When to throw an exception === I have exceptions created for every condition that my application does not expect. UserNameNotValidException, PasswordNotCorrectException etc. However I was told I should not create exceptions for those conditions. In my UML those ARE exceptions to the main flow, so why should it not be an exception? Any guidance or best practices for creating exceptions?
0
[ 2, 76, 20, 3814, 40, 5391, 800, 3726, 3726, 31, 57, 13392, 679, 26, 352, 2874, 30, 51, 3010, 630, 52, 4186, 9, 4155, 7259, 1270, 18506, 43, 10066, 872, 15, 20884, 1270, 25345, 10066, 872, 2722, 9, 207, 31, 23, 470, 31, 378, 52, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PHP Deployment to windows/unix servers === We have various php projects developed on windows (xampp) that need to be deployed to a mix of linux/windows servers. We've used [capistrano][1] in the past to deploy from windows to the linux servers, but recent changes in architecture and windows servers left the old config not working. Currently we're using svn-update for the windows servers, which i dislike. And manual updating of files using winscp and syncing the directories with their linux counterparts. My question is, what tools/setup do you suggest to automatize this deployment scenario: **"Various php windows developers deploying to 2+ mixed windows/linux machines"** (ps: we have no problems using linux tools or anything working through cygwin, we simply need to make deployment a simple one-step operation) [1]: http://www.capify.org/
0
[ 2, 13, 26120, 10475, 20, 1936, 118, 1020, 4028, 17595, 800, 3726, 3726, 95, 57, 617, 13, 26120, 2314, 885, 27, 1936, 13, 5, 396, 765, 3421, 6, 30, 376, 20, 44, 6698, 20, 21, 2917, 16, 13024, 118, 27508, 18, 17595, 9, 95, 22, 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...
kSOAP Marshalling help needed === Does anyone have a good complex object marshalling example using the kSOAP package?
0
[ 2, 680, 656, 2552, 4526, 68, 448, 851, 800, 3726, 3726, 630, 1276, 57, 21, 254, 1502, 3095, 4526, 68, 823, 568, 14, 680, 656, 2552, 6030, 60, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 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...
Is it possible to send WM_QUERYENDSESSION messages to a window in a different process? === I want to debug a windows C++ application I've written to see why it isn't responding to WM_QUERYENDSESSION how I expect it to. Clearly it's a little tricky to do this by just shutting the system down. Is there any utility or code which I can use to send a fake WM_QUERYENDSESSION to my application windows myself?
0
[ 2, 25, 32, 938, 20, 2660, 19312, 1, 8190, 93, 2451, 7202, 5991, 7561, 20, 21, 1463, 19, 21, 421, 953, 60, 800, 3726, 3726, 31, 259, 20, 121, 16254, 21, 1936, 272, 20512, 3010, 31, 22, 195, 642, 20, 196, 483, 32, 2532, 22, 38, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
data access in DDD? === After reading Evan's and Nilsson's books I am still not sure how to manage Data access in a domain driven project. Should the CRUD methods be part of the repositories, i.e. OrderRepository.GetOrdersByCustomer(customer) or should they be part of the entities: Customer.GetOrders(). The latter approach seems more OO, but it will distribute Data Access for a single entity type among multiple objects, i.e. Customer.GetOrders(), Invoice.GetOrders(), ShipmentBatch.GetOrders() ,etc. What about Inserting and updating?
0
[ 2, 1054, 1381, 19, 13, 43, 8096, 60, 800, 3726, 3726, 75, 1876, 8451, 22, 18, 17, 29446, 22, 18, 964, 31, 589, 174, 52, 562, 184, 20, 4705, 1054, 1381, 19, 21, 4603, 5355, 669, 9, 378, 14, 11498, 43, 3195, 44, 141, 16, 14, 3...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Stored procedures/DB schema in source control === Do you guys keep track of stored procedures and database schema in your source control system of choice? When you make a chance (add a table, update an stored proc, how do you get the changes into source control? We use SQL Server at work, and I've begun using darcs for versioning, but I'd be curious about general strategies as well as any handy tools.
0
[ 2, 8214, 8876, 118, 9007, 23874, 19, 1267, 569, 800, 3726, 3726, 107, 42, 2776, 643, 792, 16, 8214, 8876, 17, 6018, 23874, 19, 154, 1267, 569, 329, 16, 1837, 60, 76, 42, 233, 21, 1504, 13, 5, 14854, 21, 859, 15, 11100, 40, 8214,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 justify Refactoring work to your penny-pinching boss? === You've just written a pile of code to deliver some important feature under pressure. You've cut a few corners, you've mashed some code into some over-bloated classes with names like SerialIndirectionShutoffManager.. You tell your boss you're going to need a week to clean this stuff up. "Clean what up?" "My code - its a pigsty!" "You mean there's some more bug fixing?" "Not really, its more like.." "You're gonna make it run faster?" "Perhaps, buts thats not.." "Then you should have written it properly when you had the chance. Now I'm glad you're here, yeah, I'm gonna have to go ahead and ask you to come in this weekend.. " I've read Matin Fowler's book, but I'm not sure I agree with his advice on this matter: * Encourage regular code reviews, so refactoring work is encouraged as a natural part of the development process. * Just don't tell, you're the developer and its part of your duty. Both these methods squirm out of the need to communicate with your manager. What do you tell your boss?
0
[ 2, 184, 107, 42, 17829, 302, 17455, 68, 170, 20, 154, 10689, 8, 3489, 7192, 4054, 60, 800, 3726, 3726, 42, 22, 195, 114, 642, 21, 6551, 16, 1797, 20, 5879, 109, 681, 1580, 131, 1859, 9, 42, 22, 195, 1077, 21, 310, 8894, 15, 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...
What does BlazeDS Livecycle Data Services do, that something like PyAMF or RubyAMF not do? === I'm doing a tech review and looking at AMF integration with various backends (Rails, Python, Grails etc). Lots of options are out there, question is, what do the Adobe products do (BlazeDS etc) that something like RubyAMF / pyAMF don't?
0
[ 2, 98, 630, 9849, 43, 18, 515, 12467, 1054, 687, 107, 15, 30, 301, 101, 351, 8580, 410, 54, 10811, 765, 410, 52, 107, 60, 800, 3726, 3726, 31, 22, 79, 845, 21, 6145, 1487, 17, 699, 35, 21, 13235, 8078, 29, 617, 97, 2451, 18, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
eliminating duplicate Enum code === I have a large number of Enums that implement this interface: /** * Interface for an enumeration, each element of which can be uniquely identified by it's code */ public interface CodableEnum { /** * Get the element with a particular code * @param code * @return */ public CodableEnum getByCode(String code); /** * Get the code that identifies an element of the enum * @return */ public String getCode(); } A typical example is: public enum IMType implements CodableEnum { MSN_MESSENGER("msn_messenger"), GOOGLE_TALK("google_talk"), SKYPE("skype"), YAHOO_MESSENGER("yahoo_messenger"); private final String code; IMType (String code) { this.code = code; } public String getCode() { return code; } public IMType getByCode(String code) { for (IMType e : IMType.values()) { if (e.getCode().equalsIgnoreCase(code)) { return e; } } } } As you can imagine these methods are virtually identical in all implementations of CodableEnum. I would like to eliminate this duplication, but frankly don't know how. I tried using a class such as the following: public abstract class DefaultCodableEnum implements CodableEnum { private final String code; DefaultCodableEnum(String code) { this.code = code; } public String getCode() { return this.code; } public abstract CodableEnum getByCode(String code); } But this turns out to be fairly useless because: 1. An enum cannot extend a class 2. Elements of an enum (SKYPE, GOOGLE_TALK, etc.) cannot extend a class 3. I cannot provide a default implementation of getByCode(), because DefaultCodableEnum is not itself an Enum. I tried changing DefaultCodableEnum to extend java.lang.Enum, but this doesn't appear to be allowed. Any suggestions? Thanks, Don
0
[ 2, 17653, 19429, 1957, 723, 1797, 800, 3726, 3726, 31, 57, 21, 370, 234, 16, 1957, 723, 18, 30, 8713, 48, 6573, 45, 13, 118, 1409, 1637, 6573, 26, 40, 26940, 872, 15, 206, 4520, 16, 56, 92, 44, 23703, 2889, 34, 32, 22, 18, 179...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Moving SQL2005 app to SQL2008 === I will be moving our production SQL2005 application to SQL2008 soon. Any things to lookout for before/after the move? Any warnings, advices? Thank you!
0
[ 2, 1219, 4444, 255, 2835, 4865, 20, 4444, 255, 2753, 800, 3726, 3726, 31, 129, 44, 1219, 318, 637, 4444, 255, 2835, 3010, 20, 4444, 255, 2753, 651, 9, 186, 564, 20, 20727, 26, 115, 118, 5162, 14, 780, 60, 186, 3590, 18, 15, 4978...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
perl capitalize first letter === what is the easiest way to capitalize the first letter in each word of a string.
0
[ 2, 416, 255, 1057, 2952, 64, 1748, 800, 3726, 3726, 98, 25, 14, 27237, 161, 20, 1057, 2952, 14, 64, 1748, 19, 206, 833, 16, 21, 3724, 9, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
Can operator>> read an int hex AND decimal? === Can I persuade operator>> in C++ to read both a hex value AND and a decimal value? The following program demonstrates how reading hex goes wrong. I'd like the same istringstream to be able to read both hex and decimal. #include <iostream> #include <sstream> int main(int argc, char** argv) { int result = 0; // std::istringstream is("5"); // this works std::istringstream is("0x5"); // this fails while ( is.good() ) { if ( is.peek() != EOF ) is >> result; else break; } if ( is.fail() ) std::cout << "failed to read string" << std::endl; else std::cout << "successfully read string" << std::endl; std::cout << "result: " << result << std::endl; }
0
[ 2, 92, 6022, 1, 1302, 40, 19, 38, 24, 396, 17, 26380, 60, 800, 3726, 3726, 92, 31, 13484, 6022, 1, 19, 272, 20512, 20, 1302, 156, 21, 24, 396, 1923, 17, 17, 21, 26380, 1923, 60, 14, 249, 625, 19466, 184, 1876, 24, 396, 1852, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 package my perl script to run on a machine without perl? === People also often ask "How can I compile perl?" while what they really want is to create an executable that can run on machines even if they don't have perl installed. There are several solutions, I know of: 1. <a href="http://www.indigostar.com/perl2exe.htm">perl2exe</a> of IndigoStar It is commercial. I never tried. Its web site says it can cross compile Win32, Linux, Solaris ... 2. <a href="http://www.activestate.com/Products/perl_dev_kit/">Perl Dev Kit</a> of ActiveState. It is commercial. I used it several years ago on Windows and it worked well for my needs. According to its web site it works on Windows, Mac OS X, Linux, Solaris, AIX and HP-UX. 3. <a href="http://search.cpan.org/dist/PAR/">PAR</a> or rather <a href="http://search.cpan.org/dist/PAR-Packer/">PAR::Packer</a> that is free and open source. Based on the test reports it works on the Windows, Mac OS X, Linux, NetBSD and Solaris but theoretically it should work on other UNIX systems as well. Recently I have started to use PAR for packaging on Linux and will use it on Windows as well. Other recommended solutions?
0
[ 2, 184, 92, 31, 6030, 51, 416, 255, 3884, 20, 485, 27, 21, 1940, 366, 416, 255, 60, 800, 3726, 3726, 148, 67, 478, 1349, 13, 7, 1544, 92, 31, 26561, 416, 255, 60, 7, 133, 98, 59, 510, 259, 25, 20, 1600, 40, 1396, 17194, 5924...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How do you set up an API key system for your website? === Let say that I have a website with some information that could be accesss externally. Those information need to be only change byt the respected client. Exemple: Google Analytic or WordPress API key. How can I create a system that work like that (no mather the programming language)?
0
[ 2, 184, 107, 42, 309, 71, 40, 21, 2159, 1246, 329, 26, 154, 2271, 60, 800, 3726, 3726, 408, 395, 30, 31, 57, 21, 2271, 29, 109, 676, 30, 110, 44, 1381, 18, 4886, 102, 9, 273, 676, 376, 20, 44, 104, 753, 34, 38, 14, 10861, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Trouble having a modal YUI dialog to open a secondary dialog === I have a modal dialog form which has some "help links" within it which should open other non-modal panels or dialogs on top of it (while keeping the main dialog otherwise modal). However, these always end up behind the mask. YUI seems to be recognizing the highest z-index out there and setting the mask and modal dialog to be higher than that. If i wait to panel-ize the help content, then i can set those to have a higher z-index. So far, so good. The problem then is that fields within the secondary, non-modal dialogs are unfocusable. The modal dialog beneath them seems to somehow be preventing the focus from going to anything not in the initial, modal dialog. Help!
0
[ 2, 2572, 452, 21, 13, 20756, 2600, 49, 28223, 20, 368, 21, 2277, 28223, 800, 3726, 3726, 31, 57, 21, 13, 20756, 28223, 505, 56, 63, 109, 13, 7, 14593, 6271, 7, 363, 32, 56, 378, 368, 89, 538, 8, 20756, 9449, 54, 28223, 18, 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...
What is an easy way to create a MessageBox with custom button text in Managed C++? === I would like to keep the overhead at a minimum. Right now I have: // Launch a Message Box with advice to the user DialogResult result = MessageBox::Show("This may take awhile, do you wish to continue?", "Warning", MessageBoxButtons::YesNo, MessageBoxIcon::Exclamation); // The test will only be launched if the user has selected Yes on the Message Box if(result == DialogResult::Yes) { // Execute code } Unfortunately my client would prefer "Continue" and "Cancel" in place of the default "Yes" and "No" button text. It seems like there should be an easy way to do this.
0
[ 2, 98, 25, 40, 2010, 161, 20, 1600, 21, 2802, 5309, 29, 5816, 5167, 1854, 19, 1471, 272, 20512, 60, 800, 3726, 3726, 31, 83, 101, 20, 643, 14, 8860, 35, 21, 5187, 9, 193, 130, 31, 57, 45, 12894, 3394, 21, 2802, 1649, 29, 4978,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Common comment tags === What common comment tags do you find useful, and how do you use them? For instance, we standardize on: //TODO: blah blah //FIXME: blah blah //NOTE: blah blah We have an IDE plugin that is able to pick these up project wide as a reminder. Do you use any of these aide memoirs? How do you use them? Are they useful? Do you find there are soon too many of them to be useful? Or do you find they clutter up your code when you never go back and tidy them out?
4
[ 2, 757, 6484, 3383, 18, 800, 3726, 3726, 98, 757, 6484, 3383, 18, 107, 42, 477, 4811, 15, 17, 184, 107, 42, 275, 105, 60, 26, 4851, 15, 95, 1236, 2952, 27, 45, 12894, 262, 537, 45, 27220, 27220, 12894, 18594, 790, 45, 27220, 272...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Infopath 2007 - How do I perform data validation on the current view ONLY? === I have an infopath 2007 form that I am developing which uses 3 different views. The 3 different views are basically the same form, but have different text boxes shown, depending upon what button the user selects. I run into a problem where 'view 1' has some form validation, but the user has selected 'view 2' and submits it. The form validation on 'view 1' is triggered, and the user cannot submit the form. How can I ignore the form validation on 'view 1' if the user is currently submitting 'view 2'?
0
[ 2, 15404, 8353, 624, 13, 8, 184, 107, 31, 2985, 1054, 27999, 27, 14, 866, 1418, 104, 60, 800, 3726, 3726, 31, 57, 40, 15404, 8353, 624, 505, 30, 31, 589, 3561, 56, 2027, 203, 421, 4146, 9, 14, 203, 421, 4146, 50, 11374, 14, 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...
Why has XSLT never seen the popularity of many other languages that came out during the internet boom? === The use of XSLT (XML Stylesheet Language Transform) has never seen the same popularity of many of the other languages that came out during the internet boom. While it is in use, and in some cases by large successful companies (i.e. Blizzard Entertainment), it has never seemed to reach mainstream. Why do you think this is?
4
[ 2, 483, 63, 993, 18, 255, 38, 243, 541, 14, 5178, 16, 151, 89, 2556, 30, 281, 70, 112, 14, 2620, 6403, 60, 800, 3726, 3726, 14, 275, 16, 993, 18, 255, 38, 13, 5, 396, 8184, 1034, 17627, 816, 8007, 6, 63, 243, 541, 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...
Zend or CakePHP? === My group is going to attempt to build a new CMS from scratch, designed to serve the needs of our organization. It should be noted that none of us have any formal programming education, but we've picked up this and that from developing different websites, among others the one our community uses now. We've decided to program the new CMS in PHP, with total MVC seperation. Not wanting to re-invent all the little cogs and wheels needed for such a potentially large project as this, we've been looking into using a PHP framework, and some googling and blog-surfing landed us in a discussion: Zend vs Cake? Anyone have any useful input here? Also, any other tips for embarking on this project would be appreciated. (Except for suggestions for existing CMSes, we know they're out there.)
0
[ 2, 10526, 43, 54, 8390, 26120, 60, 800, 3726, 3726, 51, 214, 25, 228, 20, 1735, 20, 1895, 21, 78, 2390, 18, 37, 12395, 15, 1006, 20, 1884, 14, 2274, 16, 318, 1165, 9, 32, 378, 44, 1525, 30, 2369, 16, 182, 57, 186, 3337, 3143, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 instantiate a Java array given an array type at runtime? === In the Java collections framework, the Collection interface declares the following method: [<T> T[] toArray(T[] a)][1] "Returns an array containing all of the elements in this collection; the runtime type of the returned array is that of the specified array. If the collection fits in the specified array, it is returned therein. Otherwise, a new array is allocated with the runtime type of the specified array and the size of this collection." If you wanted to implement this method, how would you create an array of the type of **a**, known only at runtime? [1]: http://java.sun.com/javase/6/docs/api/java/util/Collection.html#toArray&#40;T[]&#41;
0
[ 2, 184, 20, 6322, 15882, 21, 8247, 7718, 504, 40, 7718, 1001, 35, 485, 891, 60, 800, 3726, 3726, 19, 14, 8247, 5721, 6596, 15, 14, 1206, 6573, 10123, 18, 14, 249, 2109, 45, 636, 1, 38, 1, 13, 38, 2558, 500, 20, 8576, 93, 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...
Any good open-source load / stress tools to test EJBs? === There are a number of commercial offerings that I've come across but nothing open-source. I realise that you could do something simiilar with JUnit / JMeter but I'm looking for something a bit more specific.
0
[ 2, 186, 254, 368, 8, 12097, 6305, 13, 118, 5384, 4672, 20, 1289, 13, 10022, 4562, 60, 800, 3726, 3726, 80, 50, 21, 234, 16, 1439, 18904, 30, 31, 22, 195, 340, 464, 47, 626, 368, 8, 12097, 9, 31, 16794, 30, 42, 110, 107, 301, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Does such a piece of software exist? === I'm looking for an open source package written in java that implements a registration, authentication (like securityfilter) with captchas and email link verification and all that. I could write it, but why reinvent the wheel. I've looked all over the place and haven't found anything. Does such a thing exist?
0
[ 2, 630, 145, 21, 1855, 16, 2306, 3182, 60, 800, 3726, 3726, 31, 22, 79, 699, 26, 40, 368, 1267, 6030, 642, 19, 8247, 30, 8713, 18, 21, 8587, 15, 27963, 13, 5, 1403, 1221, 11924, 815, 6, 29, 13960, 1651, 18, 17, 8517, 3508, 250...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 handle URL mappings between an RIA version and plain old HTML version of a site? === So if you have a RIA version (Silverlight or Flash) and a standard HTML version (or AJAX even), should you have the same URL for both, or is it ok to have a different one for the RIA app and just redirect accordingly? So, for instance, if you have a site (http://example.com), is it ok to have the about page URL for the RIA app be http://example.com/#/about and the html be http://example.com/about? Does it matter? Of course if you take the route with different URLs you will need to map between them.
0
[ 2, 98, 25, 14, 246, 161, 20, 3053, 287, 6362, 13305, 18, 128, 40, 13, 2548, 615, 17, 3748, 315, 13, 15895, 615, 16, 21, 689, 60, 800, 3726, 3726, 86, 100, 42, 57, 21, 13, 2548, 615, 13, 5, 16782, 3130, 54, 4433, 6, 17, 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...
Whats a good Javascript plugin color picker? === I make a lot of web applications and from time to time I need a color picker. Whats one that I can use like an API and doesn't require a lot of code to plug in? I also need it to work in all browsers.
0
[ 2, 98, 18, 21, 254, 8247, 8741, 10922, 108, 1665, 2036, 106, 60, 800, 3726, 3726, 31, 233, 21, 865, 16, 2741, 3767, 17, 37, 85, 20, 85, 31, 376, 21, 1665, 2036, 106, 9, 98, 18, 53, 30, 31, 92, 275, 101, 40, 21, 2159, 17, 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...
[R] How to access the last value in a vector? === Yes people, even though I'm talking about the R Project for Statistical Computing, it can still require programming! Suppose I have a vector that is nested in a dataframe one or two levels. Is there a quick and dirty way to access the last value, without using the length() function? Something ala PERL's $# special var? So I would like something like dat$vec1$vec2[$#], instead of dat$vec1$vec2[length(dat$vec1$vec2)] Thanks!
0
[ 2, 636, 139, 500, 184, 20, 1381, 14, 236, 1923, 19, 21, 7497, 60, 800, 3726, 3726, 1643, 148, 15, 166, 362, 31, 22, 79, 1582, 88, 14, 761, 669, 26, 6762, 10626, 15, 32, 92, 174, 4077, 3143, 187, 5787, 31, 57, 21, 7497, 30, 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...
Ant is not able to delete some files on windows === I have an ant build that makes directories, calls javac and all the regular stuff. The issue I am having is that when I try to do a clean (delete all the stuff that was generated) the delete task reports that is was unable to delete some files. When I try to delete them manually it works just fine. The files are apparently not open by any other process but ant still does not manage to delete them. What can I do?
0
[ 2, 40, 38, 25, 52, 777, 20, 27448, 109, 6488, 27, 1936, 800, 3726, 3726, 31, 57, 40, 40, 38, 1895, 30, 1364, 559, 1596, 15, 3029, 8247, 150, 17, 65, 14, 1290, 3217, 9, 14, 1513, 31, 589, 452, 25, 30, 76, 31, 1131, 20, 107, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
SQL Server Backup/Restore Process === The backup and restore process of a large database or collection of databases on sql server is very important for disaster & recovery purposes. However, I have not found a robust solution that will guarantee the whole process is as efficient as possible, 100% reliable and easily maintainable and configurable accross multiple servers. Microsft's Maintenance Plans doesn't seem to be sufficient. The best solution I have used is one that I created manually using many jobs with many steps per database running on the source server (backup) and destination server (restore). The jobs use stored procedures to do the backup, copying & restoring. This runs once a day (full backup/restore) and intraday every 5 mins (transaction log shipping). Although my current process works and reports any job failures via email, I know the whole process isn't very reliable and cannot be easily maintained/configured on all our servers by a non-DBA without having in-depth knowledge of the process. I would like to know if others have this same backup/restore process and how others overcome this issue.
0
[ 2, 4444, 255, 8128, 10119, 118, 99, 16828, 953, 800, 3726, 3726, 14, 10119, 17, 8454, 953, 16, 21, 370, 6018, 54, 1206, 16, 6018, 18, 27, 4444, 255, 8128, 25, 253, 681, 26, 5302, 279, 6550, 4612, 9, 207, 15, 31, 57, 52, 216, 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...
What are the relative strengths and weaknesses of Git, Mercurial, and Bazaar? === What do folks here see as the relative strengths and weaknesses of Git, Mercurial, and Bazaar? In considering each of them with one another and against version control systems like SVN and Perforce, what issues should be considered? In planning a migration from SVN to one of these distributed version control systems, what factors would you consider?
0
[ 2, 98, 50, 14, 4543, 2169, 18, 17, 23732, 16, 13, 10404, 15, 9046, 3594, 192, 15, 17, 24672, 60, 800, 3726, 3726, 98, 107, 14563, 235, 196, 28, 14, 4543, 2169, 18, 17, 23732, 16, 13, 10404, 15, 9046, 3594, 192, 15, 17, 24672, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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# Datatype for large sorted collection with position? === I am trying to compare two large datasets from a SQL query. Right now the SQL query is done externally and the results from each dataset is saved into its own csv file. My little C# console application loads up the two text/csv files and compares them for differences and saves the differences to a text file. Its a very simple application that just loads all the data from the first file into an arraylist and does a .compare() on the arraylist as each line is read from the second csv file. Then saves the records that don't match. The application works but I would like to improve the performance. I figure I can greatly improve performance if I can take advantage of the fact that both files are sorted, but I don't know a datatype in C# that keeps order and would allow me to select a specific position. Theres a basic array, but I don't know how many items are going to be in each list. I could have over a million records. Is there a data type available that I should be looking at?
0
[ 2, 272, 5910, 1054, 4474, 26, 370, 22554, 1206, 29, 649, 60, 800, 3726, 3726, 31, 589, 749, 20, 11590, 81, 370, 1054, 3554, 18, 37, 21, 4444, 255, 25597, 9, 193, 130, 14, 4444, 255, 25597, 25, 677, 4886, 102, 17, 14, 1736, 37, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 your favourite ZX Spectrum development tools? === What are your favourite assemblers, compilers, environments, interpreters for the good old ZX Spectrum?
0
[ 2, 98, 50, 154, 7740, 2052, 396, 8815, 522, 4672, 60, 800, 3726, 3726, 98, 50, 154, 7740, 13, 13736, 1224, 15, 21486, 18, 15, 11246, 15, 19336, 18, 26, 14, 254, 315, 2052, 396, 8815, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
How do you run CMD.exe under the Local System Account? === I'm currently running Vista and I would like to manually complete the same operations as my Windows Service. Since the Windows Service is running under the Local System Account, I would like to emulate this same behavior. Basically, I would like to run CMD.EXE under the Local System Account. I found information online which suggests lauching the CMD.exe using the DOS Task Scheduler AT command, but I received a Vista warning that "due to security enhancements, this task will run at the time excepted but not interactively." Here's a sample command: AT 12:00 /interactive cmd.exe Another solution suggested creating a secondary Windows Service via the Service Control (sc.exe) which merely launches CMD.exe. C:\sc create RunCMDAsLSA binpath= "cmd" type=own type=interact C:\sc start RunCMDAsLSA In this case the service fails to start and results it the following error message: FAILED 1053: The service did not respond to the start or control request in a timely fashion. The third suggestion was to launch CMD.exe via a Scheduled Task. Though you may run scheduled tasks under various accounts, I don't believe the Local System Account is one of them. I've tried using the Runas as well, but think I'm running into the same restriction as found when running a scheduled task. Thus far, each of my attempts have ended in failure. Any suggestions?
0
[ 2, 184, 107, 42, 485, 2390, 43, 9, 1706, 62, 131, 14, 375, 329, 2176, 60, 800, 3726, 3726, 31, 22, 79, 871, 946, 13520, 17, 31, 83, 101, 20, 23671, 1279, 14, 205, 1311, 28, 51, 1936, 365, 9, 179, 14, 1936, 365, 25, 946, 131,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Where do I enter the Windows Server 2008 key after installing it? === When I installed Windows Server 2008 I didn't have the (activation) key. Now that I have it I can't find where to enter it. Anybody know?
0
[ 2, 113, 107, 31, 2830, 14, 1936, 8128, 570, 1246, 75, 25429, 32, 60, 800, 3726, 3726, 76, 31, 4066, 1936, 8128, 570, 31, 223, 22, 38, 57, 14, 13, 5, 19516, 857, 6, 1246, 9, 130, 30, 31, 57, 32, 31, 92, 22, 38, 477, 113, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
wsdl.exe Error: Unable to import binding '...' from namespace '...' === When running wsdl.exe on a wsdl I created, I get this error: Error: Unable to import binding 'SomeBinding' from namespace 'SomeNS'. - Unable to import operation 'someOperation'. - These members may not be derived. I'm using the document-literal style, and to the best of my knowledge I'm following all the rules. Anyone have similar experience and can share some advice?
0
[ 2, 619, 18, 8643, 9, 1706, 62, 7019, 45, 2343, 20, 9010, 8728, 13, 22, 9, 9, 9, 22, 37, 204, 5582, 13, 22, 9, 9, 9, 22, 800, 3726, 3726, 76, 946, 619, 18, 8643, 9, 1706, 62, 27, 21, 619, 18, 8643, 31, 679, 15, 31, 164, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Need gcc/g++ working on SCO6 === Has anyone found a way to get gcc to build/install on SCO6? With 2.95 and 4.3 I get to the point where it needs to use (2.95) or find (4.3) the assembler and that's where it fails. If anyone has figured this out I would appreciate the info! Thanks
0
[ 2, 376, 489, 3384, 118, 263, 20512, 638, 27, 11530, 379, 800, 3726, 3726, 63, 1276, 216, 21, 161, 20, 164, 489, 3384, 20, 1895, 118, 108, 21300, 27, 11530, 379, 60, 29, 172, 9, 3836, 17, 268, 9, 240, 31, 164, 20, 14, 454, 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...
'id' is a bad variable name in Python === Why is it bad to name a variable 'id' in Python?
0
[ 2, 13, 22, 1340, 22, 25, 21, 896, 7612, 204, 19, 20059, 800, 3726, 3726, 483, 25, 32, 896, 20, 204, 21, 7612, 13, 22, 1340, 22, 19, 20059, 60, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 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...
How can I use the PHP File api to write raw bytes? === I want to write a raw byte/byte stream to a position in a file. This is what I have currently: <pre> <code> $fpr = fopen($out, 'r+'); fseek($fpr, 1); //seek to second byte fwrite($fpr, 0x63); fclose($fpr); </code> </pre> This currently writes the actually string value of "99" starting at byte offset 1. IE, it writes bytes "9" and "9". I just want to write the actual one byte value 0x63 which happens to represent number 99. Thanks for your time.
0
[ 2, 184, 92, 31, 275, 14, 13, 26120, 3893, 21, 2159, 20, 2757, 4333, 34, 3231, 60, 800, 3726, 3726, 31, 259, 20, 2757, 21, 4333, 34, 591, 118, 23246, 3766, 20, 21, 649, 19, 21, 3893, 9, 48, 25, 98, 31, 57, 871, 45, 13, 1, 3...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Test framework for black box regression testing === I am looking for a tool for regression testing a suite of equipment we are building. The current concept is that you create an input file (text/csv) to the tool specifying inputs to the system under test. The tool then captures the outputs from the system and records the inputs and outputs to an output file. The output is in the same format as the original input file and can be used as an input for following runs of the tool, with the measured outputs matched with the values from the previous run. We would have to write our own interfaces to pass the commands from the tool to the equipment and to capture the output of the equipment.
0
[ 2, 1289, 6596, 26, 319, 1649, 27369, 4431, 800, 3726, 3726, 31, 589, 699, 26, 21, 5607, 26, 27369, 4431, 21, 6160, 16, 2181, 95, 50, 353, 9, 14, 866, 2420, 25, 30, 42, 1600, 40, 6367, 3893, 13, 5, 11969, 118, 6824, 710, 6, 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...
Is there an integrated Eclipse plugin to debug Jython? === [JyDT](http://www.redrobinsoftware.net/jydt/) is a good Jython Eclipse plugin. However, it doesn't allow Jython debugging in the Debug perspective. Jython provides a command-line debugger (Pdb) but it operates outside Eclipse.
0
[ 2, 25, 80, 40, 5547, 11652, 10922, 108, 20, 121, 16254, 487, 93, 11570, 60, 800, 3726, 3726, 636, 728, 93, 43, 38, 500, 5, 21127, 6903, 6483, 9, 2095, 16887, 12980, 5011, 9, 2328, 118, 728, 93, 43, 38, 118, 6, 25, 21, 254, 487...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 Testing === We are developing automated regression tests using VMWare and NUnit. We have divided tests into steps and now I would like to see each step be examined for performance regression. Simply timing the tests, as NUnit does, does not seem reliable. I have figured in a acceptance factor of about 15% but our steps can differ sometimes to over 35%. In such a resource dependent test environment is there any consistent way of testing performance? Is a "smart" timing system my only option?
0
[ 2, 956, 4431, 800, 3726, 3726, 95, 50, 3561, 14904, 27369, 4894, 568, 13, 20147, 5011, 17, 10210, 242, 9, 95, 57, 2350, 4894, 77, 2382, 17, 130, 31, 83, 101, 20, 196, 206, 1424, 44, 9005, 26, 956, 27369, 9, 1659, 11812, 14, 4894...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
SWFAddress Deeplinks and C# library? === Is there a C# class for interacting with SWFAddress deeplink URL strings (reading deeplink parameters, building SWFAddress URLs, etc.)? Planning to write one myself otherwise; but I wanted to make sure I wasn't reinventing the wheel first.
0
[ 2, 13, 18, 15263, 27950, 855, 6258, 18, 17, 272, 5910, 1248, 60, 800, 3726, 3726, 25, 80, 21, 272, 5910, 718, 26, 24747, 29, 13, 18, 15263, 27950, 855, 6258, 287, 6362, 7887, 13, 5, 22883, 855, 6258, 12905, 15, 353, 13, 18, 1526...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
When is it right for a constructor to throw an exception? === When is it right for a constructor to throw an exception? (Or in the case of Objective C: when is it right for an init'er to return nil?) It seems to me that a constructor should fail -- and thus refuse to create an object -- if the object isn't complete. I.e., the constructor should have a contract with its caller to provide a functional and working object on which methods can be called meaningfully? Is that reasonable?
0
[ 2, 76, 25, 32, 193, 26, 21, 6960, 248, 20, 3814, 40, 5391, 60, 800, 3726, 3726, 76, 25, 32, 193, 26, 21, 6960, 248, 20, 3814, 40, 5391, 60, 13, 5, 248, 19, 14, 610, 16, 7038, 272, 45, 76, 25, 32, 193, 26, 40, 19, 242, 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...
Best practice: How to handle concurrency of brower and website navigation. === It is a well known problem to every web developer. As far as I tried to find a good solution to this problem - there was none (or at least I could not find it). ###_Lets assume the following:_ **_The user does not behave, as he was expected to._** The actual project I'm working in uses a navigation within the web portal. But if the user uses the browsers back button, the whole tings becommes jeoprady and the result was not allways predictable. We used the struts framework and stored the back-url into forms - at some places, where we needed a back-url - this has been rendered out of this form's back-url. For there was only a singe field for this information and therefore it was not possible of going back multiple steps. When you change the "struts-flow" - which may result in using a **different form** - this information will be lost. If the user dares to put a **bookmark** somewhere within your webapp - this information may never have been set and again the result will again be either unpredictable or not flexible enough! **My "solution"**: I was storing every navigation-relevant page the user visited onto a **stack-like** storage into the **session**. This means a navigation-path is collected and stored for later navigations. At any page within the webapp, where back-navigations are involved I used a self-made tag wich renders the stack-content into the url. **And thats it**. When this back-url was clicked, the stack has been filled with the contet from the back-url clicked by the user (which holds all informations from the stack once the back-link was rendered). This is quite clear, because a click on a link is a clear state, where the web developer exactly knows, where the user "is" a this very moment - absolutely independant from whatever the user did before (e.g. hitting the browser back button multiple times). Then ne navigation stack is build upon this new state. **Resumé:** It commes clear, that this won't be the best solution. But it allows storing additional information on the stack like page parameters and some other usefull stuff (further developments possible). **So, what were your solutions to this problem?** cheers, mana
0
[ 2, 246, 1345, 45, 184, 20, 3053, 25547, 16, 7246, 106, 17, 2271, 8368, 9, 800, 3726, 3726, 32, 25, 21, 134, 167, 1448, 20, 352, 2741, 10058, 9, 28, 463, 28, 31, 794, 20, 477, 21, 254, 4295, 20, 48, 1448, 13, 8, 80, 23, 2369,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Commodore C64 Emulator? === I'm kind of feeling nostalgic and want to play on a C64 like I did when I was 10, but I don't have one to hand. Is there an emulator available? (Preferably with game support too)
2
[ 2, 12744, 272, 3470, 3579, 14868, 60, 800, 3726, 3726, 31, 22, 79, 825, 16, 1249, 90, 13558, 12964, 17, 259, 20, 418, 27, 21, 272, 3470, 101, 31, 144, 76, 31, 23, 332, 15, 47, 31, 221, 22, 38, 57, 53, 20, 224, 9, 25, 80, 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, 0...
WebBrowser.ScriptErrorsSuppressed not working properly === I have a .NET **2.0** WebBrowser control used to navigate some pages with no user interaction (don't ask...long story). Because of the user-less nature of this application, I have set the WebBrowser control's ScriptErrorsSuppressed property to true, which the documentation included with VS 2005 states will [...]"hide all its dialog boxes that originate from the underlying ActiveX control, not just script errors." The [MSDN article] [1] doesn't mention this, however. I have managed to cancel the NewWindow event, which prevents popups, so that's taken care of. Anyone have any experience using one of these and successfully blocking **all** dialogs, script errors, etc? [1]: http://msdn.microsoft.com/en-us/library/system.windows.forms.webbrowser.scripterrorssuppressed(VS.80).aspx
0
[ 2, 10192, 5417, 4104, 9, 8741, 29992, 18, 18, 576, 5890, 69, 52, 638, 7428, 800, 3726, 3726, 31, 57, 21, 13, 9, 2328, 13, 1409, 135, 9, 387, 1409, 10192, 5417, 4104, 569, 147, 20, 20782, 109, 4434, 29, 90, 4155, 7754, 13, 5, 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...
Sql Server compatibility mode === Were currently running a server on Compatability mode 8 and I want to update it. - What are the implications of just going in and changing it? - What is likely to break? - Is there anything that checks the data will survive before I perform it? - Can I rollback to mode 8 without performing a restore and without loss of data?
0
[ 2, 4444, 255, 8128, 13, 21618, 3740, 800, 3726, 3726, 46, 871, 946, 21, 8128, 27, 6479, 721, 4091, 3740, 469, 17, 31, 259, 20, 11100, 32, 9, 13, 8, 98, 50, 14, 14747, 16, 114, 228, 19, 17, 4226, 32, 60, 13, 8, 98, 25, 1720, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 create a security architecture? === I'm designing a portal's security architecture. The site has pages, videos, pictures, users, databases, file system objects, etc. What is the best way to control access to all of these objects? How would you store permissions? Is a 64-bit database variable enough for storing permissions? E.g. Windows employs [ACLs][1] and [SIDs][2]. Do you have a more up-to-date solution? [1]: http://en.wikipedia.org/wiki/Access_control_list [2]: http://en.wikipedia.org/wiki/Security_Identifier
0
[ 2, 98, 25, 14, 246, 161, 20, 1600, 21, 1221, 2607, 60, 800, 3726, 3726, 31, 22, 79, 15026, 21, 8281, 22, 18, 1221, 2607, 9, 14, 689, 63, 4434, 15, 6610, 15, 3104, 15, 3878, 15, 6018, 18, 15, 3893, 329, 3916, 15, 2722, 9, 98,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 specification-based testing framework for .Net 2.0? === For example, [Reductio](http://reductiotest.org/) (for Java/Scala) and [QuickCheck](http://www.cs.chalmers.se/~rjmh/QuickCheck/) (for Haskell). The kind of framework I'm thinking of would provide "generators" for built-in data types and allow the programmer to define new generators. Then, the programmer would define a property of the method in question, taking variables of the appropriate types as parameters. The framework then generates a bunch of random data for the parameters, and runs hundreds of tests of that method. For example, if I implemented a Vector class, and it had an add() method, I might want to check that my addition commutes. So I would write something like (in pseudocode): boolean testAddCommutes(Vector v1, Vector v2) { return v1.add(v2).equals(v2.add(v1)); } If I provide a way to generate random Vectors, the framework would let me run testAddCommutes with hundreds of different inputs. Does this ring a bell for anyone?
0
[ 2, 25, 80, 21, 14177, 8, 1281, 4431, 6596, 26, 13, 9, 2328, 172, 9, 387, 60, 800, 3726, 3726, 26, 823, 15, 636, 99, 9351, 1963, 500, 5, 21127, 6903, 99, 9351, 1963, 10543, 9, 5583, 118, 6, 13, 5, 1106, 8247, 118, 18, 3430, 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...
Java Applet - Partially Signed? === Is it possible to sign only part of an applet? Ie, have an applet that pops up no security warnings about being signed, but if some particular function is used (that requires privileges) then use the signed jar? From what I can tell, some (perhaps most) browsers will pop up the warning for a signed applet even if you don't request privileges at all at execution time. I'd rather avoid that if possible.
0
[ 2, 8247, 4037, 38, 13, 8, 5933, 908, 60, 800, 3726, 3726, 25, 32, 938, 20, 1676, 104, 141, 16, 40, 4037, 38, 60, 13, 660, 15, 57, 40, 4037, 38, 30, 1675, 18, 71, 90, 1221, 3590, 18, 88, 142, 908, 15, 47, 100, 109, 1498, 19...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...