unified_texts
stringlengths
32
30.1k
OpenStatus_id
int64
0
4
input_ids
list
token_type_ids
list
attention_mask
list
Java, Alfresco Web Service API and Unicode NamedValues === I'm using Java for accessing Alfresco content server via it's web service API for importing some content into it. Content should have some NamedValue properties set to UTF-8(cyrillic) string. I keep getting the Sax parser exception: org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x1b) was found in the element content of the document. The code looks something like this: NamedValue[] namedValueProperties = new NamedValue[2]; namedValueProperties[0] = Utils.createNamedValue(Constants.PROP_NAME, name ); namedValueProperties[1] = Utils.createNamedValue("{my.custom.model}myProperty", "CYRILLIC STRING!"); CMLCreate create = new CMLCreate("1", parentReference, null, null, null, documentType, namedValueProperties); CML cml = new CML(); cml.setCreate(new CMLCreate[]{create}); UpdateResult[] results = null; try { results = WebServiceFactory.getRepositoryService().update(cml); } catch (...) Here comes the "org.xml.sax.SAXParseException" } Does anyone know how to solve this problem?
0
[ 2, 8247, 15, 14307, 99, 8328, 2741, 365, 21, 2159, 17, 28010, 377, 15165, 18, 800, 3726, 3726, 31, 22, 79, 568, 8247, 26, 1381, 68, 14307, 99, 8328, 2331, 8128, 1197, 32, 22, 18, 2741, 365, 21, 2159, 26, 9010, 68, 109, 2331, 77,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Changing the width of a Windows console window? === Is it possible to programatically, or otherwise, increase the width of the Windows console window? Or do I need to create a wrapper program that looks and acts like the console somehow? Are there any programs around that do this already? I use cygwin extensively in my development, and it seems a little rediculous to me that all console windows in Windows are width limited. If it matters at all, I'm running Windows XP.
0
[ 2, 4226, 14, 9456, 16, 21, 1936, 8650, 1463, 60, 800, 3726, 3726, 25, 32, 938, 20, 625, 721, 8438, 15, 54, 3190, 15, 1839, 14, 9456, 16, 14, 1936, 8650, 1463, 60, 54, 107, 31, 376, 20, 1600, 21, 28051, 625, 30, 1879, 17, 3167,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Threading Techniques & Concepts in Java === *When using threads I sometimes visualise them as weaving together 3 or more dimensional interconnections between Objects in a Spatial context. This isn't a general use case scenario, but for what I do it is a useful way to think about it.* ###Are there any APIs which you use which aid threading? ###Have you used threads in a manner which doesn't conceptualise as thread being a process?
0
[ 2, 9322, 68, 4212, 279, 8700, 19, 8247, 800, 3726, 3726, 1637, 3185, 568, 20396, 31, 1030, 3458, 2628, 105, 28, 17909, 429, 203, 54, 91, 13, 7865, 21087, 5757, 128, 3916, 19, 21, 14472, 4141, 9, 48, 2532, 22, 38, 21, 297, 275, 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...
jQuery animate backgroundColor === I am trying to animate a change in backgroundColor using jQuery on mouseover. I have checked some example and I seem to have it right, it works with other properties like fontSize, but with backgroundColor I get and "Invalid Property" js error. The element I am working with is a div. $(".usercontent").mouseover(function() { $(this).animate({ backgroundColor: "olive" }, "slow"); }); Any ideas?
0
[ 2, 487, 8190, 93, 14487, 591, 2395, 11282, 800, 3726, 3726, 31, 589, 749, 20, 14487, 591, 21, 753, 19, 2395, 11282, 568, 487, 8190, 93, 27, 7567, 2549, 9, 31, 57, 6505, 109, 823, 17, 31, 2260, 20, 57, 32, 193, 15, 32, 693, 29,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
The Best Free .Net DataGrid? === Which and why is the best free .Net Datagrid?
4
[ 2, 14, 246, 551, 13, 9, 2328, 1054, 16375, 60, 800, 3726, 3726, 56, 17, 483, 25, 14, 246, 551, 13, 9, 2328, 1054, 16375, 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, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
How can I pull artifacts from TeamCity? === I would like to pull artifacts from teamcity. I've been trying to use c# and the HtmlAgilityPack to goto the website and find the latest version and its artifacts. I'm currently stuck at the login, I think I just need to be sending Session Cookies out. Am I going in the right direction, has anyone else tried this? I realize that pushing files out with the build scripts is easy but I'd like to minimize changes to the Ant,NAnt files since I'm looking at scaling this to 100 apps.
0
[ 2, 184, 92, 31, 2201, 10996, 37, 173, 5788, 60, 800, 3726, 3726, 31, 83, 101, 20, 2201, 10996, 37, 173, 5788, 9, 31, 22, 195, 74, 749, 20, 275, 272, 5910, 17, 14, 13, 15895, 3302, 20901, 8573, 20, 330, 111, 14, 2271, 17, 477, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Ruby: builtin do ... while ? === Ruby has a wealth of conditional constructs, including `if`/`unless`, `while`/`until` etc. However, I can't seem to find a *built-in* equivalent in Ruby for a C-like block: do { ... } while(condition) Any suggestions?
0
[ 2, 10811, 45, 392, 108, 107, 13, 9, 9, 9, 133, 13, 60, 800, 3726, 3726, 10811, 63, 21, 6141, 16, 21206, 6960, 18, 15, 215, 13, 1, 821, 1, 118, 1, 22731, 1, 15, 13, 1, 10144, 1, 118, 1, 12772, 1, 2722, 9, 207, 15, 31, 92,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Page Lifecycle - Using FindControl to reference a control created programatically during page load === I'm creating some text boxes on my form programatically which I need to reference later using FindControl. I've put the FindControl instruction in the page load method after the code which creates them but get an error: "Object reference not set to an instance of an object." I assume this is because the textbox controls are not created until later in the lifecycle and therefore cannot be referenced from within Page_Load. Can someone advise where in my code-behind I would need to place the FindControl instruction so that it can find these programatically created text boxes?
0
[ 2, 2478, 201, 12467, 13, 8, 568, 477, 12898, 20, 2801, 21, 569, 679, 625, 721, 8438, 112, 2478, 6305, 800, 3726, 3726, 31, 22, 79, 2936, 109, 1854, 8120, 27, 51, 505, 625, 721, 8438, 56, 31, 376, 20, 2801, 138, 568, 477, 12898, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Deploying gems to a different platform === I have a Rails app that I need to deploy. Here are the facts: * The app was developed on Windows and requires Windows binary gems * The app is to be deployed onto a Solaris shared server * I do not have permissions to install gems on the server So my question is, how do I get the gems I need onto my production server?
0
[ 2, 17617, 68, 8551, 18, 20, 21, 421, 2452, 800, 3726, 3726, 31, 57, 21, 2240, 18, 4865, 30, 31, 376, 20, 17617, 9, 235, 50, 14, 10459, 45, 1637, 14, 4865, 23, 885, 27, 1936, 17, 4781, 1936, 14171, 8551, 18, 1637, 14, 4865, 25,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Drag and drop in winapi === I have a pure Winapi application that needs a few new features. One of them would best be implemented as two lists where you can drag-and-drop (multiple) elements between the lists. The new feature can be limited to a single dialog. What would be the quickest way to implement this? A few ideas: * Pure Winapi (is it DetectDrag) * A separate MFC or .NET DLL that provides this one dialog * Embed the Microsoft WebBrowser Control and use JQuery Any of these options that should be avoided? Any better ideas? What is quickest to implement? Any pointers on how to get started?
0
[ 2, 5501, 17, 2804, 19, 628, 2552, 49, 800, 3726, 3726, 31, 57, 21, 4267, 628, 2552, 49, 3010, 30, 2274, 21, 310, 78, 967, 9, 53, 16, 105, 83, 246, 44, 6807, 28, 81, 7227, 113, 42, 92, 5501, 8, 290, 8, 12361, 13, 5, 21531, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 go about mocking a class with final methods? === Say I have class A with class A { final String foo() { // .. computing result, contacting database, whatever .. return "some computed value"; } // ... and a bazillion other methods, some of them final. } Now I have class B with class B { String methodIWantToTest(A a) { String output = a.foo(); // ... whatever this method does, e.g.: output += "_suffix"; return output; } } How would I go about unit testing this method? The reason `foo()` is final is because we don't want our classes which extend A to change its functionality. But at the same time to truly unit test the method, I don't want it to reach out and run the actual `A.foo()` method. Is there a way to, say, remove the final keyword and add an annotation along the lines of `@finalUnlessTest`? What would you recommend? Refactoring A to an interface would be very, very difficult, seeing as how it's one of our central classes and is unfortunately <s>pretty</s> extremely coupled.
0
[ 2, 184, 20, 162, 88, 18446, 21, 718, 29, 426, 3195, 60, 800, 3726, 3726, 395, 31, 57, 718, 21, 29, 718, 21, 13, 1, 426, 3724, 4310, 111, 5, 6, 13, 1, 12894, 13, 9, 9, 10626, 829, 15, 2203, 68, 6018, 15, 2099, 13, 9, 9, 7...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Is there a way to see if a character is using 1 or 2 bytes in Delphi 2009? === Delphi 2009 has changed its string type to use 2 bytes to represent a character, which allows support for unicode char sets. Now when you get sizeof(string) you get length(String) * sizeof(char) . Sizeof(char) currently being 2. What I am interested in is whether anyone knows of a way which on a character by character basis it is possible to find out if it would fit in a single byte, eg find out if a char is ascii or Unicode. Thanks
0
[ 2, 25, 80, 21, 161, 20, 196, 100, 21, 925, 25, 568, 137, 54, 172, 34, 3231, 19, 23030, 588, 60, 800, 3726, 3726, 23030, 588, 63, 1015, 82, 3724, 1001, 20, 275, 172, 34, 3231, 20, 3501, 21, 925, 15, 56, 2965, 555, 26, 28010, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Guidelines for asp.net website loading estimation? === I wonder if there is any good guideline for system administrators to calculate the resources needed to host an ASP.NET website? I want to do some estimates on the processing power needed so I know what kind of VPS/Cloud I need to get.
0
[ 2, 12629, 26, 28, 306, 9, 2328, 2271, 12797, 25390, 60, 800, 3726, 3726, 31, 2666, 100, 80, 25, 186, 254, 3378, 1143, 26, 329, 18618, 20, 18469, 14, 2566, 851, 20, 2015, 40, 28, 306, 9, 2328, 2271, 60, 31, 259, 20, 107, 109, 1...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Initialise A Variable With The Output Of A Stored Procedure In MS SQL Server === I have created the following stored procedure.. CREATE PROCEDURE [dbo].[UDSPRBHPRIMBUSTYPESTARTUP] ( @CODE CHAR(5) , @DESC VARCHAR(255) OUTPUT ) AS DECLARE @SERVERNAME nvarchar(30) DECLARE @DBASE nvarchar(30) DECLARE @SQL nvarchar(2000) SET @SERVERNAME = Convert(nvarchar, (SELECT spData FROM dbSpecificData WHERE spLookup = 'CMSSERVER')) SET @DBASE = Convert(nvarchar, (SELECT spData FROM dbSpecificData WHERE spLookup = 'CMSDBNAME')) SET @SQL = 'SELECT clnt_cat_desc FROM ' + @SERVERNAME + '.' + @DBASE + '.dbo.hbl_clnt_cat WHERE inactive = ''N'' AND clnt_cat_code = ''' + @CODE + '''' EXECUTE sp_executeSQL @SQL RETURN This procedure is used in many different databases and many different servers and is written as dynamic SQL to simplify maintenance. The procedure also runs on a different server than the one the procedure points to. I want to use the output of this procedure as a value in a table... DECLARE @clid BIGINT DECLARE @fileid BIGINT DECLARE @myCode CHAR(5) DECLARE @myDesc VARCHAR(255) DECLARE @@tempDesc VARCHAR(255) SET @clid = 1831400022 SET @fileid = 2072551358 SET @myCode = (SELECT _clientPrimBusinessType FROM udbhextclient WHERE clid = @clid) SET @myDesc = EXEC UDSPRBHPRIMBUSTYPESTARTUP @CODE = @myCode, @DESC = @@tempDesc OUTPUT ---------------------------------------------------------------------------- SELECT a.clid , b.fileid , c.usrfullname AS ClientPartner , e.usrfullname AS ClientFeeEarner , @myDesc AS ClientPrimaryBusinessType FROM dbclient a INNER JOIN dbFile b ON a.clid = b.clid INNER JOIN dbuser c ON a.feeusrid = c.usrid INNER JOIN udbhextclient d ON a.clid = d.clid INNER JOIN dbuser e ON d._ClientFeeEarner = e.usrid WHERE a.clid = @clid AND b.fileid = @fileid I know this is the incorrect syntax, but you can see what I am trying to achieve this without resorting to temporary tables as this would mean maintenance across 30 different servers with 3 to 5 databases on each.
0
[ 2, 2104, 2628, 21, 7612, 29, 14, 5196, 16, 21, 8214, 7004, 19, 4235, 4444, 255, 8128, 800, 3726, 3726, 31, 57, 679, 14, 249, 8214, 7004, 9, 9, 1600, 7004, 636, 43, 1192, 500, 9, 2558, 3192, 18, 4899, 6216, 6944, 79, 3822, 4474, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 parse an INI file in Java? === I am writing a drop-in replacement for a legacy application in Java. One of the requirements is that the ini files that the older application used have to be read as-is into the new Java Application. The format of this ini files is the common windows style, with header sections and key=value pairs, using # as the character for commenting. I tried using the Properties class from Java, but of course that won't work if there is name clashes between different headers. So the question is, what would be the easiest way to read in this INI file and access the keys?
0
[ 2, 98, 25, 14, 27237, 161, 20, 2017, 870, 40, 19, 49, 3893, 19, 8247, 60, 800, 3726, 3726, 31, 589, 1174, 21, 2804, 8, 108, 4610, 26, 21, 7780, 3010, 19, 8247, 9, 53, 16, 14, 4786, 25, 30, 14, 19, 49, 6488, 30, 14, 1234, 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...
Has anyone used (or considered using) Sql Server Compact Edition 3.5? === I've been preparing to deliver a presentation on SQL Server Compact Edition 3.5 (SP1 - recently released) and I was wondering if anyone had designed (or contemplated designing) a system with SQL Server CE 3.5? In particular, has anyone thought of (or experienced) using SQLCE as a solution for offline data storage (as part of a connected system design)? Version 3.5 looks to be pretty feature rich compared to its predecessors, is it ready for serious consideration (now that it supports LINQ to SQL, identity columns and an assortment of important T-SQL)? Would you consider using it if you had the need for a lightweight low-footprint file based database (especially if it needed to be supported on mobile devices and desktop systems), or are there better options?
0
[ 2, 63, 1276, 147, 13, 5, 248, 724, 568, 6, 4444, 255, 8128, 8285, 1322, 203, 9, 264, 60, 800, 3726, 3726, 31, 22, 195, 74, 7575, 20, 5879, 21, 6364, 27, 4444, 255, 8128, 8285, 1322, 203, 9, 264, 13, 5, 3401, 165, 13, 8, 1989...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How should I configure Jetty 7 pre3 to use oracle JDBC source? === All stuff is running under Windows XP Pro SP2/32-bit. I have resource-ref in my web.xml: <resource-ref> <description>dev datasource</description> <res-ref-name>jdbc/dev</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>Container</res-auth> </resource-ref> and did configuration in jetty.xml: <Call name="addLifeCycle"> <Arg> <New id="dev" class="org.mortbay.jetty.plus.naming.Resource"> <Arg>jdbc/dev</Arg> <Arg> <New class="oracle.jdbc.pool.OracleConnectionPoolDataSource"> <Set name="User">username</Set> <Set name="URL">jdbc:oracle:thin:@10.201.201.64:1521:DEV</Set> <Set name="Password">password</Set> </New> </Arg> </New> </Arg> </Call> Whenever I run Jetty-Service.exe, I get following output with IllegalStateException: wrapper | --> Wrapper Started as Console wrapper | Launching a JVM... jvm 1 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org jvm 1 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved. jvm 1 | jvm 1 | ARG[0] = ../etc/jetty-win32-service.xml jvm 1 | ARG[1] = ../etc/jetty.xml jvm 1 | 2008-10-10 12:16:51.982::INFO: Logging to STDERR via org.mortbay.log.StdErrLog jvm 1 | 2008-10-10 12:16:51.264::WARN: Config error at <Call name="addLifeCycle"><Arg> jvm 1 | <New id="dev" class="org.mortbay.jetty.plus.naming.Resource"><Arg>jdbc/dev</Arg><Arg> jvm 1 | <New class="oracle.jdbc.pool.OracleConnectionPoolDataSource"><Set name="User">username</Set><Set name="URL">jdbc:oracle:thin:@10.201.201.64:1521:DEV</Set><Set name="Password"> password</Set></New> jvm 1 | </Arg></New> jvm 1 | </Arg></Call> jvm 1 | 2008-10-10 12:16:51.264::WARN: EXCEPTION jvm 1 | java.lang.IllegalStateException: No Method: <Call name="addLifeCycle"><Arg> jvm 1 | <New id="dev" class="org.mortbay.jetty.plus.naming.Resource"><Arg>jdbc/dev</Arg><Arg> jvm 1 | <New class="oracle.jdbc.pool.OracleConnectionPoolDataSource"><Set name="User">username</Set><Set name="URL">jdbc:oracle:thin:@10.201.201.64:1521:DEV</Set><Set name="Password"> password</Set></New> jvm 1 | </Arg></New> jvm 1 | </Arg></Call> on class org.mortbay.jetty.Server jvm 1 | at org.mortbay.xml.XmlConfiguration.call(XmlConfiguration.java:561) jvm 1 | at org.mortbay.xml.XmlConfiguration.configure(XmlConfiguration.java:252) jvm 1 | at org.mortbay.xml.XmlConfiguration.configure(XmlConfiguration.java:214) jvm 1 | at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:971) jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) jvm 1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) jvm 1 | at java.lang.reflect.Method.invoke(Unknown Source) jvm 1 | at org.mortbay.start.Main.invokeMain(Main.java:218) jvm 1 | at org.mortbay.start.Main.start(Main.java:564) jvm 1 | at org.mortbay.start.Main.main(Main.java:136) jvm 1 | at org.mortbay.jetty.win32service.JettyServiceWrapperListener.start(JettyServiceWrapperListener.java:33) jvm 1 | at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788) jvm 1 | 2008-10-10 12:16:51.358::INFO: Shutdown hook executing jvm 1 | 2008-10-10 12:16:51.358::INFO: Shutdown hook complete jvm 1 | JettyServiceWrapperListener: Stopping Jetty 6 Service!!! jvm 1 | Stop Server Error jvm 1 | java.lang.NullPointerException jvm 1 | at org.mortbay.jetty.win32service.JettyServiceWrapperListener.stop(JettyServiceWrapperListener.java:42) jvm 1 | at org.tanukisoftware.wrapper.WrapperManager.privilegedStopInner(WrapperManager.java:3180) jvm 1 | at org.tanukisoftware.wrapper.WrapperManager.access$2600(WrapperManager.java:103) jvm 1 | at org.tanukisoftware.wrapper.WrapperManager$8.run(WrapperManager.java:1995) jvm 1 | at java.security.AccessController.doPrivileged(Native Method) jvm 1 | at org.tanukisoftware.wrapper.WrapperManager.stop(WrapperManager.java:1992) jvm 1 | at org.tanukisoftware.wrapper.WrapperManager$2.run(WrapperManager.java:467) wrapper | <-- Wrapper Stopped What's wrong? How should I configure JNDI properly for Jetty 7 pre3?
0
[ 2, 184, 378, 31, 1065, 15951, 17341, 93, 453, 782, 240, 20, 275, 15759, 487, 43, 7229, 1267, 60, 800, 3726, 3726, 65, 3217, 25, 946, 131, 1936, 23045, 895, 3782, 9298, 3125, 8, 3326, 9, 31, 57, 6577, 8, 14057, 19, 51, 2741, 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...
Has anyone managed to build any application with the LinkedIn API === LinkedIn are very cautious of applications using their APIs. I have tried and failed to get access to them. Has anyone actually built any real application with them yet? If yes, what strategy did you employ to get access to their API? BTW I am talking about first class value added applications on top of LinkedIn, not just embedding hyperlinks.
0
[ 2, 63, 1276, 1471, 20, 1895, 186, 3010, 29, 14, 4727, 108, 21, 2159, 800, 3726, 3726, 4727, 108, 50, 253, 19747, 16, 3767, 568, 66, 21, 8954, 9, 31, 57, 794, 17, 1702, 20, 164, 1381, 20, 105, 9, 63, 1276, 1121, 392, 186, 683, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
What's the cheapest mac development box possible? === Simple question really, I would like to learn some cocoa, primarily for playing around with the Iphone SDK, but first i need a mac. Mac's are expensive, but I don't know at what point an old mac moves from a bargain to a doorstop. - How cheap and old can I go to have an ok mac development machine? - Is there any other way to have a good dev machine for the platform without buying a mac and without doing illegal virtualization / dual booting of OSx86? - Is virtualizing a real purchased OSX legal? - What Virtual Machines will run it? Thanks in advance all.
0
[ 2, 98, 22, 18, 14, 9148, 1430, 1572, 522, 1649, 938, 60, 800, 3726, 3726, 1935, 1301, 510, 15, 31, 83, 101, 20, 2484, 109, 24507, 15, 2257, 26, 791, 140, 29, 14, 21024, 13, 18, 43, 197, 15, 47, 64, 31, 376, 21, 1572, 9, 1572...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
LINQ to SQL and Concurrency Issues === We are trying to build a High-Volume Orders Record System. There are three primary tables: 1. Orders 2. OrderDetails 3. OrderShipment The Shipment table contains n record per order and any record shipment entry can be changed before the Customer accepts th order, after which it is frozen. (A business requirement) Although this may not happen in real world scenarios... during our load tests, we are getting System.Data.Linq.ChangeConflictException exceptions. Wrapping up the submit inside a transacion is not helping either. Can't we force LINQ to get a lock on the row for the entire duration of the update operation? Is there any other way to get over this? Kind regards, Ashish Sharma
0
[ 2, 6294, 1251, 20, 4444, 255, 17, 25547, 1549, 800, 3726, 3726, 95, 50, 749, 20, 1895, 21, 183, 8, 15949, 3204, 571, 329, 9, 80, 50, 132, 1256, 7484, 45, 137, 9, 3204, 172, 9, 389, 546, 8682, 18, 203, 9, 389, 2418, 1130, 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...
Need only some rows in a CListCtrl control to have check boxes === I'm using a CListCtrl control to display information in my MFC app. At the moment I have LVS_EX_CHECKBOXES set in SetExtendedStyle so all rows in the control have a checkbox next to them. What I would like however is that only some of the rows in the control have checkboxes. Is this possible ? If it is how is this done ? Thanks Ian
0
[ 2, 376, 104, 109, 11295, 19, 21, 272, 5739, 4812, 6362, 569, 20, 57, 2631, 8120, 800, 3726, 3726, 31, 22, 79, 568, 21, 272, 5739, 4812, 6362, 569, 20, 3042, 676, 19, 51, 307, 7061, 4865, 9, 35, 14, 688, 31, 57, 13, 8916, 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...
pre-commit code review with subversion === I'd like to have such scenario: I have a subversion repository and lots of folks committing to it. For some of them I prefer looking at their code first, before allowing them to submit their code. There are many good code-review tools, but none actually allows me to easy support this workflow: * Edit your code. * Easily submit your code from within your-tool-of-choice (i.e. Eclipse) to review system. * Have the code approved by someone else in review system. * Submit the code. Repository will revoke it if it's not approved. I want to avoid situations when people have to create diffs, send them to me over email, I will have to patch them... That should be a usable, intutive workflow that does not add overhead to having your code reviewed. Any suggestions?
0
[ 2, 782, 8, 960, 5130, 1797, 1487, 29, 972, 10898, 800, 3726, 3726, 31, 22, 43, 101, 20, 57, 145, 12705, 45, 31, 57, 21, 972, 10898, 24869, 17, 7503, 16, 14563, 19524, 20, 32, 9, 26, 109, 16, 105, 31, 6369, 699, 35, 66, 1797, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Read colors of image with Python (GAE) === How can I read the colors of an image with python using google app engine? **Example:** I like to build a function to determine the most striking colors of an image to set a harmonic background color for it.
0
[ 2, 1302, 5268, 16, 1961, 29, 20059, 13, 5, 17721, 6, 800, 3726, 3726, 184, 92, 31, 1302, 14, 5268, 16, 40, 1961, 29, 20059, 568, 8144, 4865, 1406, 60, 13, 1409, 29041, 45, 1409, 31, 101, 20, 1895, 21, 1990, 20, 3746, 14, 127, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
When is loop unwinding effective? === [Loop unwinding][1] is a common way to help the compiler to optimize performance. I was wondering if and to what extent the performance gain is affected by what is in the body of the loop: 1. number of statements 2. number of function calls 3. use of complex data types, virtual methods, etc. 4. dynamic (de)allocation of memory What rules (of thumb?) do you use to decide whether or not to unwind a performance critical loop? What other optimisation do you consider in these cases? [1]: http://en.wikipedia.org/wiki/Loop_unwinding
0
[ 2, 76, 25, 5293, 367, 7809, 68, 3140, 60, 800, 3726, 3726, 636, 18786, 367, 7809, 68, 500, 2558, 165, 500, 25, 21, 757, 161, 20, 448, 14, 21486, 20, 22864, 956, 9, 31, 23, 5712, 100, 17, 20, 98, 5674, 14, 956, 3288, 25, 4114, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How to use Process Monitor to Resolve an UnauthorizedAccessException. === I'm trying to write a log file from an ASP.NET application under IIS7, but keep getting the following exception: UnauthorizedAccessException "Access to the path 'C:\Users\Brady\Exports' is denied." I've been advised to use [Process Monitor][1] to help resolve this, but it's quite a complex tool, and I really don't have time to spend exploring it. Please can someone assist me and advise how to use PM to determine which user is trying to access the folder etc. [1]: http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx
0
[ 2, 184, 20, 275, 953, 7626, 20, 9854, 40, 25881, 20604, 10066, 872, 9, 800, 3726, 3726, 31, 22, 79, 749, 20, 2757, 21, 6738, 3893, 37, 40, 28, 306, 9, 2328, 3010, 131, 595, 18, 465, 15, 47, 643, 1017, 14, 249, 5391, 45, 25881,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Best way to maintain a customer' account balance. === Is it better to have a field in the database that stores the customers account balance or use views and queries to generate the information.
0
[ 2, 246, 161, 20, 4027, 21, 7705, 22, 2176, 4468, 9, 800, 3726, 3726, 25, 32, 574, 20, 57, 21, 575, 19, 14, 6018, 30, 4134, 14, 5279, 2176, 4468, 54, 275, 4146, 17, 9386, 2829, 20, 7920, 14, 676, 9, 3, 0, 0, 0, 0, 0, 0, 0...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
is_a? and dRuby objects === I'm working with dRuby and basicly I'm calling a remote method that returns me an object. In the clientside I have this code: handle_error(response) if response.is_a?(Error) where response is the DRbObject. (I've developed this code before using dRuby and I'm returning an Error object if something went wrong). The problem is that now response.is_a?(Error) comes back with "false" because the object is actually a DRbObject. Any idea on how I can check the class of my application object? Thanks! Roberto
0
[ 2, 25, 1, 58, 60, 17, 15708, 779, 3916, 800, 3726, 3726, 31, 22, 79, 638, 29, 15708, 779, 17, 2125, 102, 31, 22, 79, 2555, 21, 5388, 2109, 30, 4815, 55, 40, 3095, 9, 19, 14, 6819, 1416, 31, 57, 48, 1797, 45, 3053, 1, 29992, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Oracle - How does transaction, rollback segment and the undo_retention parameter work ? === I'm no DBA, and I'm having a bit of a hard time understanding Oracle's transaction management process. From what I understood by reading some reliable-looking pages on the Internet (most notably this <a href="http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:275215756923">AskTom note</a> -- but don't bother with the comments), when a transaction is commited, the new data is <b>not</b> reported on the actual data block yet, but stays logged on the rollback segment. When someone issues a SELECT on the data, or when UNDO_RETENTION seconds have passed -- whichever of these two events happens first --, the new data is then (and only then) written on the data blocks. But someone in our company, supposedly in the know, recently told me the opposite : according to him, when a transaction is commited, the new data <b>is</b> immediately written on the data blocks, and the rollback segment/undo tablespace keeps the old data for a duration of UNDO_RETENTION seconds. This old data stays available during this time for access by queries launched on SCNs prior to the transaction. So, what really happens inside Oracle, and can you provide references to back up your reply ? We're using Oracle 9.2.0.8. Thanks in advance.
0
[ 2, 15759, 13, 8, 184, 630, 12799, 15, 3001, 1958, 5631, 17, 14, 367, 537, 1, 99, 1316, 3309, 18906, 170, 13, 60, 800, 3726, 3726, 31, 22, 79, 90, 13, 43, 969, 15, 17, 31, 22, 79, 452, 21, 1142, 16, 21, 552, 85, 3260, 15759, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Creating your own Tinyurl style uid === I'm writing a small article on humanly readable alternatives to Guids/UIDs, for example those used on TinyURL for the url hashes (which are often printed in magazines, so need to be short). The simple uid I'm generating is - 6 characters: either a lowercase letter (a-z) or 0-9. "According to my calculations captain", that's 6 mutually exclusive events, although calculating the probability of a clash gets a little harder than P(A or B) = P(A) + P(B), as obviously it includes numbers and from the code below, you can see it works out whether to use a number or letter using 50/50. I'm interested in the clash rate and if the code below is a realistic simulation of anticipated clash rate you'd get from generating a hash. On average I get 40-50 clashes per million, however bare in mind the uid wouldn't be generated a million times at once, but probably only around 10-1000 times a minute. What is the probability of a clash each time, and can anyone suggest a better way of doing it? static Random _random = new Random(); public static void main() { // Size of the key, 6 HashSet<string> set = new HashSet<string>(); int clashes = 0; for (int n=0;n < 1000000;n++) { StringBuilder builder = new StringBuilder(); for (int i =0;i < 7;i++) { if (_random.NextDouble() > 0.5) { builder.Append((char)_random.Next(97,123)); } else { builder.Append(_random.Next(0,9).ToString()); } } if (set.Contains(builder.ToString())) { clashes++; Console.WriteLine("clash: (" +n+ ")" +builder.ToString()); } set.Add(builder.ToString()); _random.Next(); //Console.Write(builder.ToString()); } Console.WriteLine("Clashes: " +clashes); Console.ReadLine(); }
0
[ 2, 2936, 154, 258, 3228, 911, 255, 1034, 287, 1340, 800, 3726, 3726, 31, 22, 79, 1174, 21, 284, 2002, 27, 585, 102, 1302, 579, 2676, 18, 20, 9457, 43, 18, 118, 291, 9178, 15, 26, 823, 273, 147, 27, 3228, 911, 255, 26, 14, 287,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
MySQL: Select N rows, but with only unique values in one column === Given this data set: ID Name City Birthyear 1 Egon Spengler New York 1957 2 Mac Taylor New York 1955 3 Sarah Connor Los Angeles 1959 4 Jean-Luc Picard La Barre 2305 5 Ellen Ripley Nostromo 2092 6 James T. Kirk Riverside 2233 7 Henry Jones Chicago 1899 I need to find the 3 oldest persons, but only one of every city. If it would just be the three oldest, it would be... * Henry Jones / Chicago * Mac Taylor / New York * Egon Spengler / New York However since both Egon Spengler and Mac Taylor are located in New York, Egon Spengler would drop out and the next one (Sarah Connor / Los Angeles) would come in instead. Any elegant solutions? Note: This is related to... * [Selecting unique rows in a set of two possibilities][1] * [SQL Query to get latest price][2] [1]: http://stackoverflow.com/questions/150610/selecting-unique-rows-in-a-set-of-two-possibilities [2]: http://stackoverflow.com/questions/49404/sql-query-to-get-latest-price
0
[ 2, 51, 18, 22402, 45, 5407, 13, 103, 11295, 15, 47, 29, 104, 2619, 4070, 19, 53, 4698, 800, 3726, 3726, 504, 48, 1054, 309, 45, 4924, 204, 136, 2208, 731, 137, 12784, 103, 13, 18, 3014, 15384, 78, 305, 3360, 172, 1572, 2505, 78,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Do I need to worry about the String Constant Pool? === I have a Java application that's very String-heavy - it takes a feed of huge numbers of big, different String objects. Do I need to worry about the String Constant Pool for memory and performance? Is there any way to see how big the pool is at any point?
0
[ 2, 107, 31, 376, 20, 3189, 88, 14, 3724, 3587, 3067, 60, 800, 3726, 3726, 31, 57, 21, 8247, 3010, 30, 22, 18, 253, 3724, 8, 19870, 13, 8, 32, 1384, 21, 4063, 16, 2329, 2116, 16, 580, 15, 421, 3724, 3916, 9, 107, 31, 376, 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...
setting ruby hash .default to a list === i thought i understood what the default method does to a hash... give a default value for a key if it doesn't exist irb(main):001:0> a = {} => {} irb(main):002:0> a.default = 4 => 4 irb(main):003:0> a[8] => 4 irb(main):004:0> a[9] += 1 => 5 irb(main):005:0> a => {9=>5} all good. but if i set the default to be a empty list, or empty hash, i dont understand it's behaviour at **all**.... irb(main):001:0> a = {} => {} irb(main):002:0> a.default = [] => [] irb(main):003:0> a[8] << 9 => [9] # great! irb(main):004:0> a => {} # ?! would have expected {8=>[9]} irb(main):005:0> a[8] => [8] # awesome! irb(main):006:0> a[9] => [9] # unawesome! shouldn't this be [] ?? i was hoping / expecting the same behaviour as if i had used the ||= operator... irb(main):001:0> a = {} => {} irb(main):002:0> a[8] ||= [] => [] irb(main):003:0> a[8] << 9 => [9] irb(main):004:0> a => {8=>[9]} irb(main):005:0> a[9] => nil can anyone explain what is going on ???
0
[ 2, 2697, 10811, 19170, 13, 9, 13862, 9708, 20, 21, 968, 800, 3726, 3726, 31, 289, 31, 4014, 98, 14, 12838, 2109, 630, 20, 21, 19170, 9, 9, 9, 590, 21, 12838, 1923, 26, 21, 1246, 100, 32, 1437, 22, 38, 3182, 31, 7549, 5, 6232, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Why can't I put a variable declaration in the test portion of a while loop? === You can, obviously, put a variable declaration in a for loop: for (int i = 0; ... and I've noticed that you can do the same thing in if and switch statements as well: if ((int i = f()) != 0) ... switch (int ch = stream.get()) ... But when I try to do the same thing in a while loop: while ((int ch = stream.get()) != -1) ... The compiler (VC++ 9.0) does not like it at all. Is this compliant behavior? Is there a reason for it?
0
[ 2, 483, 92, 22, 38, 31, 442, 21, 7612, 7098, 19, 14, 1289, 2980, 16, 21, 133, 5293, 60, 800, 3726, 3726, 42, 92, 15, 4409, 15, 442, 21, 7612, 7098, 19, 21, 26, 5293, 45, 26, 13, 5, 6391, 31, 800, 713, 73, 13, 9, 9, 9, 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...
Initialized event of WPF UserControl not firing. === I've got a very simple WPF UserControl that looks like this: namespace MyUserControl { /// <summary> /// Interaction logic for UserControl1.xaml /// </summary> public partial class UserControl1 : UserControl { public UserControl1() { InitializeComponent(); } protected override void OnRender(DrawingContext drawingContext) { Rect rect = new Rect(RenderSize); drawingContext.DrawRectangle(Brushes.AliceBlue, new Pen(Brushes.Red, 1), rect); base.OnRender(drawingContext); } } } I then use it in the XAML of a standard WPF window like this: <Window x:Class="WpfApplication1.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="clr-namespace:MyUserControl;assembly=MyUserControl" Title="Window1" Height="351" Width="496"> <Grid> <mc:UserControl1 Margin="0,0,0,0" Name="uControl1" Initialized="uControl1_Initialized"/> </Grid> </Window> with the code behind of the above WPF Window looks like this: private void uControl1_Initialized(object sender, EventArgs e) { MessageBox.Show("Hello!"); } Unfortunately the Initialized event is never fired. Can anybody please tell me why? Many thanks!
0
[ 2, 2104, 1333, 807, 16, 619, 7721, 4155, 12898, 52, 7139, 9, 800, 3726, 3726, 31, 22, 195, 330, 21, 253, 1935, 619, 7721, 4155, 12898, 30, 1879, 101, 48, 45, 204, 5582, 51, 16704, 12898, 13, 1, 12894, 118, 13, 1, 18, 723, 17396,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
What's the best way to document perl code? === Any suggestion? What do you use?
0
[ 2, 98, 22, 18, 14, 246, 161, 20, 4492, 416, 255, 1797, 60, 800, 3726, 3726, 186, 10910, 60, 98, 107, 42, 275, 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, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
Can PHP detect if its run from a cron job or from the command line? === I'm looking for way to PHP to detect if a script was run from a manual invocation on a shell (me logging in and running it), or if it was run from the crontab entry. I have various maintenance type scripts written in php that i have set to run in my crontab. Occasionally, and I need to run them manually ahead of schedule or if something failed/broken, i need to run them a couple times. The problem with this is that I also have some external notifications set into the tasks (posting to twitter, sending an email, etc) that I DONT want to happen everytime I run the script manually. I'm using php5 (if it matters), its a fairly standard linux server environment. Any ideas?
0
[ 2, 92, 13, 26120, 9092, 100, 82, 485, 37, 21, 13, 19587, 1205, 54, 37, 14, 1202, 293, 60, 800, 3726, 3726, 31, 22, 79, 699, 26, 161, 20, 13, 26120, 20, 9092, 100, 21, 3884, 23, 485, 37, 21, 5132, 19, 2625, 16893, 27, 21, 359...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 secure is sending sensitive data over https? === I would like to ask you about your opinion guys. Is SSL secure enough for using sensitive data (like password) in query string? Is there any extra options to implement? thanks for any word.X.
0
[ 2, 184, 4315, 25, 4907, 7830, 1054, 84, 7775, 18, 60, 800, 3726, 3726, 31, 83, 101, 20, 1349, 42, 88, 154, 4052, 2776, 9, 25, 13, 18, 18, 255, 4315, 511, 26, 568, 7830, 1054, 13, 5, 1403, 20884, 6, 19, 25597, 3724, 60, 25, 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, 0, 0, 0...
Rebinding Report to new XML XSD === I cannot for the life of me find an example of what I need. I have a report that is bound by xsd. How can I take this report in c#, and set the datasource to a new xml file? Every possible way that I've tried just throws me a nice logon screen. I know the files exists in the places that it is looking, and there is obviously no username and password to an xml/xsd file. Anyone have any kind of advice on the subject?? I dont understand why this isnt done more often and why no one can give me a straight answer. I can post some example code if anyone needs.
0
[ 2, 302, 22260, 1330, 20, 78, 23504, 993, 18, 43, 800, 3726, 3726, 31, 1967, 26, 14, 201, 16, 55, 477, 40, 823, 16, 98, 31, 376, 9, 31, 57, 21, 1330, 30, 25, 4138, 34, 993, 18, 43, 9, 184, 92, 31, 247, 48, 1330, 19, 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...
Stemming algorithm that produces real words === I need to take a paragraph of text and extract from it a list of "tags". Most of this is quite straight forward. However I need some help now stemming the resulting word list to avoid duplicates. Example: Community / Communities I've used an implementation of Porter Stemmer algorithm (I'm writing in PHP by the way): <http://tartarus.org/~martin/PorterStemmer/php.txt> This works, up to a point, but doesn't return "real" words. The example above is stemmed to "commun". I've tried "Snowball" (suggested within another Stack Overflow thread). <http://snowball.tartarus.org/demo.php> For my example (community / communities), Snowball stems to "communiti". **Question** Are there any other stemming algorithms that will do this? Has anyone else solved this problem? *My current thinking is that I could use a stemming algorithm to avoid duplicates and then pick the shortest word I encounter to be the actual word to display.*
0
[ 2, 29105, 9083, 30, 6700, 683, 715, 800, 3726, 3726, 31, 376, 20, 247, 21, 20599, 16, 1854, 17, 10962, 37, 32, 21, 968, 16, 13, 7, 8628, 18, 7, 9, 127, 16, 48, 25, 1450, 1599, 917, 9, 207, 31, 376, 109, 448, 130, 29105, 14, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How To have Dynamic SQL in MySQL Stored Procedure === How do you build and use dynamic sql in a MySQL stored procedure?
0
[ 2, 184, 20, 57, 7782, 4444, 255, 19, 51, 18, 22402, 8214, 7004, 800, 3726, 3726, 184, 107, 42, 1895, 17, 275, 7782, 4444, 255, 19, 21, 51, 18, 22402, 8214, 7004, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
make bad code good === I got myself reading a article regarding changing the existing bad code into a good one. For reference, this is the link to the article http://www.javaworld.com/jw-03-2001/jw-0323-badcode.html?page=1 It broadly talked about the following <br> Add comments <br> Re-Factoring Code <br> -- break large classes into smaller classes <br> -- break large functions into smaller functions <br> -- change code which is difficult to understand <br> Use Layered architecture Seems good. Any addons to this list which you all may have come across ?
0
[ 2, 233, 896, 1797, 254, 800, 3726, 3726, 31, 330, 992, 1876, 21, 2002, 3467, 4226, 14, 3149, 896, 1797, 77, 21, 254, 53, 9, 26, 2801, 15, 48, 25, 14, 3508, 20, 14, 2002, 7775, 6903, 6483, 9, 1004, 1385, 4423, 9, 960, 118, 728,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Alternatives to Flash Media Server for multiplayer game development === I've used Flash Media Server to create multiplayer flash games, but the cost of deploying a FMS application seems rather high. Are there good alternatives, open source or not, that I should look into to mimic the same functionality? I'm specifically looking at using FMS for the aspect of synching game-play state between users running the same swf.
0
[ 2, 2676, 18, 20, 4433, 941, 8128, 26, 20262, 250, 522, 800, 3726, 3726, 31, 22, 195, 147, 4433, 941, 8128, 20, 1600, 20262, 4433, 466, 15, 47, 14, 1516, 16, 17617, 68, 21, 4585, 18, 3010, 2206, 864, 183, 9, 50, 80, 254, 2676, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Newely explained concepts in .net Framework 3.5. === We have developed our website(Business users website) in .net Framework 2.0 Our client us to migrate to .net Framework 3.5. I am not interested in developing the same thing in both the frameworks. Please anyone tell me some of the new features like card space, work flow, presentation foundation concepts in .net framework 3.5 and how we will use this in real time environment. Thanks.
0
[ 2, 78, 62, 102, 2897, 8700, 19, 13, 9, 2328, 6596, 203, 9, 264, 9, 800, 3726, 3726, 95, 57, 885, 318, 2271, 5, 18717, 3878, 2271, 6, 19, 13, 9, 2328, 6596, 172, 9, 387, 318, 6819, 182, 20, 22985, 20, 13, 9, 2328, 6596, 203, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How does one go about developer scalability and code-reuse in Flash? === I've so far dabbled in Flash doing 1-man shows for quite some time, but have never done any big projects with it, where actually source management and code-reuse was truly necessary. However I'm considering Flash for a new project, but this time around it's won't be a 1-man show, that's when it stroke me that I had no experience of how one is supposed to do that with flash. What are some good tips or resources that could help us figure out a good workflow?
0
[ 2, 184, 630, 53, 162, 88, 10058, 18957, 4091, 17, 1797, 8, 99, 3699, 19, 4433, 60, 800, 3726, 3726, 31, 22, 195, 86, 463, 1331, 13784, 43, 19, 4433, 845, 137, 8, 177, 1285, 26, 1450, 109, 85, 15, 47, 57, 243, 677, 186, 580, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
"read lock failed" at cvs annotate === I am trying to use cvs annotate. This is the what I run: cvs -d /mycvs/cvsroot/ annotate "projects/dg/SomeClass.java" However, I get the following error: cvs annotate: failed to create lock directory for `/mycvs/cvsroot/projects/dg^M' (/mycvs/cvsroot/projects/dg^M/#cvs.lock): No such file or directory cvs annotate: failed to obtain dir lock in repository `/mycvs/cvsroot/projects/dg^M' cvs [annotate aborted]: read lock failed - giving up What does this mean? How can I overcome this problem? Could it be related to the ^M character I see at the error message? When I use eclipse to do the annotation it works. I checked and the directory `/mycvs/cvsroot/projects/dg' exists. The error also occurs when I'm logged in as root, so probably it's not a permissions issue either.
0
[ 2, 13, 7, 10647, 3991, 1702, 7, 35, 13, 12732, 18, 40, 1270, 1373, 800, 3726, 3726, 31, 589, 749, 20, 275, 13, 12732, 18, 40, 1270, 1373, 9, 48, 25, 14, 98, 31, 485, 45, 13, 12732, 18, 13, 8, 43, 13, 118, 915, 12732, 18, 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...
Getting the Bound Field Name at Run Time in ASP.Net === If I have a control, within a FormView, that is bound using a `<% #Bind(...)%>` expression. At run time, is there any way of retrieving the name of the field the control is bound to. To be clear, if the expression is `<% #Bind("UserName") %>` I want to return the string `"UserName"`.
0
[ 2, 1017, 14, 4138, 575, 204, 35, 485, 85, 19, 28, 306, 9, 2328, 800, 3726, 3726, 100, 31, 57, 21, 569, 15, 363, 21, 505, 4725, 15, 30, 25, 4138, 568, 21, 13, 1, 11881, 6926, 4772, 43, 5, 9, 9, 9, 6, 11881, 1, 1803, 9, 35...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Why can't I select symbolic links in NSOpenPanel? === I want to create an `NSOpenPanel` that can select any kind of file, so I do this NSOpenPanel* panel = [NSOpenPanel openPanel]; if([panel runModalForTypes:nil] == NSOKButton) { // process files here } which lets me select all files _except_ symbolic links and aliases.<br> They're simply not selectable and the obvious `setResolvesAliases`<br> does nothing. What gives?
0
[ 2, 483, 92, 22, 38, 31, 5407, 12882, 6271, 19, 13, 2172, 10157, 3206, 532, 60, 800, 3726, 3726, 31, 259, 20, 1600, 40, 13, 1, 2172, 10157, 3206, 532, 1, 30, 92, 5407, 186, 825, 16, 3893, 15, 86, 31, 107, 48, 13, 2172, 10157, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Flash Standard Libraries? === For a new project with Flash I was looking for something along the lines of standard libraries for basic programming needs, along the lines of Python or Ruby standard libraries. But the only thing I found was a dead project on Sourceforge. Thus is there no standard library for flash? Does everyone reinvent the wheel each time?
0
[ 2, 4433, 1236, 8649, 60, 800, 3726, 3726, 26, 21, 78, 669, 29, 4433, 31, 23, 699, 26, 301, 303, 14, 1560, 16, 1236, 8649, 26, 2125, 3143, 2274, 15, 303, 14, 1560, 16, 20059, 54, 10811, 1236, 8649, 9, 47, 14, 104, 584, 31, 216,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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# controls in a MFC Application === I am responsible for the User Interface of an application written completely in Visual C++ using MFC and some third-part controls. I would like to use C# (WinForms or even better WPF) to improve the application look&feel. I would like some advices about how to do it. Links, articles, examples... Right now the user interface is isolated in a single project and I don't want to compile the whole module with CLR. So how do I have to manage that from the architectural point of view? Thanks in advance.
0
[ 2, 272, 5910, 8671, 19, 21, 307, 7061, 3010, 800, 3726, 3726, 31, 589, 1864, 26, 14, 4155, 6573, 16, 40, 3010, 642, 1524, 19, 3458, 272, 20512, 568, 307, 7061, 17, 109, 422, 8, 3091, 8671, 9, 31, 83, 101, 20, 275, 272, 5910, 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...
Is it possible to add to the available parameters of a request (HttpServletRequest) === I want to intercept a request in a filter/servlet and add a few parameters to it. However, the request does not expose a 'setParameter' method and the parameter map when manipulated throws an error saying it is locked. Is there an alternative I can try?
0
[ 2, 25, 32, 938, 20, 3547, 20, 14, 904, 12905, 16, 21, 3772, 13, 5, 21127, 10321, 1336, 99, 10351, 6, 800, 3726, 3726, 31, 259, 20, 18324, 21, 3772, 19, 21, 11945, 118, 10321, 1336, 17, 3547, 21, 310, 12905, 20, 32, 9, 207, 15,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
What JDBC tools do you use for synchronization of data sources? === I'm hoping to find out what tools folks use to synchronize data between databases. I'm looking for a JDBC solution that can be used as a command-line tool. There used to be a tool called Sync4J that used the SyncML framework but this seems to have fallen by the wayside.
0
[ 2, 98, 487, 43, 7229, 4672, 107, 42, 275, 26, 13, 16023, 1829, 16, 1054, 2662, 60, 800, 3726, 3726, 31, 22, 79, 3935, 20, 477, 70, 98, 4672, 14563, 275, 20, 13, 16023, 2952, 1054, 128, 6018, 18, 9, 31, 22, 79, 699, 26, 21, 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...
How is your experience with Microsoft Dynamycs CRM === I would like to know about your experience with Microsoft Dynamics CRM. - Strengths, weak points. - How good are its features. - How hard is to develop some funcionality? - How it is perceived by its customers and potential clients? - Whatever you think I should know. Please refer to the version you hae work with as it seems to be a lot of recent changes.
4
[ 2, 184, 25, 154, 1496, 29, 7099, 24151, 915, 6824, 6186, 79, 800, 3726, 3726, 31, 83, 101, 20, 143, 88, 154, 1496, 29, 7099, 12289, 6186, 79, 9, 13, 8, 2169, 18, 15, 3910, 819, 9, 13, 8, 184, 254, 50, 82, 967, 9, 13, 8, 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...
How can I convert my current page to pdf? After some content dinamically added via AJAX. === I have found some libraries or web services in PHP that does the job. The problem is that the conversion is done when the page is fully loaded, I would like to **convert the page to PDF** **after some content dinamically added via AJAX** in onload event. Thank you very much, Omar
0
[ 2, 184, 92, 31, 8406, 51, 866, 2478, 20, 13, 11124, 60, 75, 109, 2331, 926, 6865, 8438, 905, 1197, 20624, 9, 800, 3726, 3726, 31, 57, 216, 109, 8649, 54, 2741, 687, 19, 13, 26120, 30, 630, 14, 1205, 9, 14, 1448, 25, 30, 14, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How can i get file extensions with javascript? === See code: var file1 ="50.xsl"; var file2 =30.doc";" getFileExtension(file1); //returs xsl getFileExtension(file2); //returs doc function getFileExtension(filename) { /*TODO*/ }
0
[ 2, 184, 92, 31, 164, 3893, 17529, 29, 8247, 8741, 60, 800, 3726, 3726, 196, 1797, 45, 4033, 3893, 165, 800, 7, 2290, 9, 396, 18, 255, 7, 73, 4033, 3893, 135, 800, 1762, 9, 13799, 7, 73, 7, 164, 16877, 1706, 25573, 5, 16877, 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...
Good book/resource to learn "effective" templates programming in C++ ? === I saw scoot meyers ["effective c++"][1] third edition book having a small section on "Template Programming". Any other book/links containing information on "effective" usage of templates ? [1]: http://www.amazon.com/gp/product/0321334876/ref=s9sdps_c6_14_img2-rfc_p-frt_g1-3215_g1-3102_p-3293_p?pf_rd_m=ATVPDKIKX0DER&pf_rd_s=center-1&pf_rd_r=0MHHJW6WW1CH4ZNY07M7&pf_rd_t=101&pf_rd_p=436515901&pf_rd_i=507846
0
[ 2, 254, 360, 118, 99, 12097, 20, 2484, 13, 7, 14659, 7, 22894, 18, 3143, 19, 272, 20512, 13, 60, 800, 3726, 3726, 31, 441, 28429, 10078, 18, 636, 7, 14659, 272, 20512, 7, 500, 2558, 165, 500, 422, 1322, 360, 452, 21, 284, 1050, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How to have multiple view of same display object/ sprite? === Is it possible to have multiple view of the same display object? (e.g. same-computer multi-player game using split screen) The sample code that failed to work follows: var content: Sprite = new Sprite(); var v1: Sprite = new Sprite(); var v2: Sprite = new Sprite(); with(content.graphics) { lineStyle(2, 0xff0000); drawCircle(100, 100, 80); lineStyle(5, 0x009999); drawRect(50, 80, 200, 30); } v1.addChild(content); v1.x = 0; v1.y = 0; v1.scrollRect = new Rectangle(0, 0, 100, 100); addChild(v1); v2.addChild(content); v2.x = 100; v2.y = 0; v2.scrollRect = new Rectangle(0, 0, 100, 100); addChild(v2); I thought this would make two viewports (`v1` and `v2`) of the same object (`content`). But when I checked the docs, DisplayObjectContaner/addChild method, it says, "If you add a child object that already has a different display object container as a parent, the object is removed from the child list of the other display object container." Is there a solution for this? ---------- Obtained result ![Obtained result][1] Expected result (simulated) ![Expected result (simulated)][2] [1]: http://img530.imageshack.us/img530/4611/111jd8.png [2]: http://img337.imageshack.us/img337/7914/222mq4.png
0
[ 2, 184, 20, 57, 1886, 1418, 16, 205, 3042, 3095, 118, 27902, 60, 800, 3726, 3726, 25, 32, 938, 20, 57, 1886, 1418, 16, 14, 205, 3042, 3095, 60, 13, 5, 62, 9, 263, 9, 205, 8, 18448, 1889, 8, 14049, 250, 568, 2132, 2324, 6, 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...
Biggest over design mistake you've made. === I've spent the past day or so designing a set of classes to parse in some events from a telephony system and then log them to a database. Having created 5 of the dozen classes I figured I'd need to parse the event parameters into a hashtable figure out what the event was and create an insert statement. (A base class and interface for the event and event data classes that hold all the event data + factories...) I Had an epiphony that the whole design was a bit complicated for what it needed to do as there was no manipulation of the events at all. I've redesigned it down to three methods that take event headers and data and return an insert query... So I guess Ockham's Razor strikes again... What is your biggest over complication of a simple probelem? And when did you have that "forehead slap" moment when you realised you'd over designed it to high hell?
0
[ 2, 3835, 84, 704, 5643, 42, 22, 195, 117, 9, 800, 3726, 3726, 31, 22, 195, 1111, 14, 640, 208, 54, 86, 15026, 21, 309, 16, 2684, 20, 2017, 870, 19, 109, 963, 37, 21, 4338, 22031, 329, 17, 94, 6738, 105, 20, 21, 6018, 9, 452,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
On QT widgets like DoubleSpinBox or ComboBox, how do i have custom right click menu === I have a few combo-boxes and double spin boxes on my QT Dialog. Now I need a "ResetToDefault" item on a menu that comes up when you right click on the widget (spin box or combo box). How do i get it. Is there some way I can have a custom menu that comes up on right click or Is there a way i can add items to the menu that comes on right click. kindly tell me a way to achieve this. Regards, Arjun
0
[ 2, 27, 2593, 38, 4807, 43, 3060, 18, 101, 7784, 3489, 5309, 54, 22621, 5309, 15, 184, 107, 31, 57, 5816, 193, 10840, 11379, 800, 3726, 3726, 31, 57, 21, 310, 22621, 8, 5309, 160, 17, 1494, 3310, 8120, 27, 51, 2593, 38, 28223, 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...
Order of tags in <head></head> === does it matter at all what order the `<link>` or `<script>` or `<meta>` tags are in in the `<head></head>`? (daft question but one of those things i've never given any thought to until now.)
0
[ 2, 389, 16, 3383, 18, 19, 13, 1, 1743, 1, 118, 1743, 1, 800, 3726, 3726, 630, 32, 1161, 35, 65, 98, 389, 14, 13, 1, 6258, 1, 54, 13, 1, 8741, 1, 54, 13, 1, 5909, 58, 1, 3383, 18, 50, 19, 19, 14, 13, 1, 1743, 1, 118, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 disable the UITableView selection highlighting? === When you tap a row in a UITableView, the row is highlighted and selected. Is it possible to disable this so tapping a row does nothing?
0
[ 2, 184, 92, 31, 1460, 579, 14, 13, 11193, 579, 4725, 3155, 23102, 60, 800, 3726, 3726, 76, 42, 5526, 21, 3131, 19, 21, 13, 11193, 579, 4725, 15, 14, 3131, 25, 12528, 17, 1704, 9, 25, 32, 938, 20, 1460, 579, 48, 86, 17357, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
How to generate ASP.NET page every time when using master pages? === I'm moving an old VBScript web site over to ASP.NET, so I'm starting to use master pages instead of #includeing lots of other files with server side VBScript in them. How can I stop the pages (as in the ones that are based on master pages) from being generated once and then stored? If I make a change to the master page (or any page based on them) those changes are not visible, because the web server is still giving out the previous versions.
0
[ 2, 184, 20, 7920, 28, 306, 9, 2328, 2478, 352, 85, 76, 568, 1129, 4434, 60, 800, 3726, 3726, 31, 22, 79, 1219, 40, 315, 13, 20468, 8741, 2741, 689, 84, 20, 28, 306, 9, 2328, 15, 86, 31, 22, 79, 1422, 20, 275, 1129, 4434, 700...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
/etc/motd printing twice on Gentoo Linux === I've run into a problem where I'm getting two printouts of my /etc/motd file on Gentoo Linux. sshd is doing one of the printouts, and I can toggle that by configuring /etc/ssh/sshd_config, but I can't find out who's printing the second copy. I can't disable sshd from printing out the motd due to an audit requirement. I'm running the bash shell, for what it's worth Any ideas who's printing the second copy?
0
[ 2, 13, 118, 1198, 150, 118, 7662, 43, 7312, 2088, 27, 4380, 8175, 13024, 800, 3726, 3726, 31, 22, 195, 485, 77, 21, 1448, 113, 31, 22, 79, 1017, 81, 4793, 12638, 16, 51, 13, 118, 1198, 150, 118, 7662, 43, 3893, 27, 4380, 8175, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 change the backcolor of a row in a DataGridView based on the value of a cell? === Say I have a DataGridView which shows the content of a DataTable. I want to be able to set the backcolor of a row based on the value of a cell in this row. Note that the cell in question is in a column which is not displayed in the DataGridView (Visible=False).
0
[ 2, 184, 20, 753, 14, 97, 11282, 16, 21, 3131, 19, 21, 1054, 16375, 4725, 432, 27, 14, 1923, 16, 21, 1667, 60, 800, 3726, 3726, 395, 31, 57, 21, 1054, 16375, 4725, 56, 1285, 14, 2331, 16, 21, 1054, 5924, 9, 31, 259, 20, 44, 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...
Using tables in UDF's in Excel 2007 === I am writing a UDF for Excel 2007 which I want to pass a table to, and then reference parts of that table in the UDF. So, for instance my table called "Stock" may look something like this: > Name &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cost &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Items in Stock > > Teddy Bear &nbsp;&nbsp;&nbsp;£10&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;10 > > Lollipops &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;20p&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1000 I have a UDF which I want to calculate the total cost of all the items left in stock (the actual example is much more complex which can't really be done without very complex formula) Ideally the syntax of for the UDF would look something like TOTALPRICE(Stock) Which from what I can work out would mean the UDF would have the signature Function TOTALPRICE(table As Range) As Variable What I am having trouble with is how to reference the columns of the table and iterate through them. Ideally I'd like to be able to do it referencing the column headers (so something like table[Cost]).
0
[ 2, 568, 7484, 19, 287, 8736, 22, 18, 19, 20700, 624, 800, 3726, 3726, 31, 589, 1174, 21, 287, 8736, 26, 20700, 624, 56, 31, 259, 20, 1477, 21, 859, 20, 15, 17, 94, 2801, 1341, 16, 30, 859, 19, 14, 287, 8736, 9, 86, 15, 26, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How is 'from/where/select' keywords impemented under the hood (c#,LINQ) === When I type 'from' (in Linq query) after improrting system.Linq namespace it is understood as a keyword; how does this magic hapen. is 'from' a extension method on some type?
0
[ 2, 184, 25, 13, 22, 2665, 118, 2798, 118, 18, 16964, 22, 1246, 12827, 5420, 9632, 69, 131, 14, 6124, 13, 5, 150, 5910, 15, 1226, 1251, 6, 800, 3726, 3726, 76, 31, 1001, 13, 22, 2665, 22, 13, 5, 108, 6294, 1251, 25597, 6, 75, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Screen glint effect in WPF or Silverlight === I'm looking for a way to create an "it will look cool" effect for a full screen WPF application I'm working on - a "screen glint" effect that animates or moves across the whole screen to give off a shiny display experience. I'm thinking of creating a large rectangle with a highlighted-gradient and transparent background, which could be animated across the screen. Any ideas how this can be done effectively in XAML?
0
[ 2, 2324, 17078, 1590, 19, 619, 7721, 54, 1172, 3130, 800, 3726, 3726, 31, 22, 79, 699, 26, 21, 161, 20, 1600, 40, 13, 7, 242, 129, 361, 2700, 7, 1590, 26, 21, 503, 2324, 619, 7721, 3010, 31, 22, 79, 638, 27, 13, 8, 21, 13, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
T4 Template directory missing on build server === I've just set up a new build server with the Windows 2008 .NET 3.5 SDK, and for some reason it hasn't installed c:\Program Files\Common Files\Microsoft Shared\TextTemplating so I can't run t4 templates on it. I had a look at the install options in add/remove programs and every single option is checked. Any ideas why it is missing? Any ideas how to get it back? ta all!
0
[ 2, 13, 38, 300, 22894, 16755, 2863, 27, 1895, 8128, 800, 3726, 3726, 31, 22, 195, 114, 309, 71, 21, 78, 1895, 8128, 29, 14, 1936, 570, 13, 9, 2328, 203, 9, 264, 13, 18, 43, 197, 15, 17, 26, 109, 1215, 32, 9979, 22, 38, 4066,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Industry experience with WYSIWYG editors. === Just wanted to get an idea for ways (web) developers get round the short fall of (most) WYSIWYG editors, whereby the users that are editing the text aren't always HTML literate enough to produce good/great results. In the past we have resigned ourselves to either locking down the editor or simply not supplying one. What are other peoples experiences?
0
[ 2, 1230, 1496, 29, 5809, 18, 49, 7913, 263, 12149, 9, 800, 3726, 3726, 114, 417, 20, 164, 40, 882, 26, 2847, 13, 5, 14113, 6, 10168, 164, 560, 14, 502, 1080, 16, 13, 5, 4630, 6, 5809, 18, 49, 7913, 263, 12149, 15, 15630, 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...
Can I access the keychain on the iPhone? === [This question discusses encrypting data on the iPhone][1] using the crypt() function. As an alternative, is there a keychain on the iPhone and if so, what code would I use to access it in order to store login details and then retrieve them for us in an application? [1]: http://stackoverflow.com/questions/189925/password-encryption-in-iphone-apps
0
[ 2, 92, 31, 1381, 14, 1246, 17317, 27, 14, 21024, 60, 800, 3726, 3726, 636, 1565, 1301, 18272, 1957, 11435, 68, 1054, 27, 14, 21024, 500, 2558, 165, 500, 568, 14, 13, 11435, 5, 6, 1990, 9, 28, 40, 2676, 15, 25, 80, 21, 1246, 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...
Getting the pattern back from a compiled re? === Assume I have created a compiled re: x = re.compile('^\d+$') Is there a way to extract the pattern string (^\d+$) back from the x?
0
[ 2, 1017, 14, 3732, 97, 37, 21, 9316, 302, 60, 800, 3726, 3726, 7158, 31, 57, 679, 21, 9316, 302, 45, 993, 800, 302, 9, 11103, 3599, 5, 22, 1, 43, 2430, 4403, 22, 6, 25, 80, 21, 161, 20, 10962, 14, 3732, 3724, 13, 5, 1, 43,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
How do I set the character set using XMLHttp Object for a POST in classic ASP? === I have to use the **XMLHttp object in classic ASP** in order to send some data to another server via HTTP from server to server: sURL = SOME_URL Set oXHttp = Server.CreateObject("Msxml2.XMLHTTP") oXHttp.open "POST", sURL, false oXHttp.setRequestHeader "Content-Type", "application/x-www-form-urlencoded;charset:ISO-8859-1;" sPost = SOME_FORM_DATA oXHttp.send(sPost) I've been told (by the maintainer of the consuming server) that, depending on whether I use this code from Windows Server 2000 (IIS 5) or Windows Server 2003 (IIS 6), he gets **Latin-1** (Windows 2000 Server) or **UTF-8** (Windows Server 2003) encoded data. I didn't find any property or method to set the character set of data I have to send. Does it depend on some Windows configuration or scripting (asp) settings?
0
[ 2, 184, 107, 31, 309, 14, 925, 309, 568, 23504, 21127, 3095, 26, 21, 678, 19, 2732, 28, 306, 60, 800, 3726, 3726, 31, 57, 20, 275, 14, 13, 1409, 396, 8184, 21127, 3095, 19, 2732, 28, 306, 1409, 19, 389, 20, 2660, 109, 1054, 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...
Using maven2 to build autotools-based C/C++ package === I am working on a collection MATLAB, Java, and C/C++ components that all inter-operate, but have distinctly different compilation/installation steps. We currently don't compile anything for MATLAB, use maven2 for our Java build and unit tests, and use autotools for our C/C++ build and unit tests. I would like to move everything to a single build and unit test system, using maven2, but have not been able to find a plugin that will allow the C/C++ codestream to remain autotools-based and simply wrap it in a maven build. Having to rip out autotools support and recreate all the dependencies in maven is most likely a deal-breaker, so I'm looking for a way for maven and autotools to play nicely together, rather than having to choose between the two. Is this possible or even desirable? Are there resources out there that I have overlooked?
0
[ 2, 568, 1216, 3124, 135, 20, 1895, 3108, 20799, 18, 8, 1281, 272, 118, 150, 20512, 6030, 800, 3726, 3726, 31, 589, 638, 27, 21, 1206, 4277, 9086, 15, 8247, 15, 17, 272, 118, 150, 20512, 5090, 30, 65, 1480, 8, 9477, 1373, 15, 47,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Is it possible to add SVG images to a web page through CSS? === I just started experimenting with SVG in web pages, and I discovered that it is only possible to add SVG images into HTML using `<object />` tags, not `<img />` like I would have expected. Most of the time, I add graphics to web pages through CSS because they are part of the presentation of the site, not the content. I know it is possible to apply CSS *to* SVG, but is it possible to add a vector image to an HTML element using purely CSS?
0
[ 2, 25, 32, 938, 20, 3547, 13, 18, 22955, 3502, 20, 21, 2741, 2478, 120, 272, 18, 18, 60, 800, 3726, 3726, 31, 114, 373, 5737, 68, 29, 13, 18, 22955, 19, 2741, 4434, 15, 17, 31, 1848, 30, 32, 25, 104, 938, 20, 3547, 13, 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...
browser customised output for print preview === I'm trying to dynamically hide certain DIV's when a print (or print preview) occurs from the browser. I can easily differentiate statically by having two style sheets, one for normal and one for print media: <link id="mainStyleSheet" runat="server" rel="stylesheet" type="text/css" href="css/StyleSheet.css" title="Normal Style" /> <link id="printStyleSheet" rel="stylesheet" media="print" title="Printer-Friendly Style" type="text/css" href="css/PrintStyleSheet.css"/> But I need to go one step further and hide some elements dynamically when the print style sheet becomes active during a print based upon certain criteria One way to easily solve it would be to handle a DOM event for handling print / printview, then I could just use jQuery to change the display:none on the classes that need to be hidden, but I can't find a DOM print event!! Anyone know what the solution is?
0
[ 2, 16495, 5816, 2541, 5196, 26, 4793, 16121, 800, 3726, 3726, 31, 22, 79, 749, 20, 7782, 1326, 3077, 1200, 13, 12916, 22, 18, 76, 21, 4793, 13, 5, 248, 4793, 16121, 6, 3690, 37, 14, 16495, 9, 31, 92, 2351, 22144, 12038, 1326, 34...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 get a complete list of object's methods and attributes? === dir(re.compile(pattern)) does not return pattern as one of the lists's elements. Namely it returns: ['__copy__', '__deepcopy__', 'findall', 'finditer', 'match', 'scanner', 'search', 'split', 'sub', 'subn'] According to [the manual][1], it is supposed to contain > the object's attributes' names, the > names of its class's attributes, and > recursively of the attributes of its > class's base classes. It says also that > The list is not necessarily complete. Is there a way to get the **complete** list? I always assumed that dir returns a complete list but apparently it does not... Also: is there a way to list only attributes? Or only methods? [1]: http://www.python.org/doc/2.5.2/lib/built-in-funcs.html
0
[ 2, 184, 20, 164, 21, 1279, 968, 16, 3095, 22, 18, 3195, 17, 13422, 60, 800, 3726, 3726, 13, 9035, 5, 99, 9, 11103, 3599, 5, 5972, 8766, 6, 6, 630, 52, 788, 3732, 28, 53, 16, 14, 7227, 22, 18, 2065, 9, 8525, 32, 4815, 45, 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...
Can a C# anonymous class implement an interface? === Is it possible to have an anonymous type implement an interface. I've got a piece of code that I would like to work, but don't know how to do this. public interface DummyInterface { string A { get; } string B { get; } } public class DummySource { public string A { get; set; } public string C { get; set; } public string D { get; set; } } public class Test { public void WillThisWork() { var source = new DummySource[0]; var values = from value in source select new { A = value.A, B = value.C + "_" + value.D }; DoSomethingWithDummyInterface(values); } public void DoSomethingWithDummyInterface(IEnumerable<DummyInterface> values) { foreach (var value in values) { Console.WriteLine("A = '{0}', B = '{1}'", value.A, value.B); } } } I've found an article [Dynamic interface wrapping][1] that describes one approach. Is this the best way of doing this? [1]: http://channel8.msdn.com/Posts/Adding-some-dynamic-to-C-interface-wrapping/
0
[ 2, 92, 21, 272, 5910, 10364, 718, 8713, 40, 6573, 60, 800, 3726, 3726, 25, 32, 938, 20, 57, 40, 10364, 1001, 8713, 40, 6573, 9, 31, 22, 195, 330, 21, 1855, 16, 1797, 30, 31, 83, 101, 20, 170, 15, 47, 221, 22, 38, 143, 184, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
QDockWidget initial width === How do I set the initial width of a QDockWidget? I have implemented the sizeHint function but what next?
0
[ 2, 2593, 11458, 3976, 43, 3060, 2104, 9456, 800, 3726, 3726, 184, 107, 31, 309, 14, 2104, 9456, 16, 21, 2593, 11458, 3976, 43, 3060, 60, 31, 57, 6807, 14, 1072, 7359, 38, 1990, 47, 98, 328, 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, 0, 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 does Windows actually detect LAN (proxy) settings when using Automatic Configuration === When Windows Internet Properties -> Connections -> LAN Settings -> Automatic Configuration is set to "Automatically detect settings" how does Windows actually determine/discover what the settings are? Is it a network broadcast or some kind of targeted query to a server configured somewhere in the registry, or something else?
0
[ 2, 184, 630, 1936, 1121, 9092, 6178, 13, 5, 4899, 9229, 6, 12410, 76, 568, 6715, 8091, 800, 3726, 3726, 76, 1936, 2620, 3704, 13, 8, 1, 6760, 13, 8, 1, 6178, 12410, 13, 8, 1, 6715, 8091, 25, 309, 20, 13, 7, 23465, 1326, 9092, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 integrate telecommuters in an agile process? === I'm sure that all of us have had to deal with telecommuters at some point in time, and I'm facing a situation now where my new project will have a "core" group of office workers and some off-site telecommuters. Not wanting to repeat past mistakes, I'd really like to know what ways people have tried in the past to effectively integrate telecommuters in an agile process, namely scrum. My first fear is that the telecommuters will be the first ones to break the "daily scrum" routine. And, as human nature often goes, once that gets broken, it's hard to resume and get people back on track. Scrum recommends enforcing small, fun "penalties" for people missing or being late to the daily scrum, like donating a few bucks to a jar which would later be used to buy a case of beers for the end-project party or something. This is obviously something that would be difficult to enforce online. The other big problem with telecommuters is the "out of sight, out of mind" problem. Aside from using webcams/skype/teleconferencing, what other tips do people have for keeping the team as closely knit as possible? Also, what about dealing with telecommuters from different timezones? At the moment, we're lucky enough not to have this problem, but it's definitely a possibility at some point in the future. How have other teams dealt with this problem?
0
[ 2, 184, 20, 18399, 18712, 7903, 445, 19, 40, 27475, 953, 60, 800, 3726, 3726, 31, 22, 79, 562, 30, 65, 16, 182, 57, 41, 20, 1183, 29, 18712, 7903, 445, 35, 109, 454, 19, 85, 15, 17, 31, 22, 79, 4325, 21, 1858, 130, 113, 51, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
When could or should I use chmod g+s on a file or directory? === In deploying to a new (Solaris 9) environment recently, one of the steps was to copy a set of files and directories to their new location and then to apply the group UID bit (using "chmod -R g+s") to all files in the directory tree giving a mode of -rwxr-s--- to everything. The result was that none of our shell scripts would execute unless they were individually opened and re-saved. I should add that we had earlier set g+s on the target parent folder prior to copying files; this had set the initial mode on all the new directories to drwxr-s--- but the files had a mode of -rwxr-x--- Having eventually discovered which step caused the problem, we were able to cut out that step and proceed. I would like, however, to understand what the "s" bit means when applied to directories and files, in the hope that this will explain why we had the problem in the first place.
0
[ 2, 76, 110, 54, 378, 31, 275, 6193, 13670, 489, 2430, 18, 27, 21, 3893, 54, 16755, 60, 800, 3726, 3726, 19, 17617, 68, 20, 21, 78, 13, 5, 5594, 14688, 561, 6, 2307, 1989, 15, 53, 16, 14, 2382, 23, 20, 4344, 21, 309, 16, 6488...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 get started creating CSS for given (dynamically generated) HTML? === The Separat*ion* of Layout and Content is the domain of CSS and HTML - so far well understood. Now about separat*ing*... I'm looking for hints and Best Practices to get started with the task of providing a "skin" or "theme" for a content management system. Background: -- We are starting to embrace a Portal Server/Content Management System and are starting to change the look and feel to match our needs. Our designer has so far mainly worked with full control over HTML and CSS, tweaking either one in order to get pixelperfect layout. With adoption of the cms there's a lot precreated HTML (very semantic, almost no tables :) that needs to be skinned with CSS and Images. Though it is possible to change the HTML fragments, I'd prefer to do so only as a last resort. As this provides the challenge of "how to get started" my question is about any tipps how to proceed or articles that can help managing or organizing this task - e.g. best practices in designing, how to slice this task or what tool to use. It seems bad practice to just save a dynamically generated page to disk and make changes locally. This would be somewhat ok for the css files but changes to html elements must be retrofitted to the fragments that they are generated from. I'd like to keep this out of the designers realm if possible. Also the thought of Dreamweaver (or any similar tool) making implicit tweaks to the HTML structure is frightening for me. *For the curious: The mentioned CMS/Portalserver is [Liferay][1], but the question is really language- and tool-agnostic.* [1]: http://www.liferay.com
0
[ 2, 184, 20, 164, 373, 2936, 272, 18, 18, 26, 504, 13, 5, 20985, 1326, 6756, 6, 13, 15895, 60, 800, 3726, 3726, 14, 1353, 6351, 38, 2483, 872, 2483, 16, 9106, 17, 2331, 25, 14, 4603, 16, 272, 18, 18, 17, 13, 15895, 13, 8, 86,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
What are the basic minimum set of Code Analysis rules that you would recommend? === What are the basic minimum set of Code Analysis rules that you would recommend for a 200K LOC solution? We're using unit testing but code analysis has been turned off. Ideally all rules would be turned on by default but I'd like to do this gently and turn on rules in batches so we do not have to deal with everything at once. So, what rules do I start with?
0
[ 2, 98, 50, 14, 2125, 5187, 309, 16, 1797, 2495, 1761, 30, 42, 83, 12360, 60, 800, 3726, 3726, 98, 50, 14, 2125, 5187, 309, 16, 1797, 2495, 1761, 30, 42, 83, 12360, 26, 21, 2327, 197, 13, 10799, 4295, 60, 95, 22, 99, 568, 1237,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Architecture Tips: Business Logic / Data Access ... === We plan to redesign, improve our (C#) application architecture. Anyone has some framework, hompage or book recommendations? Mainly concerning the business logic.
0
[ 2, 2607, 11034, 45, 508, 7085, 13, 118, 1054, 1381, 13, 9, 9, 9, 800, 3726, 3726, 95, 944, 20, 23903, 15, 3545, 318, 13, 5, 150, 5910, 6, 3010, 2607, 9, 1276, 63, 109, 6596, 15, 13, 9619, 6486, 54, 360, 12121, 60, 2011, 6477, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
How do you manage the String Translation Process? === I am working on a Software Project that needs to be translated into 30 languages. This means that changing any string incurs into a relatively high cost. Additionally, translation does not happen overnight, because the translation package needs to be worked by different translators, so this might take a while. Adding new features is cumbersome somehow. We can think up all the Strings that will be needed before we actually code the UI, but sometimes still we need to add new strings because of bug fixes or because of an oversight. So the question is, how do you manage all this process? Any tips in how to ease the impact of translation in the software project? How to rule the strings, instead of having the strings rule you?
0
[ 2, 184, 107, 42, 4705, 14, 3724, 4064, 953, 60, 800, 3726, 3726, 31, 589, 638, 27, 21, 2306, 669, 30, 2274, 20, 44, 4331, 77, 712, 2556, 9, 48, 1108, 30, 4226, 186, 3724, 19, 4734, 18, 77, 21, 3109, 183, 1516, 9, 4351, 15, 4...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Matching an (easy??) regular expression using C#'s regex... === Ok sorry this might seem like a dumb question but I cannot figure this thing out : I am trying to parse a string and simply want to check whether it only contains the following characters : '0123456789dD+ ' I have tried many things but just can't get to figure out the right regex to use! <pre><code> Regex oReg = new Regex(@"[\d dD+]+"); oReg.IsMatch("e4"); </code></pre> will return true even though e is not allowed... I've tried many strings, including Regex("[1234567890 dD+]+")... It always works on [Regex Pal][1] but not in C#... Please advise and again i apologize this seems like a very silly question [1]: http://regexpal.com/
0
[ 2, 10120, 40, 13, 5, 18385, 60, 60, 6, 1290, 1803, 568, 272, 5910, 22, 18, 7953, 1706, 9, 9, 9, 800, 3726, 3726, 5854, 1875, 48, 530, 2260, 101, 21, 9317, 1301, 47, 31, 1967, 1465, 48, 584, 70, 13, 45, 31, 589, 749, 20, 2017...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
LINQ practice exercises or puzzles? === I'm still trying to learn LINQ, though it's going more smoothly now that I've started to use it daily at work. I still don't feel *good* at it, though. Does anyone have any challenging practice exercises or puzzles I can use as a code-kata to improve my skills? I'll leave this as community wiki, so maybe it can grow to a community list.
4
[ 2, 6294, 1251, 1345, 12612, 54, 9164, 18, 60, 800, 3726, 3726, 31, 22, 79, 174, 749, 20, 2484, 6294, 1251, 15, 362, 32, 22, 18, 228, 91, 17532, 130, 30, 31, 22, 195, 373, 20, 275, 32, 1954, 35, 170, 9, 31, 174, 221, 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...
What Tools Do You Recommend To Auto-Build Your Application? === As recently as several years ago, the developers actually made the builds that went to clients. This was obviously a disaster for reasons too numerous to list. Then when we started to learn the errors of our ways, we looked for a way to auto-build the entire application on a dedicated build machine. The culture at that time was very averse to bringing in outside tools, so we built our own autobuild system by writing a VB app. This worked fine for a while, until the project's structure started to change, new projects were added, and we needed to build the application in different ways. Then then weaknesses of our hand-rolled autobuilder became apparent and, over time, increasingly onerous. This disease has progressed now to the point where QA (who owns our build process) can't even maintain the autobuilder because it requires more and more programming skill. Every time we add a project or change something in an existing project, it consumes more developer time just to make it work. There have been days when we were unable to produce a build because the system was broken. I'm now in a position where I can change this process, and I'm looking to scrap the entire system and put something else in it's place. My goals are: - Have an autobuild system that can run with zero human interaction at a specific time every day. It should be able to gather all the source code, compile all the apps, create the setups, put the finished products on a network share, and possibly trigger the automated testing system to kick in (we use QTP). - The autobuild system should be flexible enough to easily adapt to changes in the project without rrequiring a major overhaul. - It should be simple enough so that QA can own the system and not require developer resources to make changes to how builds are made. What are your experiences? Can you recommend an autobuild system? Should I have different goals?
0
[ 2, 98, 4672, 107, 42, 12360, 20, 3108, 8, 29361, 154, 3010, 60, 800, 3726, 3726, 28, 1989, 28, 238, 122, 1464, 15, 14, 10168, 1121, 117, 14, 1895, 18, 30, 296, 20, 7421, 9, 48, 23, 4409, 21, 5302, 26, 2932, 266, 1548, 20, 968,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 a tag cloud a good (or bad) choice for visualizing data? === I'm currently reading some academic papers on Google Scholar, but I'm interested in the personal experiences of developers and web designers - when do you and don't you use tag clouds instead of another visualization method?
0
[ 2, 76, 25, 21, 3383, 4005, 21, 254, 13, 5, 248, 896, 6, 1837, 26, 3458, 3335, 1054, 60, 800, 3726, 3726, 31, 22, 79, 871, 1876, 109, 1810, 3747, 27, 8144, 5012, 15, 47, 31, 22, 79, 3158, 19, 14, 1319, 5513, 16, 10168, 17, 27...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Why should i create my child controls in CreateChildControls() on a CompositeControl? === Ok so the obvious answer is, because the flow of a composite control demands my childcontrols to be created at a certain point in time. I got a problem i think other people must have had as well. My control is a composite "container/collection" control. It will be fed with an object and based on that objects data it will create a number of childcontrols. So my control will render a header (always) and x-number of, say TextBox controls (based on the object it was fed with). I'm creating my header in CreateChildControls() obviously, but i can't possibly create my TextBoxes there as well, because i don't know if the object (to base the TextBoxes on) has been fed yet? I thought of exposing a property/method to set/fed the object through, but i'm not sure when it will be called. So what do i do? I mean i can't possibly create the TextBoxes in CreateChildControls() or can I? I mean - when is CreateChildControls() called - i know i can call EnsureChildControls() (which i already do in a property to set the innerText of the header - since i need the header to be created before setting its innerText obviously). How about this var c = new MyContainerControl(); c.Header = "fun"; c.TextBoxObject = myTextBoxes; That would raise an error (or at best not create any TextBox'es) if i put the building of the TextBoxes in CreateChildControls(). Would it be more sane to instead just store the Header in a member variable and thus not having to call EnsureChildControls() in the exposed method/property setting the Header innerText. I just don't like this aproach much, since it would be complicating things by adding extra logic to store temporarely and later having to figure out when to set it (probably in PreRender). Also i guess i could make some kind of Databound control, ensuring the data be present at the time of calling .DataBind(). I really don't like this either since last i looked at creating databound controls it got very complicated. This really should be an easy task to solve - I know I'm missing something somewhere...
0
[ 2, 483, 378, 31, 1600, 51, 850, 8671, 19, 1600, 11287, 12898, 18, 5, 6, 27, 21, 12639, 12898, 60, 800, 3726, 3726, 5854, 86, 14, 4674, 1623, 25, 15, 185, 14, 3312, 16, 21, 12639, 569, 7311, 51, 850, 12898, 18, 20, 44, 679, 35,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
UI Components for Windows Mobile Applications (.NET Compact Framework) === Applications which run on mobile devices have special user interface requirements. I think Apple did a great job introducing innovative controls on the iPhone/iPod touch platform. Now, I have to design an application for the Windows Mobile platform using the .NET Compact Framework (Visual Studio 2008). I wonder if there are some commercial or open source UI control sets available which are similar to the iPhone / iPod touch UI elements: * Scrolling panels based on gestures * Instead of a dropdownlist: a new panel with a large list of items * Sliding panels * *etc.* I couldn't find any useful products/code. Maybe there is somebody out there with more experience who could help.
0
[ 2, 13, 5661, 5090, 26, 1936, 3241, 3767, 13, 5, 9, 2328, 8285, 6596, 6, 800, 3726, 3726, 3767, 56, 485, 27, 3241, 4690, 57, 621, 4155, 6573, 4786, 9, 31, 277, 4037, 144, 21, 374, 1205, 11442, 9406, 8671, 27, 14, 21024, 118, 49, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Database development organisation === A question regarding a DB development project. The database already exist and is rather large (several TBs). 1. What do you use for version control in DB development? 1. How do you control concurrent changes to the data model by different teams 1. What is your approach to the Unit Testing in the DB development 1. How do you deal with the sensitive data if the DB owners do not know what is sensitive? What is your approach to the data obfuscation? 1. How do you work on a large DB from several locations? Please answer one or more of the items as you see fit. Each answer will be reviewed separately. Thank you very much!
0
[ 2, 6018, 522, 4080, 800, 3726, 3726, 21, 1301, 3467, 21, 13, 9007, 522, 669, 9, 14, 6018, 614, 3182, 17, 25, 864, 370, 13, 5, 29807, 13, 11872, 18, 6, 9, 137, 9, 98, 107, 42, 275, 26, 615, 569, 19, 13, 9007, 522, 60, 137, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Entity Framework Validation === I'm getting ready to start a new project and I've been researching the entity framework. My question is what is the best strategy for validating the entities? Other projects I've worked on have used attributes for most of the validation, but obviosuly this is not possible in the entity framework. Is the only way to do this by handling the partial methods in the property setters? All advice is much appreciated.
0
[ 2, 9252, 6596, 27999, 800, 3726, 3726, 31, 22, 79, 1017, 1451, 20, 799, 21, 78, 669, 17, 31, 22, 195, 74, 527, 68, 14, 9252, 6596, 9, 51, 1301, 25, 98, 25, 14, 246, 4427, 26, 7394, 1880, 14, 12549, 60, 89, 2314, 31, 22, 195,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 store static unit test variables? === I am currently using NUnit and testing a class library. Up until now, I have used a list of constants at the top of the test class to hold some static test variables. Is this the best way to do this, or is there a more fluent way to handle it?
0
[ 2, 98, 25, 14, 246, 161, 20, 1718, 12038, 1237, 1289, 12157, 60, 800, 3726, 3726, 31, 589, 871, 568, 10210, 242, 17, 4431, 21, 718, 1248, 9, 71, 163, 130, 15, 31, 57, 147, 21, 968, 16, 3587, 18, 35, 14, 371, 16, 14, 1289, 71...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 would you use delegates in C#? === What are your usage of delegates in C#?
0
[ 2, 76, 83, 42, 275, 10845, 19, 272, 5910, 60, 800, 3726, 3726, 98, 50, 154, 7514, 16, 10845, 19, 272, 5910, 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, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
window.onload vs <body onload=""/> === What exactly is the difference between the window.onload event and the onload event of the body tag? when do I use which and how should it be done correctly?
0
[ 2, 1463, 9, 218, 8294, 4611, 13, 1, 9760, 27, 8294, 3726, 7, 7, 118, 1, 800, 3726, 3726, 98, 1890, 25, 14, 2841, 128, 14, 1463, 9, 218, 8294, 807, 17, 14, 27, 8294, 807, 16, 14, 358, 3383, 60, 76, 107, 31, 275, 56, 17, 184...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
How do you convert VARCHAR to TIMESTAMP in MSSQL === You'd like to call a stored proc on MS SQL that has a parameter type of TIMESTAMP within T-SQL, not ADO.NET using a VARCHAR value (e.g. '0x0000000002C490C8'). What do you do?
0
[ 2, 184, 107, 42, 8406, 4033, 5433, 20, 436, 38, 10158, 19, 4235, 18, 22402, 800, 3726, 3726, 42, 22, 43, 101, 20, 645, 21, 8214, 13, 15617, 27, 4235, 4444, 255, 30, 63, 21, 18906, 1001, 16, 436, 38, 10158, 363, 13, 38, 8, 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...
How do I extract the version and path from an SVN working copy into a nant variable? === I am creating a new build process for a DotNet project which is to be held in Subversion. For each dll/exe that I compile (via Nant) I would like to include 2 additional attibutes in the dlls that are built. I already understand the workings of the 'asminfo' nant task. But I need help retrieving the information which I hope to embed in my binaries. The build will always happen from a full working copy (checked out by the build process itself.) and will therefore always have an .svn directory available. The attributes I want to add are RepositoryVersion and RepositoryPath. (I understand that these are not the names this information goes by in svn) In order to do this I will need to extract the RepositoryVersion and RepositoryPath represented by the working copy folder that the BuildFile sits within. **How do I extract this information from any given .svn folder into the 2 nant variables?**
0
[ 2, 184, 107, 31, 10962, 14, 615, 17, 2013, 37, 40, 13, 18, 16578, 638, 4344, 77, 21, 13, 11028, 7612, 60, 800, 3726, 3726, 31, 589, 2936, 21, 78, 1895, 953, 26, 21, 14123, 2328, 669, 56, 25, 20, 44, 269, 19, 972, 10898, 9, 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...
Finding the users fonts in .net === How can I find the font that the user has set in their Windows' Display Properties using C# .net? I want to display a form using the fonts that the user has selected. The fonts I want are those selected in the Windows' Display Properties form for 3D-objects, menus and window title bars. But I cannot find a way to access them. There is a `System.Windows.Forms.Control.DefaultFont` property but that is returning the Windows default font (which is, I think, MS Sans Serif on XP).
0
[ 2, 3007, 14, 3878, 9978, 18, 19, 13, 9, 2328, 800, 3726, 3726, 184, 92, 31, 477, 14, 9978, 30, 14, 4155, 63, 309, 19, 66, 1936, 22, 3042, 3704, 568, 272, 5910, 13, 9, 2328, 60, 31, 259, 20, 3042, 21, 505, 568, 14, 9978, 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...
Will a database generated from SQL Server Express work with the main version of SQL ? === I want to create a SQL Server Express database on my local machine and then upload it to a website that will be using the full SQL Server software - can I do this ?
0
[ 2, 129, 21, 6018, 6756, 37, 4444, 255, 8128, 2999, 170, 29, 14, 407, 615, 16, 4444, 255, 13, 60, 800, 3726, 3726, 31, 259, 20, 1600, 21, 4444, 255, 8128, 2999, 6018, 27, 51, 375, 1940, 17, 94, 71, 8294, 32, 20, 21, 2271, 30, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
What is the best free online wysiwyg editor I could embed to my client's website? === I've checked Stackoverflow and found this question/discussion: http://stackoverflow.com/questions/98852/wysiwyg-text-editor-for-webpage However, I'm looking for something that comes with special "administration panel" -> So it behaves more like *CMS* (in backend mode). I'm rewriting other's programmer code which is pretty much uncommented (He'll burn in Hell for That), and I need something very simple, so I install some backend onto hosting, plus add function or include to code and place the text-specific codes into website code. Thanks' soo much for your answers.
0
[ 2, 98, 25, 14, 246, 551, 2087, 5809, 18, 49, 7913, 263, 1835, 31, 110, 11911, 69, 20, 51, 6819, 22, 18, 2271, 60, 800, 3726, 3726, 31, 22, 195, 6505, 7566, 2549, 9990, 17, 216, 48, 1301, 118, 43, 20563, 5991, 45, 7775, 6903, 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...