unified_texts
stringlengths
32
30.1k
OpenStatus_id
int64
0
4
input_ids
list
token_type_ids
list
attention_mask
list
Are data members allocated in the same memory space as their objects in C++? === Say I've got a class like this: class Test { int x; SomeClass s; } And I instantiate it like this: Test* t = new Test; Is x on the stack, or the heap? What about s?
0
[ 2, 50, 1054, 443, 11685, 19, 14, 205, 1912, 726, 28, 66, 3916, 19, 272, 20512, 60, 800, 3726, 3726, 395, 31, 22, 195, 330, 21, 718, 101, 48, 45, 718, 1289, 13, 1, 19, 38, 993, 73, 109, 1898, 13, 18, 73, 13, 1, 17, 31, 6322...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Test Data Builder pattern: more useful or more upkeep? === Let me start by saying I'm a huge fan of the elegance of this pattern -- I have a group of basic entities that I have implemented builders for (specifically for testing). However I have found (and this may be the caveat) that as my program evolved I kept having to go back and re-work the builders. In the end, it really hasn't seemed worth it to keep them updated, and I've gone back to primarily keeping a Object Mother that has a lot of pre-configured entities. Should I continue to update the builders for future use, or is the TDBs something that should only be created once you're design has reached some stability and the Object Mother becomes too large? Also note, I've found I'm not using the builders anywhere else in the app, as I enjoy using .Net 3.0 's new syntax for property initialization.
0
[ 2, 1289, 1054, 14960, 3732, 45, 91, 4811, 54, 91, 71, 12211, 60, 800, 3726, 3726, 408, 55, 799, 34, 1148, 31, 22, 79, 21, 2329, 2514, 16, 14, 28191, 16, 48, 3732, 13, 8, 8, 31, 57, 21, 214, 16, 2125, 12549, 30, 31, 57, 6807,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Automatically kill process that consume too much memory or stall on linux === Problem: I would like a "system" that monitors a process and would kill said process if: - the process exceeds some memory requirements - the process does not respond to a message from the "system" in some period of time I assume this "system" could be something as simple as a monitoring process? A code example of how this could be done would be useful. I am of course not averse to a completely different solution to this problem. Thank you.
0
[ 2, 7499, 1177, 953, 30, 16447, 266, 212, 1912, 54, 8837, 27, 13024, 800, 3726, 3726, 1448, 45, 31, 83, 101, 21, 13, 7, 10724, 7, 30, 18521, 21, 953, 17, 83, 1177, 87, 953, 100, 45, 13, 8, 14, 953, 11976, 18, 109, 1912, 4786, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 have a live readable config file in Asp.Net. === I need to tweak some variables (only in a development setting) without having to restart IIS or anything (so I assume Web.Config is the wrong place to put them). Where is the easiest place to put about 500 config settings that have to be read for every request and written to, like I said, while IIS is running?
0
[ 2, 246, 161, 20, 57, 21, 515, 1302, 579, 13, 14093, 2816, 3893, 19, 28, 306, 9, 2328, 9, 800, 3726, 3726, 31, 376, 20, 28769, 109, 12157, 13, 5, 4965, 19, 21, 522, 2697, 6, 366, 452, 20, 22767, 595, 18, 54, 602, 13, 5, 656, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Any IDEs for Javascript / HTML === Are there any IDEs for Javascript /HTML that allow visualizing the effects (like MochiKit), and streamline the website design process?
0
[ 2, 186, 13, 8153, 26, 8247, 8741, 13, 118, 13, 15895, 800, 3726, 3726, 50, 80, 186, 13, 8153, 26, 8247, 8741, 13, 118, 15895, 30, 1655, 3458, 3335, 14, 2292, 13, 5, 1403, 1873, 20239, 242, 6, 15, 17, 3766, 1143, 14, 2271, 704, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
SQL Server STATISTICS === So for this one project, we have a bunch of queries that are executed on a regular basis (every minute or so. I used the "Analyze Query in Database Engine " to check on them. They are pretty simple: select * from tablex where processed='0' There is an index on processed, and each query should return <1000 rows on a table with 1MM records. The Analyzer recommended creating some STATISTICS on this.... So my question is: What are those statistics ? do they really help performance ? how costly are they for a table like above ? Please bear in mind that by no means I would call myself a SQL Server experienced user ... And this is the first time using this Analyzer.
0
[ 2, 4444, 255, 8128, 5818, 800, 3726, 3726, 86, 26, 48, 53, 669, 15, 95, 57, 21, 7653, 16, 9386, 2829, 30, 50, 5557, 27, 21, 1290, 2239, 13, 5, 12068, 2038, 54, 86, 9, 31, 147, 14, 13, 7, 1629, 102, 1734, 25597, 19, 6018, 140...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 restart a service on a remote machine in Windows? === Sometimes while debugging, I need to restart a service on a remote machine. Currently, I'm doing this via Remote Desktop. How can it be done from the command line on my local machine?
0
[ 2, 184, 107, 31, 22767, 21, 365, 27, 21, 5388, 1940, 19, 1936, 60, 800, 3726, 3726, 1030, 133, 121, 16254, 2762, 15, 31, 376, 20, 22767, 21, 365, 27, 21, 5388, 1940, 9, 871, 15, 31, 22, 79, 845, 48, 1197, 5388, 17404, 9, 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, 0, 0, 0, 0...
Is it possible to enable compression with SQL Server 2005 Replication === I am sending data across a link with very little bandwidth and I will probably be sending large data files. I have Merge Replication and Snapshot replication configured at present. Is it possible to enable compression in SQL Server 2005 replication and if so, how? Thanks.
0
[ 2, 25, 32, 938, 20, 9240, 14864, 29, 4444, 255, 8128, 812, 23841, 800, 3726, 3726, 31, 589, 4907, 1054, 464, 21, 3508, 29, 253, 265, 23392, 17, 31, 129, 910, 44, 4907, 370, 1054, 6488, 9, 31, 57, 12666, 23841, 17, 29946, 23841, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
.Net Background worker process localization help === I am experiencing some weird behavior with localized messages reported from my background worker process in my windows forms application. The application is a setup application with windows forms. The application launches a background worker to perform and IIS reset and then install MSIs. The first time I run the application on a Spanish Win Server 2003 VM the forms are in spanish but not the BWP messages. If i immediately run it again, the messages are in spanish. The .Resources files are embedded resources and are extracted to the temp directory upon application startup. My code retrieves the localized strings through a custom resource manager class. This class creates a file based resource to the .Resources files in the temp directory. This is working correctly because the windows forms labels and title are localized every time. Has anyone experienced this? I'm absolutely stuck, please help. Thanks, Andrew
0
[ 2, 13, 9, 2328, 2395, 7444, 953, 375, 1829, 448, 800, 3726, 3726, 31, 589, 15138, 109, 5455, 3257, 29, 24821, 7561, 1117, 37, 51, 2395, 7444, 953, 19, 51, 1936, 1997, 3010, 9, 14, 3010, 25, 21, 18161, 3010, 29, 1936, 1997, 9, 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...
Relocate JSF-generated javascript === I am using lots of commandLinks in my app. For them to work, JSF generates some wild Javascript ( `function dpf(f) {var adp...` ). Sadly, the script-tag destroys my layout. (It really does - I am sure about that). Is there a way to force JSF to generate the script-tag somewhere else?
0
[ 2, 21761, 487, 18, 410, 8, 25314, 8247, 8741, 800, 3726, 3726, 31, 589, 568, 7503, 16, 1202, 6258, 18, 19, 51, 4865, 9, 26, 105, 20, 170, 15, 487, 18, 410, 7920, 18, 109, 1808, 8247, 8741, 13, 5, 13, 1, 22359, 13, 43, 7721, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Synchronous dialogs in Flex? === How can I open a synchronous dialog in Flex? I need to call a function from an External Interface (JavaScript) that will open a simple dialog in the Flex application and returns an value according to the button the user has clicked (OK/Cancel). So it should by a synchronous call to a dialog, i.e. the call waits until the user has closed the dialog like this. //This function is called by JavaScript function onApplicationUnload():Boolean { var result:Boolean; result = showDialogAndWaitForResult(); return result } Does anybody know how I can do this? I could write a loop that waits until the dialog has set a flag and then reads the result to return it, but there must be something that is way more elegant and reusable for waiting of the completion of other asynchronous calls.
0
[ 2, 13, 16023, 1291, 28223, 18, 19, 14409, 60, 800, 3726, 3726, 184, 92, 31, 368, 21, 13, 16023, 1291, 28223, 19, 14409, 60, 31, 376, 20, 645, 21, 1990, 37, 40, 4886, 6573, 13, 5, 1004, 1385, 8741, 6, 30, 129, 368, 21, 1935, 28...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
What Does the DRY Principle Actually Look Like in ASP.NET MVC? === I keep hearing about the DRY Principle and how it is so important in ASP.NET MVC, but when I do research on Google I don't seem to quite understand exactly how it applies to MVC. From what I've read its not really the copy & paste code smell, which I thought it was, but it is more than that. Can any of you give some insight into how I might use the DRY Principle in my ASP.NET MVC application?
0
[ 2, 98, 630, 14, 2273, 5897, 1121, 361, 101, 19, 28, 306, 9, 2328, 307, 8990, 60, 800, 3726, 3726, 31, 643, 3229, 88, 14, 2273, 5897, 17, 184, 32, 25, 86, 681, 19, 28, 306, 9, 2328, 307, 8990, 15, 47, 76, 31, 107, 527, 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...
TIBCO EMS Failover reconnect for C# (TIBCO.EMS.dll) === We have a TIBCO EMS solution that uses built-in server failover in a 2-4 server environment. If the TIBCO admins fail-over services from one EMS server to another, connections are supposed to be transfered to the new server automatically at the EMS service level. For our C# applications using the EMS service, this is not happening - our user connections are not being transfered to the new server after failover and we're not sure why. Our application connection to EMS at startup only so if the TIBCO admins failover after users have started our application, they users need to restart the app in order to reconnect to the new server (our EMS connection uses a server string including all 4 production EMS servers - if the first attempt fails, it moves to the next server in the string and tries again). I'm looking for an automated approach that will attempt to reconnect to EMS periodically if it detects that the connection is dead but I'm not sure how best to do that. Any ideas? We are using TIBCO.EMS.dll version 4.4.2 and .Net 2.x (SmartClient app) Any help would be appreciated.
0
[ 2, 4174, 220, 716, 3579, 18, 7476, 2549, 29693, 26, 272, 5910, 13, 5, 38, 4598, 716, 9, 1503, 18, 9, 43, 211, 6, 800, 3726, 3726, 95, 57, 21, 4174, 220, 716, 3579, 18, 4295, 30, 2027, 392, 8, 108, 8128, 7476, 2549, 19, 21, 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...
Visual Studio 2005 Designer not Adding controls to the aspx.Designer.cs === I'm not a fan of the Designer, I prefer to code straight to the ASPX page. However, since a reformat (and leading up to the reformat), the designer.cs files have not been updating correctly when manually coding to the .aspx file. This means my code behinds are not recognizing new controls and throwing compiler err's. Does anyone know how to ***Prevent*** this or force the designer.cs file to recompile after manually coding the aspx file? I know I can type the controls manually into the designer file, but this is time consuming and well...obnoxious when creating larger aspx pages.
0
[ 2, 3458, 1120, 812, 4742, 52, 4721, 8671, 20, 14, 28, 306, 396, 9, 19862, 106, 9, 6824, 800, 3726, 3726, 31, 22, 79, 52, 21, 2514, 16, 14, 4742, 15, 31, 6369, 20, 1797, 1599, 20, 14, 28, 306, 396, 2478, 9, 207, 15, 179, 21, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Grant Select on all Tables Owned By Specific User === I need to grant select permission for all tables owned by a specific user to another user. Can I do this with a single command along the lines of: Grant Select on OwningUser.* to ReceivingUser Or do I have to generate the sql for each table with something along the lines of: Select 'GRANT SELECT ON OwningUser.'||Table_Name||'TO ReceivingUser' From All_Tables Where Owner='OWNINGUSER'
0
[ 2, 2048, 5407, 27, 65, 7484, 1467, 34, 1903, 4155, 800, 3726, 3726, 31, 376, 20, 2048, 5407, 5572, 26, 65, 7484, 1467, 34, 21, 1903, 4155, 20, 226, 4155, 9, 92, 31, 107, 48, 29, 21, 345, 1202, 303, 14, 1560, 16, 45, 2048, 5407...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Control Visual Studio plugins from the command line === Is there a way to control the addins Visual Studio 2008 loads via the command line? I am looking for a way to load my DevExpress plug in when I am working with VB or C# and alternatively load Visual Assist X when I am working on a c++ project.
0
[ 2, 569, 3458, 1120, 10922, 108, 18, 37, 14, 1202, 293, 800, 3726, 3726, 25, 80, 21, 161, 20, 569, 14, 3547, 108, 18, 3458, 1120, 570, 19069, 1197, 14, 1202, 293, 60, 31, 589, 699, 26, 21, 161, 20, 6305, 51, 9664, 21230, 10922, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 pass arguments to a query in CodeIgniter *without* using ActiveRecord? === This is what I'd like to do, but it doesn't seem possible: function get_archives($limit, $offset) { $query = $this->db->query(' SELECT archivalie.id, archivalie.signature, type_of_source.description AS type_of_source_description, media_type.description AS media_type_description, origin.description AS origin_description FROM archivalie, type_of_source, media_type, origin WHERE archivalie.type_of_source_id = type_of_source.id AND type_of_source.media_type_id = media_type.id AND archivalie.origin_id = origin.id ORDER BY archivalie.id ASC LIMIT $limit, $offset '); // etc... } It gives this error: ERROR: syntax error at or near "LIMIT $" LINE 18: LIMIT $limit, $offset ^ It only works if you pass the variables using the ActiveRecord format: $this->db->select('archivalie.id, archivalie.signature, etc, etc'); // from, where, etc. $this->db->limit($limit, $offset); $query = $this->db->get();
0
[ 2, 25, 80, 21, 161, 20, 1477, 10553, 20, 21, 25597, 19, 1797, 9693, 242, 106, 1637, 14506, 2483, 568, 1348, 14953, 60, 800, 3726, 3726, 48, 25, 98, 31, 22, 43, 101, 20, 107, 15, 47, 32, 1437, 22, 38, 2260, 938, 45, 1990, 164, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How do I obtain the physical (MAC) address of an IP address using C#? === From C#, I want to do the equivalent of the following: arp -a |findstr 192.168.1.254 Alternatively, the answer could call the [SendARP][1] function and get the results. This will allow my application to do some other processing that requires the MAC address. [1]: http://msdn.microsoft.com/en-us/library/aa366358.aspx
0
[ 2, 184, 107, 31, 5545, 14, 1825, 13, 5, 6893, 6, 3218, 16, 40, 15735, 3218, 568, 272, 5910, 60, 800, 3726, 3726, 37, 272, 5910, 15, 31, 259, 20, 107, 14, 4602, 16, 14, 249, 45, 21, 6952, 13, 8, 58, 13, 1, 19811, 9729, 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...
Chart on MS Access 2003 ADP report === What's the best method of displaying report data in a chart format in an Access 2003 ADP project? I know this can be done in normal MDBs but this seems to use a Jet Crosstab query behind the scenes and this is not available in the ADP. I've experimented with the Office 11 Chart control but this seems a bit hit and miss.
0
[ 2, 1795, 27, 4235, 1381, 973, 21, 7431, 1330, 800, 3726, 3726, 98, 22, 18, 14, 246, 2109, 16, 17418, 1330, 1054, 19, 21, 1795, 2595, 19, 40, 1381, 973, 21, 7431, 669, 60, 31, 143, 48, 92, 44, 677, 19, 1826, 8138, 4562, 47, 48,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
C# Fastest Convert from Collection to List<T> === What I'd like to avoid: ManagementClass m = new ManagementClass("Win32_LogicalDisk"); ManagementObjectCollection managementObjects = m.GetInstances(); List<ManagementObject> managementList = new List<ManagementObject>(); foreach(ManagementObject m in managementObjects){ managementList.Add(m); } Isn't there a way to get that collection into a List that looks something like: List<ManagementObject> managementList = new List<ManagementObjec>(collection_array); Thanks much!
0
[ 2, 272, 5910, 7518, 8406, 37, 1206, 20, 968, 1, 38, 1, 800, 3726, 3726, 98, 31, 22, 43, 101, 20, 2658, 45, 1097, 1898, 307, 800, 78, 1097, 1898, 5, 7, 4181, 3125, 1, 14126, 2906, 197, 7, 6, 73, 1097, 23793, 15015, 872, 1097, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Detecting a Process is already running in windows using C# .net === How do I detect if a process is already running under the Windows Task Manager? I'd like to get the memory and cpu usage as well.
0
[ 2, 9092, 68, 21, 953, 25, 614, 946, 19, 1936, 568, 272, 5910, 13, 9, 2328, 800, 3726, 3726, 184, 107, 31, 9092, 100, 21, 953, 25, 614, 946, 131, 14, 1936, 3005, 1382, 60, 31, 22, 43, 101, 20, 164, 14, 1912, 17, 17578, 7514, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
DBCC CHECKIDENT on a temporary table throwing permissions error for wrong user === I'm logged into a SQL 2005 database as a non-sa user, 'bhk', that is a member of the 'public' server role only. The following code tries to execute within a stored procedure called by user 'bhk'. This line of code... TRUNCATE TABLE #Table1 DBCC CHECKIDENT('#Table1', RESEED, @SequenceNumber) WITH NO_INFOMSGS causes this error... > User 'guest' does not have permission > to run DBCC CHECKIDENT for object > '#Table1____________________________________________________________________________________________________00000000007F'. I'm aware of the permissions required to run DBCC CHECKIDENT... ***Caller must own the table**, or be a member of the sysadmin fixed server role, the db_owner fixed database role, or the db_ddladmin fixed database role.* So I have two questions: 1. Since 'bhk' is calling a stored procedure that creates a temporary table, shouldn't 'bhk' be the owner and be allowed to run DBCC CHECKIDENT? 2. Why does the error message return that user 'guest' doesn't have permission? To my knowledge, I'm not logged in as 'guest'. Any help would be greatly appreciated.
0
[ 2, 13, 9007, 3384, 2631, 13384, 27, 21, 4700, 859, 6033, 5572, 18, 7019, 26, 1389, 4155, 800, 3726, 3726, 31, 22, 79, 13, 19287, 77, 21, 4444, 255, 812, 6018, 28, 21, 538, 8, 1229, 4155, 15, 13, 22, 6216, 197, 22, 15, 30, 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...
Formats for Saving Vector-based 3D Graphics === I have written a vector-based 3D editor (UI customized somewhat like technical drawings). I now want save the vectors/drawing data in portable formats. Which formats are available; which (one?) of them are the most widely accepted, and where can I get hold of the format specifications?
0
[ 2, 13767, 26, 7599, 7497, 8, 1281, 203, 43, 8351, 800, 3726, 3726, 31, 57, 642, 21, 7497, 8, 1281, 203, 43, 1835, 13, 5, 5661, 28779, 4131, 101, 2447, 9646, 6, 9, 31, 130, 259, 2079, 14, 7497, 18, 118, 3030, 3546, 1054, 19, 13...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How can I add SQL Server database objects to TFS? === We don't currently have our SQL Server objects in any form of source control. We recently installed TFS 2008 and I'd like to get our SQL server code added. I think I could script all of the database and create script files for each object, but I'm hoping there is a way to point to a database in SSMS and create a project that can be added to TFS or something similar. Basically, I'm look for the simplest way to get from point A to point B. I've installed the TFS MSSCCI Provider and I see TFS in the source control provider options in SSMS. The SQL Server instance is SS2005.
0
[ 2, 184, 92, 31, 3547, 4444, 255, 8128, 6018, 3916, 20, 13, 11720, 18, 60, 800, 3726, 3726, 95, 221, 22, 38, 871, 57, 318, 4444, 255, 8128, 3916, 19, 186, 505, 16, 1267, 569, 9, 95, 1989, 4066, 13, 11720, 18, 570, 17, 31, 22, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
What are some good resources on DataMining? === What are some good resources for grokking the uses and theories behind DataMining?
0
[ 2, 98, 50, 109, 254, 2566, 27, 1054, 2160, 68, 60, 800, 3726, 3726, 98, 50, 109, 254, 2566, 26, 3452, 197, 1581, 14, 2027, 17, 7761, 439, 1054, 2160, 68, 60, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
Is there a way to detect Flash playback progress, using the Flash ActiveX object, when progress is NOT on the main timeline? === I've done some programming where I've embedded the Flash ActiveX control into my program. I'll play SWF files in a "playlist" provided by the user. Typically, I've kept a timer going that looks at the CurrentFrame vs. TotalFrames to detect forward motion. I don't allow for looping - if the CurrentFrame ever decreases, I jump out of the file. However, there's a new breed of SWF files - often from conversion programs that turn PowerPoint presentations into SWF files - that now do everything outside of the main timeline. So a 30 second SWF file might have only 5 frames, according to the ActiveX control. It still plays for 30 seconds, but the CurrentFrame hits TotalFrames *really* quickly, and my program will stop playing the file at that point. Not the desired behavior. So - is there some way, using just the Flash ActiveX control, that I can determine whether the Flash playback is still making forward progress? Or is there some event that I can hook into or look for that Flash uses internally to indicate that it's reached the end of playback?
0
[ 2, 25, 80, 21, 161, 20, 9092, 4433, 21306, 3455, 15, 568, 14, 4433, 1348, 396, 3095, 15, 76, 3455, 25, 52, 27, 14, 407, 18398, 60, 800, 3726, 3726, 31, 22, 195, 677, 109, 3143, 113, 31, 22, 195, 12138, 14, 4433, 1348, 396, 569...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
MSBUILD Task Items in subdirectories: Are incremental builds not possible on these? === I have a simple Word to Pdf converter as an MSBuild Task. The task takes Word files (ITaskItems) as input and Pdf files (ITaskItems) as output. The script uses a Target transform for conversion: <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5"> <UsingTask AssemblyFile="$(MSBuildExtensionsPath)\MyTasks.dll" TaskName="MyTasks.DocToPdf" /> <Target Name="Build" DependsOnTargets="Convert" /> <Target Name="Convert" Inputs="@(WordDocuments)" Outputs="@(WordDocuments->'%(FileName).pdf')"> <DocToPdf Inputs="@(WordDocuments)" Outputs="%(FileName).pdf"> <Output TaskParameter="ConvertedFiles" ItemName="PdfDocuments" /> </DocToPdf> </Target> <ItemGroup> <WordDocuments Include="One.doc" /> <WordDocuments Include="SubDir\Two.doc" /> <WordDocuments Include="**\*.doc" /> </ItemGroup> </Project> What's happening is that SubDir\Two.doc gets converted on every incremental build, One.doc does not (ie MSBuild correctly skips that file because it was already converted). If I use the recursive items spec (the third one above), I get the same behaviour (ie. One.doc only gets converted if the PDF is out of date or missing, but all documents in subdirectories always get converted regardless). What am I doing wrong here?
0
[ 2, 4235, 29361, 3005, 3755, 19, 972, 10197, 1596, 45, 50, 29977, 1895, 18, 52, 938, 27, 158, 60, 800, 3726, 3726, 31, 57, 21, 1935, 833, 20, 13, 11124, 25893, 28, 40, 4235, 29361, 3005, 9, 14, 3005, 1384, 833, 6488, 13, 5, 3188,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Help wanted on a regular expression !! === I have the following regular expression : I figured out most of the part which is as follows : ValidationExpression="^[\u0020\u0027\u002C\u002D\u0030-\u0039\u0041-\u005A\u005F\u0061-\u007A\u00C0-\u00FF°&#46;/]{1,256}$" u0020 : SPACE<br/> u0027 : APOSTROPHE<br/> u002C : COMMA<br/> u002D : HYPHEN / MINUS<br/> u0030-\u0039\ : 0-9<br/> u0041-\u005A : A - Z<br/> u005F : UNDERSCORE<br/> u0061-\u007A\ : a - z<br/><br/> u00C0-\u00FF°&#46;/ : ??<br/> Need help in understanding the final part of the validation expression : u00C0-\u00FF°&#46;/ Anyone has any idea what does this mean?
0
[ 2, 448, 417, 27, 21, 1290, 1803, 13, 19015, 800, 3726, 3726, 31, 57, 14, 249, 1290, 1803, 13, 45, 31, 5700, 70, 127, 16, 14, 141, 56, 25, 28, 2415, 13, 45, 27999, 28993, 3726, 7, 1, 2558, 1, 291, 2032, 1323, 1, 291, 2032, 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...
How do I hide a process in Task Manager in C#? === I have a requirement to hide a process in my Task Manager. It is for Intranet scenario. So, everything is legitimate. :) Please feel free to share any code you have (preferably in C#) or any other techniques (rootkit?) or any issues in going with this route.
0
[ 2, 184, 107, 31, 3077, 21, 953, 19, 3005, 1382, 19, 272, 5910, 60, 800, 3726, 3726, 31, 57, 21, 8981, 20, 3077, 21, 953, 19, 51, 3005, 1382, 9, 32, 25, 26, 14369, 2328, 12705, 9, 86, 15, 796, 25, 11912, 9, 13, 45, 6, 2247, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
NHibernate database connections failing under load === I was wondering if this seemed to familiar to any experience NHibernate developers or if someone could give me an idea as to where to start to try and resolve this issue: I inherited an NHibernate site written in ASP.NET 1.1 using NHibernate 0.6 and .NET remoting to the DAL layer residing on the database server. I have been trying to upgrade it to ASP.NET 3.5 and NHibernate 1.2.1.4. I replaced the .NET remoting setup with a direct database connection and everything works fine until the site gets under some load and then NHibernate calls start to intermittently fail throwing an exception: ADOException could not execute query followed by the NHibernate generated SQL statements. The stack trace given with the error is: NHibernate.Loader.Loader.LoadEntity(ISessionImplementor session, Object id, IType identifierType, Object optionalObject, Type optionalEntityName, Object optionalIdentifier, IEntityPersister persister) at NHibernate.Loader.Entity.AbstractEntityLoader.Load(ISessionImplementor session, Object id, Object optionalObject, Object optionalId) at NHibernate.Loader.Entity.AbstractEntityLoader.Load(Object id, Object optionalObject, ISessionImplementor session) at NHibernate.Persister.Entity.AbstractEntityPersister.Load(Object id, Object optionalObject, LockMode lockMode, ISessionImplementor session) at NHibernate.Impl.SessionImpl.DoLoad(Type theClass, Object id, Object optionalObject, LockMode lockMode, Boolean checkDeleted) at NHibernate.Impl.SessionImpl.DoLoadByClass(Type clazz, Object id, Boolean checkDeleted, Boolean allowProxyCreation) at NHibernate.Impl.SessionImpl.Load(Type clazz, Object id) Thanks!
0
[ 2, 12109, 15191, 8820, 6018, 6760, 7250, 131, 6305, 800, 3726, 3726, 31, 23, 5712, 100, 48, 890, 20, 3694, 20, 186, 1496, 12109, 15191, 8820, 10168, 54, 100, 737, 110, 590, 55, 40, 882, 28, 20, 113, 20, 799, 20, 1131, 17, 9854, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 set session variable skip_unusable_indexes to true in a PL/SQL package to speed up a table delete/insert? === I'm trying to speed up a data load which is controlled via a PL/SQL stored procedure. I've programmatically altered the indexes for the table I want to refresh to be unusable. I want Oracle to ignore these unusable indexes. I can issue the statement... ALTER SESSION SET skip_unusable_indexes = TRUE ...but I subsequently get the error... ORA-01502: index 'MY_INDEX_NAME' or partition of such index is in unusable state ...so is it seems to have ignored my alter session. Can I alter my session inside a PL/SQL package? If not, what is my alternative? How else might I disable (set unusable) the indexes to speed up the load? ---------- PS - A somewhat related question [here][1]. [1]: http://stackoverflow.com/questions/129046/disable-and-later-enable-all-table-indexes-in-oracle
0
[ 2, 184, 20, 309, 3723, 7612, 12532, 1, 1020, 267, 579, 1, 25671, 160, 20, 1151, 19, 21, 12443, 118, 18, 22402, 6030, 20, 1362, 71, 21, 859, 27448, 118, 108, 18, 6767, 60, 800, 3726, 3726, 31, 22, 79, 749, 20, 1362, 71, 21, 105...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Method parameters value through Reflection === I am trying to log a method's parameters by using reflection. I read the [earlier question][1] posted about this issue on StackOverflow as well which pointed me to CLR API's. Is it possible, someone can point me to the right direction, as to how will I get the values of parameters passed using API? [1]: http://stackoverflow.com/questions/168396/capturing-method-state-using-reflection
0
[ 2, 2109, 12905, 1923, 120, 9138, 800, 3726, 3726, 31, 589, 749, 20, 6738, 21, 2109, 22, 18, 12905, 34, 568, 9138, 9, 31, 1302, 14, 636, 10717, 10491, 1301, 500, 2558, 165, 500, 6054, 88, 48, 1513, 27, 7566, 2549, 9990, 28, 134, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Why does GCC-Windows depend on cygwin? === I'm not a C++ developer, but I've always been interested in compilers, and I'm interested in tinkering with some of the GCC stuff (particularly LLVM). On Windows, GCC requires a POSIX-emulation layer (cygwin or MinGW) to run correctly. Why is that? I use lots of other software, written in C++ and cross-compiled for different platforms (Subversion, Firefox, Apache, MySQL), and none of them require cygwin or MinGW. My understanding about C++ best-practice programming is that you can write reasonably platform-neutral code and deal with all the differences during the compilation process. So what's the deal with GCC? Why can't it run natively on Windows?
0
[ 2, 483, 630, 489, 3384, 8, 27508, 18, 12547, 27, 6728, 263, 4181, 60, 800, 3726, 3726, 31, 22, 79, 52, 21, 272, 20512, 10058, 15, 47, 31, 22, 195, 550, 74, 3158, 19, 21486, 18, 15, 17, 31, 22, 79, 3158, 19, 25438, 68, 29, 10...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Row Offset in MS SQL Server === Is there any way in MS SQL Server to get the results starting at a given offset? For example, in another SQL server, it's possible to do: SELECT * FROM MyTable OFFSET 50 LIMIT 25 to get results 50-74. This construct does not appear to exist in MS SQL. How can I accomplish this without loading all the rows I don't care about? Thanks!
0
[ 2, 3131, 17493, 19, 4235, 4444, 255, 8128, 800, 3726, 3726, 25, 80, 186, 161, 19, 4235, 4444, 255, 8128, 20, 164, 14, 1736, 1422, 35, 21, 504, 17493, 60, 26, 823, 15, 19, 226, 4444, 255, 8128, 15, 32, 22, 18, 938, 20, 107, 45,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How do I get the version of an assembly without loading it? === One small function of a large program examines assemblies in a folder and replaces out-of-date assemblies with the latest versions. To accomplish this, it needs to read the version numbers of the existing assembly files without actually loading those assemblies into the executing process.
0
[ 2, 184, 107, 31, 164, 14, 615, 16, 40, 1475, 366, 12797, 32, 60, 800, 3726, 3726, 53, 284, 1990, 16, 21, 370, 625, 9691, 18, 21066, 19, 21, 19294, 17, 3934, 18, 70, 8, 1041, 8, 8209, 21066, 29, 14, 5736, 3281, 9, 20, 14570, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Two-way binding of Xml data to the WPF TreeView === I am attempting to rewrite my [ForestPad][1] application utilizing WPF for the presentation layer. In WinForms, I am populating each node programmatically but I would like to take advantage of the databinding capabilities of WPF, if possible. In general, what is the best way to two-way databind the WPF TreeView to an Xml document? A generic solution is fine but for reference, the structure of the Xml document that I am trying to bind to looks like this: <?xml version="1.0" encoding="utf-8"?> <forestPad guid="6c9325de-dfbe-4878-9d91-1a9f1a7696b0" created="5/14/2004 1:05:10 AM" updated="5/14/2004 1:07:41 AM"> <forest name="A forest node" guid="b441a196-7468-47c8-a010-7ff83429a37b" created="01/01/2003 1:00:00 AM" updated="5/14/2004 1:06:15 AM"> <data> <![CDATA[A forest node This is the text of the forest node.]]> </data> <tree name="A tree node" guid="768eae66-e9df-4999-b950-01fa9be1a5cf" created="5/14/2004 1:05:38 AM" updated="5/14/2004 1:06:11 AM"> <data> <![CDATA[A tree node This is the text of the tree node.]]> </data> <branch name="A branch node" guid="be4b0993-d4e4-4249-8aa5-fa9c940ae2be" created="5/14/2004 1:06:00 AM" updated="5/14/2004 1:06:24 AM"> <data> <![CDATA[A branch node This is the text of the branch node.]]></data> <leaf name="A leaf node" guid="9c76ff4e-3ae2-450e-b1d2-232b687214aa" created="5/14/2004 1:06:26 AM" updated="5/14/2004 1:06:38 AM"> <data> <![CDATA[A leaf node This is the text of the leaf node.]]> </data> </leaf> </branch> </tree> </forest> </forestPad> [1]: http://www.codeproject.com/KB/mobile/ForestPad.aspx
0
[ 2, 81, 8, 1443, 8728, 16, 23504, 1054, 20, 14, 619, 7721, 1541, 4725, 800, 3726, 3726, 31, 589, 6314, 20, 27891, 51, 636, 21408, 8240, 500, 2558, 165, 500, 3010, 19894, 619, 7721, 26, 14, 6364, 5385, 9, 19, 628, 4190, 18, 15, 31...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Creating an asp:button programatically === I'm using my code-behind page to create a save button programatically: Button btnSave = new Button(); btnSave.ID = "btnSave"; btnSave.Text = "Save"; However I think this must create an html button or perhaps needs something else as I cannot seem to set the OnClick attribute in the following line, I can specify OnClientClick but this isn't the one I want to set. I know I've probaby missed something obvious, any help would be much appreciated.
0
[ 2, 2936, 40, 28, 306, 45, 811, 444, 625, 721, 8438, 800, 3726, 3726, 31, 22, 79, 568, 51, 1797, 8, 24878, 2478, 20, 1600, 21, 2079, 5167, 625, 721, 8438, 45, 5167, 334, 38, 103, 19863, 800, 78, 5167, 5, 6, 73, 334, 38, 103, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Mathematics and Game Programming === I want to program graphical 2D games more complex than the basic 2D stuff I already know. I don't want to do 3D programming. Just more complex 2D stuff. I dropped high school before I could learn a lot of stuff so I walked away with enough algebra knowledge to balance my checkbook and do some light 2D Cartesian programming. Are there any good resources out there for a guy with a limited attention span (say 20 minutes apiece for a subject I'm keenly interested in) to learn, gradually, how to do something more useful with math in programming?
0
[ 2, 4264, 17, 250, 3143, 800, 3726, 3726, 31, 259, 20, 625, 21755, 172, 43, 466, 91, 1502, 119, 14, 2125, 172, 43, 3217, 31, 614, 143, 9, 31, 221, 22, 38, 259, 20, 107, 203, 43, 3143, 9, 114, 91, 1502, 172, 43, 3217, 9, 31, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Security, crytography: Stupid Challege - Response protocol?? === Ok guys just a small game: I have some specifications for a project. At some point they ask for the following to encrypt a password over the net, saying that it is a challenge response protocol: CLIENT ------------------------------------ SERVER (1)ask for challenge -------------------------> (2)<--------------------------------------------send SHA1 taken from the time (this is the challenge) (3) make SHA1 xor PASSWORD ------------------------> if it's equal to SHA1 xor stored password (4)<------------------------------------------------ Grant access For those who don't know it SHA stands for Secure Hashing Algorithm, a standard algorithm for cryptography. I hope it's clear. Question is: If I sniff packets 2 and 3 (the "challenge" and the "challenge xor password", I do have the actual password just with another xor between them both!?!? There is other way to implement this kind of protocol??
0
[ 2, 1221, 15, 3687, 38, 10112, 45, 3553, 11508, 413, 834, 13, 8, 1627, 8494, 60, 60, 800, 3726, 3726, 5854, 2776, 114, 21, 284, 250, 45, 31, 57, 109, 17971, 26, 21, 669, 9, 35, 109, 454, 59, 1349, 26, 14, 249, 20, 1957, 11435, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Java GUI Resolution Independant Scaling === I'm working on a large legacy java application for which an important feature was automatic scaling of GUI Components based on monitor resolution. We are upgrading the JVM on which it runs from 1.4.2 to 1.6 and now the scaling is broken due to a change in the implementation of java.awt.Container.getPreferredSize(). getPrefferedSize used to return the same object that you gave with setPreferredSize() (everything also goes for min/max size), so what we would do is call setPRefferedSize on every scaling component with a particular subclass of java.awt.Dimension, then we would walk the component hierarchy and update each scaling component whenever the resolution changed. However in Java 1.6 getPreferredSize returns a copy of the Dimension object you passed it, so it is no longer the right type and nothing gets scaled. I hacked together a solution pretty quick by overriding the Component class with my own implementation (thank you open source JRE) by placing it in front of the JRE on the class path. However this solution is clearly not maintainable. Does anyone else know any other solution to this problem, how would you implement GUI scaling in java 1.5/1.6?
0
[ 2, 8247, 9457, 4302, 19, 19038, 1830, 26829, 800, 3726, 3726, 31, 22, 79, 638, 27, 21, 370, 7780, 8247, 3010, 26, 56, 40, 681, 1580, 23, 6715, 26829, 16, 9457, 5090, 432, 27, 7626, 4302, 9, 95, 50, 26939, 14, 487, 20147, 27, 56,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Internet Explorer 8 and CSS === Quick question. What do you think, I have a few sites that use a 3 level drop-down menu that will be broken if IE8 released with its current CSS standards in IE8 beta2. So do I take the time to redo those drop downs now? I realize that the way they rendered CSS changed completely between beta 1 and 2, but 2 was/is supposed the be a general use beta and seeing as it is the final beta you would think something as crucial as CSS rendering would have been touched up to work properly. So what do you think, do you wait until 80% (random statistic) of ie7 users automatically update to IE8 and then worry about a broken navigation menu if it still exists. Or do you waste the time now. ... if I had it my way all web developers would just make sure that their page did not work in IE8 and then Microsoft would be forced to properly handle CSS.... But I don't usually get things my way.
0
[ 2, 2620, 8520, 469, 17, 272, 18, 18, 800, 3726, 3726, 2231, 1301, 9, 98, 107, 42, 277, 15, 31, 57, 21, 310, 3259, 30, 275, 21, 203, 662, 2804, 8, 2968, 11379, 30, 129, 44, 2023, 100, 13, 660, 457, 261, 29, 82, 866, 272, 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...
Changing Targer Framework in Visual Studio 2008 === What's the deal with VS?...I tried importing the Caching App Block and got the message...the assembly or one of it's dependencies your are trying to import requires a later version of .NET Framework...... I went to the properties of my app in VS, but I can't find the dropdown to switch....what's the deal? Thanks
0
[ 2, 4226, 2475, 1674, 6596, 19, 3458, 1120, 570, 800, 3726, 3726, 98, 22, 18, 14, 1183, 29, 4611, 60, 9, 9, 9, 49, 794, 9010, 68, 14, 1658, 7192, 4865, 1921, 17, 330, 14, 2802, 9, 9, 9, 124, 1475, 54, 53, 16, 32, 22, 18, 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...
Visual Studio 2008 - Application closes when unhandled exception occurs. === I have a problem when an unhandeld exception occurs while debugging a WinForm VB.NET project. The problem is that my application terminates and I have to start the application again, instead of retrying the action as was the case in VS2003 The unhandeld exception is implemented in the new My.MyApplication class found in ApplicationEvents.vb Private Sub MyApplication_UnhandledException(ByVal sender As Object, ByVal e As Microsoft.VisualBasic.ApplicationServices.UnhandledExceptionEventArgs) Handles Me.UnhandledException Dim handler As New GlobalErrorHandler() handler.HandleError(e.Exception) e.ExitApplication = False End Sub Note: handler.HandleError just shows a dialog box and logs the error to a log file. I also tried the following code that used to work in VS2003 but it results in the same behaviour when run in VS2008: AddHandler System.Windows.Forms.Application.ThreadException, AddressOf OnApplicationErrorHandler AddHandler AppDomain.CurrentDomain.UnhandledException, AddressOf OnUnhandledExceptionHandler OnApplicationErrorHandler and OnUnhandledExceptionHandler does the same as handle.HandleError Running the application outside VS2008 results in the expected behaviour (the application doesn't terminate) but it is increasing our test cycle during debugging.
0
[ 2, 3458, 1120, 570, 13, 8, 3010, 543, 18, 76, 367, 3203, 1294, 5391, 3690, 9, 800, 3726, 3726, 31, 57, 21, 1448, 76, 40, 367, 3203, 532, 43, 5391, 3690, 133, 121, 16254, 2762, 21, 628, 4190, 13, 20468, 9, 2328, 669, 9, 14, 144...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PL/SQL Evaluation Order === Howdy. Consider the following: SQL> DECLARE 2 b1 BOOLEAN; 3 b2 BOOLEAN; 4 FUNCTION checkit RETURN BOOLEAN IS 5 BEGIN 6 dbms_output.put_line('inside checkit'); 7 RETURN TRUE; 8 END checkit; 9 10 PROCEDURE outp(n VARCHAR2, p BOOLEAN) IS 11 BEGIN 12 IF p THEN 13 dbms_output.put_line(n||' is true'); 14 ELSE 15 dbms_output.put_line(n||' is false'); 16 END IF; 17 END; 18 BEGIN 19 b1 := TRUE OR checkit; 20 outp('b1',b1); 21 b2 := checkit OR TRUE; 22 outp('b2',b2); 23 END; 24 / b1 is true inside checkit b2 is true PL/SQL procedure successfully completed SQL> Notice that the results of the OR statements are order dependent. If I place the function call first, then the function is executed regardless of the value of the other term. It appears that an OR statement is evaluated left to right until a TRUE is obtained, at which point processing stops and the result it TRUE. My question is, is this something I can rely on? Or could this behavior change in future releases of PL/SQL? If it could change, is there a way to force the function to be evaluated that I can rely on (without creating another variable and using a separate assignment statement)?
0
[ 2, 12443, 118, 18, 22402, 8670, 389, 800, 3726, 3726, 184, 1851, 9, 3563, 14, 249, 45, 4444, 255, 1, 10123, 172, 334, 165, 9827, 413, 210, 73, 203, 334, 135, 9827, 413, 210, 73, 268, 1990, 2631, 242, 788, 9827, 413, 210, 25, 331...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
UnauthorizedAccessException with IIS7 === 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 have given write access to the iis_iusrs, iis_wpg, and aspnet users, based on various advices found by Google, but still get the error. Can someone please explain how I can create a log file in that directory, or, will creating a log directory under the web application itself automatically allow writing the file, and is this not perhaps a better solution?
0
[ 2, 25881, 20604, 10066, 872, 29, 595, 18, 465, 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, 13, 1, 1020, 10007, 1333, 2060...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 format my oracle queries so the columns don't wrap? === I've tried this, but it doesn't work: col * format a20000 Do I really have to list every column specifically? That is a huge pain in the arse.
0
[ 2, 184, 107, 31, 2595, 51, 15759, 9386, 2829, 86, 14, 7498, 221, 22, 38, 8118, 60, 800, 3726, 3726, 31, 22, 195, 794, 48, 15, 47, 32, 1437, 22, 38, 170, 45, 3313, 1637, 2595, 21, 3050, 387, 107, 31, 510, 57, 20, 968, 352, 46...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
Can I specify my explicit type comparator inline? === So .NET 3.0/3.5 provides us with lots of new ways to query, sort, and manipulate data, thanks to all the neat functions supplied with LINQ. Sometimes, I need to compare user-defined types that don't have a built-in comparison operator. In many cases, the comparison is really simple -- something like foo1.key ?= foo2.key. Rather than creating a new IEqualityComparer for the type, can I simply specify the comparison inline using anonymous delegates/lambda functions? Something like: <pre><code>var f1 = ..., f2 = ...; var f3 = f1.Except( f2, new IEqualityComparer<Foo>( (Foo a, Foo b) => a.key.CompareTo(b.key) ) ); </code></pre> I'm pretty sure the above doesn't actually work. I just don't want to have to make something as "heavy" as a whole class just to tell the program how to compare apples to apples.
0
[ 2, 92, 31, 19077, 51, 14990, 1001, 6479, 512, 3457, 19, 1143, 60, 800, 3726, 3726, 86, 13, 9, 2328, 203, 9, 15928, 240, 9, 264, 1927, 182, 29, 7503, 16, 78, 2847, 20, 25597, 15, 2058, 15, 17, 18468, 1054, 15, 3669, 20, 65, 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...
Programmatic solution to change navigation id to highlight current page ASP.NET === I am writing a website with Visual Studio 2008 and ASP.NET 3.5. I have a masterpage set up to simplify the layout and to keep the content pages for content rather than content and layout. The navigation is list, css'd so it looks like a bar. In order to highlight the page on the bar, the list item needs to look like this `<li id="current">`. I do not want to use `<asp:ContentPlaceHolder>` if I can avoid it. Is there some code I can add to each of my pages (or just to the masterpage?) to accomplish this or am I stuck using `<asp:ContentPlaceHolder>`'s?
0
[ 2, 625, 6732, 4295, 20, 753, 8368, 4924, 20, 14373, 866, 2478, 28, 306, 9, 2328, 800, 3726, 3726, 31, 589, 1174, 21, 2271, 29, 3458, 1120, 570, 17, 28, 306, 9, 2328, 203, 9, 264, 9, 31, 57, 21, 1129, 6486, 309, 71, 20, 28257, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
In MySQL, is there any difference (performance-wise) between decimal and double? === In my database, I would like to store a decimal score. A score can have a value from 0 to 10, and values in between, such as 2.3 or 9.4. I recently learned that **int** only stores whole numbers and not decimals. I found out that you could use either **double** or **decimal**, but what I would like to know is if there is any difference at all? I'm currently using decimal.
0
[ 2, 19, 51, 18, 22402, 15, 25, 80, 186, 2841, 13, 5, 22528, 8, 10474, 6, 128, 26380, 17, 1494, 60, 800, 3726, 3726, 19, 51, 6018, 15, 31, 83, 101, 20, 1718, 21, 26380, 1618, 9, 21, 1618, 92, 57, 21, 1923, 37, 713, 20, 332, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Calculating Revenue Per User === How would you guys go about calculating revenue per user for a recurring web service (they are billed each month)? Typically, you would just take the total revenue and divide it by the total number of customers. With a recurring service, however, you have to take into consideration the people that have yet to cancel their account (we don't know the value of that customer).
2
[ 2, 22937, 5640, 416, 4155, 800, 3726, 3726, 184, 83, 42, 2776, 162, 88, 22937, 5640, 416, 4155, 26, 21, 11344, 2741, 365, 13, 5, 2077, 50, 13, 17823, 206, 1617, 6, 60, 2442, 15, 42, 83, 114, 247, 14, 600, 5640, 17, 8918, 32, 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...
Are there anonymous, type-safe, generic delegate signatures in C# 2.0? === Consider the delegate for a generic `A` to `B` function: public delegate B Fun<A, B>(A x); I can then write a function that accepts and invokes the `Fun` delegate: public static B invokeFun<A, B>(A x, Fun<A, B> f) { return f(x); } (Never mind whether it is wise to write `invokeFun`.) Can I write `invokeFun` without _naming_ the `Fun` delegate? I would expect something like this to work, but it doesn't: public static B invokeFun<A, B>(A x, B (A) f) { return f(x); }
0
[ 2, 50, 80, 10364, 15, 1001, 8, 18166, 15, 12733, 11300, 19506, 19, 272, 5910, 172, 9, 387, 60, 800, 3726, 3726, 3563, 14, 11300, 26, 21, 12733, 13, 1, 58, 1, 20, 13, 1, 220, 1, 1990, 45, 317, 11300, 334, 2414, 1, 58, 15, 334...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 link to a gzipped javascript in an html document? === I've seen a number of references to gzipping a javascript to save download time. *But* I also see a number of warnings that certain browsers do not support this. I have two different methods at my disposal: 1. use mod_deflate to make Apache compress JS/CSS files in a given directory through htaccess 2. use ob_start('gzhandler') to compress a file and return it to the browser with the correct headers. The problems with method 1 are that not all browsers support mod_deflate, and I have no clue how to write the htaccess file to be smart enough to adjust for this. The problem with method 2 is that there is no definitive answer about how to tell if a browser supports a gzipped script, or stylesheet, and that if it does what mime-type must be given as the content type in the header. I need some advice. First, which method is more universally accepted by browsers? Second, how do I decay using either method to provide the uncompressed backup script? Third, would `<script src="js/lib.js.gz" type="text/javascript"></script>` work by itself? (It obviously wouldn't decay.) For the record, I'm using PHP5 with mod_deflate and full gzip creation capabilities, and my doctype is xhtml strict.
0
[ 2, 184, 20, 3508, 20, 21, 489, 2553, 3421, 69, 8247, 8741, 19, 40, 13, 15895, 4492, 60, 800, 3726, 3726, 31, 22, 195, 541, 21, 234, 16, 7231, 20, 489, 2553, 5574, 21, 8247, 8741, 20, 2079, 7121, 85, 9, 1637, 811, 2483, 31, 67,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
C# List<> OrderBy Alphabetical Order === I'm using C# on Framework 3.5. I'm looking to quickly sort a Generic List<>. For the sake of this example lets say I have a List of a Person type with a property of lastname. How would I sort this List using a lambda expression? List<Person> people = PopulateList(); people.OrderBy(???? => ?????)
0
[ 2, 272, 5910, 968, 1, 389, 779, 27169, 389, 800, 3726, 3726, 31, 22, 79, 568, 272, 5910, 27, 6596, 203, 9, 264, 9, 31, 22, 79, 699, 20, 976, 2058, 21, 12733, 968, 1, 9, 26, 14, 8132, 16, 48, 823, 6884, 395, 31, 57, 21, 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...
Rake aborting with error === Trying to setup the exception_logger plugin on a production server. Everything worked fine on the dev machine. Trying to rake db:migrate on the prod server and i get this error: rake aborted! no such file to load -- pagination What am i missing?
0
[ 2, 21009, 21557, 68, 29, 7019, 800, 3726, 3726, 749, 20, 18161, 14, 5391, 1, 29480, 10922, 108, 27, 21, 637, 8128, 9, 796, 577, 1123, 27, 14, 9664, 1940, 9, 749, 20, 21009, 13, 9007, 45, 10183, 5487, 27, 14, 895, 43, 8128, 17, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How Do You Handle Validation In Silverlight? === How have you decided to handle data/control validation in your silverlight applications?
0
[ 2, 184, 107, 42, 3053, 27999, 19, 1172, 3130, 60, 800, 3726, 3726, 184, 57, 42, 868, 20, 3053, 1054, 118, 12898, 27999, 19, 154, 1172, 3130, 3767, 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...
[ 1, 1, 1, 1, 1, 1, 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...
What is the most useful script you've written for everyday life? === Just wondering what little scripts/programs people here have written that helps one with his or her everyday life (aka not work related). Anything goes, groundbreaking or not. For me right now, it's a small python script to calculate running pace given distance and time elapsed.
4
[ 2, 98, 25, 14, 127, 4811, 3884, 42, 22, 195, 642, 26, 10789, 201, 60, 800, 3726, 3726, 114, 5712, 98, 265, 17505, 118, 19746, 18, 148, 235, 57, 642, 30, 7778, 53, 29, 33, 54, 36, 10789, 201, 13, 5, 4176, 52, 170, 1597, 6, 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...
Team Foundation Server (TFS) File Difference viewer - how to split horizontally === I am using Team Foundation Server (TFS) for Visual Studio 2005. Whenever i wish to compare two file's versions TFS displays a window with the differences. **The problem is that it is always splitted vertically.** In fact, almost every time, **i would prefer to have it splitted horizontally.** I've already looked at TFS options and googled but i found nothing. I'm appalled to think that such option is not available! Is there any way to configure TFS to split it horizontally? Thank you, Luís
0
[ 2, 173, 1304, 8128, 13, 5, 11720, 18, 6, 3893, 2841, 16812, 13, 8, 184, 20, 2132, 25658, 800, 3726, 3726, 31, 589, 568, 173, 1304, 8128, 13, 5, 11720, 18, 6, 26, 3458, 1120, 812, 9, 6634, 31, 2536, 20, 11590, 81, 3893, 22, 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...
Named Entity Recognition Libraries for Java === I am looking for a simple but "good enough" Named Entity Recognition library (and dictionary) for java, I am looking to process emails and documents and extract some "basic information" like: Names, places, Address and Dates I've been looking around, and most seems to be on the heavy side and full NLP kind of projects. Any recommendations ?
0
[ 2, 377, 9252, 3514, 8649, 26, 8247, 800, 3726, 3726, 31, 589, 699, 26, 21, 1935, 47, 13, 7, 3264, 511, 7, 377, 9252, 3514, 1248, 13, 5, 290, 9186, 6, 26, 8247, 15, 31, 589, 699, 20, 953, 8517, 18, 17, 4374, 17, 10962, 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...
How to convert ArrayList to an array of structure? === Here I have: Public Structure MyStruct Public Name as String Public Content as String End Structure Dim oStruct as MyStruct = New MyStruct() oStruct.Name = ... oStruct.Content = ... Dim alList as ArrayList = new ArrayList() alList.Add(oStruct) I'd like to convert the ArrayList to a static strongly-typed Array of type MyStruct. How can I do that? I had no luck with ToArray.
0
[ 2, 184, 20, 8406, 7718, 5739, 20, 40, 7718, 16, 1411, 60, 800, 3726, 3726, 235, 31, 57, 45, 317, 1411, 51, 10346, 317, 204, 28, 3724, 317, 2331, 28, 3724, 241, 1411, 5937, 635, 10346, 28, 51, 10346, 800, 78, 51, 10346, 5, 6, 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...
Upgrading a ASP.NET 1.1 Web Service using the WSE 2.0 to .NET 3.5 === We recently upgraded an application that that contained web services using the WSE 2.0 to .NET 3.5. When we converted the project in Visual Studio 2008, It did not mention anything about the removing and/or modifying the WSE 2.0 namespaces. Here is the basic architecture of the web services in the .NET 1.1 project. Web Service Source Code: [WebService(Namespace="http://tempuri.org")] public class MyWebService : BaseWebService { //Do some stuff } BaseWebService Source Code: using Microsoft.Web.Services2; using Microsoft.Web.Services2.Security; using Microsoft.Web.Services2.Security.Tokens; namespace MyNameSpace { public class BaseWebService : System.Web.Services.WebService { if(RequestSoapContext.Current == null) throw new ApplicationExcpetion("Only SOAP requests are permitted."); } } During the conversion, the BaseWebService.cs class was excluded from the project and the WSE2.0 namespaces were removed from the class. Have anyone else experiences any issues with trying to upgrade a web service from .NET 1.1 using the WSE to .NET 3.5? This is related to the previous question I had regarding a client consuming the upgraded web service: [Stack Overflow Question][1] [1]: http://stackoverflow.com/questions/185420/issues-with-client-consuming-a-net-web-service-upgraded-from-net-11-to-35
0
[ 2, 26939, 21, 28, 306, 9, 2328, 137, 9, 165, 2741, 365, 568, 14, 619, 870, 172, 9, 387, 20, 13, 9, 2328, 203, 9, 264, 800, 3726, 3726, 95, 1989, 9958, 40, 3010, 30, 30, 3437, 2741, 687, 568, 14, 619, 870, 172, 9, 387, 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...
Add a CheckBox column to a GridView with persistence === I have an ASP.NET application that displays various views into a largish database of protein sequences. As a visitor browses the data, I'd like for them to be able to select a CheckBox in the GridView row to flag sequences for later download as a zipped text file. I don't want to store the selections so they should just be valid for the session. My idea right now is to add a TemplateField to the GridView and then add a CheckBox to that. I intend to handle the check events and store the sequence IDs in the session state. When the user heads to the download page I'll get the session data, display the list of sequences they are about to download and then send the file along. Obviously I'll also have to reparse the session data on every form load / page switch. So I actually have a couple of questions about this: 1) Am I doing too much work? Is there an easier way to implement this? 2) Are all the round trips to the server for the session state likely to be a performance problem? I can put a "Save for Download" button on the page to batch it to help things. Handling the check events just seems more error tolerant since you can't accidentally lose your state if you navigate away. 3) Is it possible to sort the GridView by the checked box column? I'd like to sort by the checked box column first then the currently sorted column (e.g. If the GridView is sorted by last name, sorting by the check column and then by last name).
0
[ 2, 3547, 21, 2631, 5309, 4698, 20, 21, 7354, 4725, 29, 28584, 800, 3726, 3726, 31, 57, 40, 28, 306, 9, 2328, 3010, 30, 9412, 617, 4146, 77, 21, 7841, 263, 1595, 6018, 16, 4008, 11173, 9, 28, 21, 10875, 10175, 160, 14, 1054, 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's the difference between "&> foo" and "> foo 2>&1"? === There seem to be two bash idioms for redirecting STDOUT and STDERR to a file: fooscript &> foo ... and ... fooscript > foo 2>&1 What's the difference? It seems to me that the first one is just a shortcut for the second one, but my coworker contends that the second one will produce no output even if there's an error with the initial redirect, whereas the first one will spit redirect errors to STDOUT.
0
[ 2, 98, 22, 18, 14, 2841, 128, 13, 7, 1569, 1, 4310, 111, 7, 17, 13, 7, 1, 4310, 111, 172, 1, 1569, 165, 7, 60, 800, 3726, 3726, 80, 2260, 20, 44, 81, 13158, 28380, 18, 26, 302, 14706, 68, 354, 43, 1320, 17, 354, 1157, 139,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 an .ASPX page get its file system path? === I have a page something.aspx, with associated codebehind something.aspx.cs. In that codebehind, I want to know the filesystem location of something.aspx. Is there any convenient way to get it?
0
[ 2, 184, 92, 40, 13, 9, 472, 306, 396, 2478, 164, 82, 3893, 329, 2013, 60, 800, 3726, 3726, 31, 57, 21, 2478, 301, 9, 472, 306, 396, 15, 29, 1598, 1797, 24878, 301, 9, 472, 306, 396, 9, 6824, 9, 19, 30, 1797, 24878, 15, 31, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How do I start reading the PHP source code? === Available [on the PHP downloads page][1], the PHP source code is absolutely mystifying to me. The thing is, I'd like to learn more about it, so I can avoid making [Schlemiel-style][2] mistakes. This is a huge project, some nearly sixty megs in size. How do I go about reading it? Is there an article or a book out there somewhere to help me begin to make some sense of it? [1]: http://ca.php.net/downloads.php [2]: http://en.wikipedia.org/wiki/Schlemiel_the_painter's_Algorithm
0
[ 2, 184, 107, 31, 799, 1876, 14, 13, 26120, 1267, 1797, 60, 800, 3726, 3726, 904, 636, 218, 14, 13, 26120, 7121, 18, 2478, 500, 2558, 165, 500, 15, 14, 13, 26120, 1267, 1797, 25, 6916, 51, 384, 10874, 20, 55, 9, 14, 584, 25, 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...
MS SQL datetime prior than 1/1/1900 === Surely there is a way to store a date value prior than 1-1-1900 in a column other than varchar? Or do I really have to break this out, and perform my own datetime library for date differences, sorting, and such? Yes, I understand how datetime's are actually stored (an integer value from a specific date), but I remember there being another workaround from years ago. It's just slipping me now.
0
[ 2, 4235, 4444, 255, 1231, 891, 1313, 119, 13, 8197, 8197, 16289, 800, 3726, 3726, 7608, 80, 25, 21, 161, 20, 1718, 21, 1231, 1923, 1313, 119, 137, 8, 165, 8, 16289, 19, 21, 4698, 89, 119, 4033, 5433, 60, 54, 107, 31, 510, 57, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How to assign keyboard shortcut to Source Control commands in Visual Studio 2008? === I use Visual C++ 2008 in Visual Studio 2008. I frequently use the following command to diff an open file against its most recent checked-in version: File | Source Control | Compare... I can also do the same thing by clicking on an icon in the Source Control toolbar. I'm not certain, but I believe this command is the same for any source control plugin (I happen to use the Perforce plugin.) I'd like to assign a keyboard shortcut to execute this command but I can't seem to find it listed anywhere in dialog where such assignments are normally made: Tools | Customize... | Commands Did I just not see the command in the customize dialog? Is there another method to assign such a keyboard shortcut?
0
[ 2, 184, 20, 13952, 8896, 502, 4118, 20, 1267, 569, 14294, 19, 3458, 1120, 570, 60, 800, 3726, 3726, 31, 275, 3458, 272, 20512, 570, 19, 3458, 1120, 570, 9, 31, 3086, 275, 14, 249, 1202, 20, 20811, 40, 368, 3893, 149, 82, 127, 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...
Catching exceptions with tomcat and a servlet === I have set-up tomcat to catch all my exceptions and pass them to a servlet with the following in web.xml. <servlet-mapping> <servlet-name>exception</servlet-name> <url-pattern>/exception</url-pattern> </servlet-mapping> <error-page> <exception-type>java.lang.Exception</exception-type> <location>/exception</location> </error-page> This works fine and I have the servlet logging some information and forwarding to a jsp. However I want to log the URI which caused the exception to be thrown and when I call request.getRequestURI() I get /exception which is my servlet path that's handling logging the exception. How can I get the original URI that caused the exception?
0
[ 2, 9436, 13392, 29, 2067, 5782, 17, 21, 13, 10321, 1336, 800, 3726, 3726, 31, 57, 309, 8, 576, 2067, 5782, 20, 2949, 65, 51, 13392, 17, 1477, 105, 20, 21, 13, 10321, 1336, 29, 14, 249, 19, 2741, 9, 396, 8184, 9, 13, 1, 10321, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
TFS Get Specific Version addin === I am looking for an addin that will allow me to click a button on the VS toolbar and the following actions should happen. 1. On the highlighted project/folder/item from either Source Control Explorer or Solution Explorer, do a 'Get Specific Version' 2. Click those 2 checkboxes, hit OK ![alt text][1] As I find myself doing this so often (I trust it more than the usual 'Get Latest version'), I wanted to see anyone else has already thought about this. If not, I am going to have to write an VS addin myself. [1]: http://img367.imageshack.us/img367/9162/getspecificversionyp9.jpg
0
[ 2, 13, 11720, 18, 164, 1903, 615, 3547, 108, 800, 3726, 3726, 31, 589, 699, 26, 40, 3547, 108, 30, 129, 1655, 55, 20, 10840, 21, 5167, 27, 14, 4611, 5607, 1850, 17, 14, 249, 3078, 378, 2384, 9, 137, 9, 27, 14, 12528, 669, 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...
What's the best version control system for handling projects with graphics? === I'm part of a small team (usually just two people), I handle the code, he handles the graphic design. In the past I've used CVS to handle version control of the code files, and while we've included the graphics in the repository, he hasn't derived nearly as much value from it as I have. Are there other packages that provide the better features for supporting graphics? The system would need to have an easy to use GUI interface, as I don't think it's fair to expect a graphic designer to learn command-line tools.
2
[ 2, 98, 22, 18, 14, 246, 615, 569, 329, 26, 7988, 2314, 29, 8351, 60, 800, 3726, 3726, 31, 22, 79, 141, 16, 21, 284, 173, 13, 5, 13075, 114, 81, 148, 6, 15, 31, 3053, 14, 1797, 15, 24, 3053, 18, 14, 8479, 704, 9, 19, 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...
Which Version of StringComparer to use === If I want to have a case-insensitive string-keyed dictionary, which version of StringComparer should I use given these constraints: - The keys in the dictionary come from either C# code or config files written in english locale only (either US, or UK) - The software is internationalized and will run in different locales I normally use StringComparer.InvariantCultureIgnoreCase but wasn't sure if that is the correct case. Here is example code: Dictionary< string, object> stuff = new Dictionary< string, object>(StringComparer.InvariantCultureIgnoreCase);
0
[ 2, 56, 615, 16, 3724, 960, 3574, 106, 20, 275, 800, 3726, 3726, 100, 31, 259, 20, 57, 21, 610, 8, 108, 19435, 3724, 8, 4237, 69, 9186, 15, 56, 615, 16, 3724, 960, 3574, 106, 378, 31, 275, 504, 158, 16747, 45, 13, 8, 14, 5534...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Data Types supported in visual studio 2008 === I just downloaded and installed the latest Adventure Works database from [http://www.codeplex.com/MSFTDBProdSamples/Release/ProjectReleases.aspx?ReleaseId=16040][1] to do some more playing around with LINQ and found that there are some data types that are not natively supported within Visual Studio 2008. I get the "One or more selected items contain a data type that is not supported by the designer." error message. I found that the spatial data type is the issue in this case. My questions are: - What other data types are not inherently supported by Visual Studio that is in SQL Serve 2008? - Why are these types not supported? The second question is I guess the most puzzling to me. I can understand why not all data types would be supported from MySQL, Oracle, Postgre SQL and so forth. I would think that the SQLServer development group, might give a heads up to the Visual Studio development group, you know yell down the hall or something. [1]: http://www.codeplex.com/MSFTDBProdSamples/Release/ProjectReleases.aspx?ReleaseId=16040
0
[ 2, 1054, 2551, 1827, 19, 3458, 1120, 570, 800, 3726, 3726, 31, 114, 23887, 17, 4066, 14, 5736, 5270, 693, 6018, 37, 636, 21127, 6903, 6483, 9, 9375, 11326, 9, 960, 118, 79, 18, 3072, 9007, 2740, 43, 6101, 18534, 118, 15202, 118, 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...
mosso versus gogrid which is better? === I have reasonable experience to manage my own server, so gogrid style management is not a problem. But seems mosso is a tag cheaper somewhat- except the very difficult to access compute cycles terms. Anyone could share about this would be very welcomed.
0
[ 2, 8188, 111, 5706, 162, 16375, 56, 25, 574, 60, 800, 3726, 3726, 31, 57, 9954, 1496, 20, 4705, 51, 258, 8128, 15, 86, 162, 16375, 1034, 1097, 25, 52, 21, 1448, 9, 47, 2206, 8188, 111, 25, 21, 3383, 18580, 4131, 8, 1613, 14, 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...
C# Custom ListView === Does anyone have any info on creating/drawing a customised ListView object? Currently Im working on a project that requires a customised look and feel within the application. I am using a standard (Windows.Forms) ListView which is not in the same style as the rest of the GUI. We are NOT using a toolbox for custom controls, all controlls are 'skinned' inhouse as it were by overriding hte OnPaint() method for each control. What Im looking for is: - Information about how to handle drawing of the Scroll Bar. - How to use customised drawing routines to handle the column headers. - How to still handle the data shown and draw that correctly. Any and all help would be greatly received.
0
[ 2, 272, 5910, 5816, 968, 4725, 800, 3726, 3726, 630, 1276, 57, 186, 15404, 27, 2936, 118, 3030, 3546, 21, 5816, 2541, 968, 4725, 3095, 60, 871, 797, 638, 27, 21, 669, 30, 4781, 21, 5816, 2541, 361, 17, 583, 363, 14, 3010, 9, 31,...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Do you know how to execute storeprocedure using Castle.ActiveRecord? === I believe there is a discussion on this very topic somewhere on the net but I happen to lost the url even googling doesn't help. What I might try right now would be ISessionFactoryHolder factoryHolder = ActiveRecordMediator<EntityClass>.GetSessionFactoryHolder(); ISession session = factoryHolder.CreateSession(typeof(EntityClass)); try { IDbCommand cmd = session.Connection.CreateCommand(); cmd.CommandText = "spName"; cmd.ExecuteNonQuery(); } catch(Exception ex) { } finally { factoryHolder.ReleaseSession(session); } but I am not quiet sure is this is the right way to do or there is a better way.
0
[ 2, 107, 42, 143, 184, 20, 15644, 1718, 15617, 69, 4221, 568, 1339, 9, 7889, 14953, 60, 800, 3726, 3726, 31, 985, 80, 25, 21, 5460, 27, 48, 253, 8303, 3493, 27, 14, 4275, 47, 31, 2384, 20, 529, 14, 287, 6362, 166, 162, 5598, 80...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
ASP.NET Web Dev: Map one directory to another? === We are thinking of renaming our web directory schema to be more user friendly. However, we need any URL requests for the old directory structure to forward to the new one. so.... How do I forward requests for all of these: http://mydomain.com/OLDdirname/ http://mydomain.com/OLDdirname/samesubdir/ http://mydomain.com/OLDdirname/samesubdir/samescript.aspx to each of these respectively: http://mydomain.com/NEWdirname/ http://mydomain.com/NEWdirname/samesubdir/ http://mydomain.com/NEWdirname/samesubdir/samescript.aspx Any suggestions and perhaps some general guidance as far as gotchas?
0
[ 2, 28, 306, 9, 2328, 2741, 9664, 45, 2942, 53, 16755, 20, 226, 60, 800, 3726, 3726, 95, 50, 1440, 16, 25934, 318, 2741, 16755, 23874, 20, 44, 91, 4155, 4753, 9, 207, 15, 95, 376, 186, 287, 6362, 12279, 26, 14, 315, 16755, 1411, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Online Computer Science articles repository? === When I need some complex algorithm I first check if there's anything relevant already published on the Internet. 10 times out of 10 I'll find that someone already have figured out a solution much smarter than what I would have thought of. Apart from a generic Google search, I use: * **[Citeseer][1]** That has a lot of good theoric reports from Universities * **[Dr Dobb's Portal][2]** More practical than Citeseer but very often too specific to a particular technology or language * **[Arxiv][3]** Even more theoretic contains draft and pre-pring (just in case I'm desperate :) ) I've also found the **[J.UCS][4]** (Journal of Universal Computer Science) containing some interesting articles (but i've not really used any of the info I found there). Do you know of any other place where good CS articles can be searched and read for free? As a side note, does anyone find reasonable that ACM, IEEE and other scientific publishers ask from 10 to 40 dollars for a single article in pdf format? I mean, the authors are professors that are paid by the Universities and that usally offer the same article (or a pre-print or a somthing similar) for free on their site and 40$ is the price of good printed book with all the associated costs! I respect publishes' right to do their business but I think knowledge should be more accessible and the price seems really too high to me! [1]: http://citeseerx.ist.psu.edu/ [2]: http://www.ddj.com [3]: http://arxiv.org/ [4]: http://www.jucs.org/
0
[ 2, 2087, 1428, 762, 3376, 24869, 60, 800, 3726, 3726, 76, 31, 376, 109, 1502, 9083, 31, 64, 2631, 100, 80, 22, 18, 602, 7480, 614, 467, 27, 14, 2620, 9, 332, 436, 70, 16, 332, 31, 22, 211, 477, 30, 737, 614, 57, 5700, 70, 21...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Delphi TThread.CurrentThread and EAccessViolation - Is This a Bug or My Incompetence..? === In Delphi 2009 I'm finding that any time I use TThread.CurrentThread in an application, I'll get an error message like the following when the application closes: Exception EAccessViolation in module ntdll.dll at 0003DBBA. Access violation at address 7799DBBA in module 'ntdll.dll'. Write of address 00000014. Unless it's just my machine, you can replicate this in a few seconds: create a new Delphi Forms Application, add a button to the form, and use something like the following for the button's event handler: procedure TForm1.Button1Click(Sender: TObject); begin TThread.CurrentThread; end; On both my Vista machine and my XP machine I'm finding that, if I *don't* click the button everything's fine, but if I *do* click the button I get the above error message when I close the application. So... I'm wondering if this is a bug, but at the same time I think it's rather likely that I'm simply not understanding something very basic about how you're supposed to work with TThreads in Delphi. I am a bit of a Delphi newbie I'm afraid. Is there something obviously wrong with using TThread.CurrentThread like that? If not, and you have Delphi 2009, do you get the same problem if you implement my simple sample project?
0
[ 2, 23030, 13, 38, 96, 10647, 9, 17657, 96, 10647, 17, 13, 62, 20604, 13327, 10832, 13, 8, 25, 48, 21, 6256, 54, 51, 19, 960, 6240, 2940, 9, 9, 60, 800, 3726, 3726, 19, 23030, 588, 31, 22, 79, 3007, 30, 186, 85, 31, 275, 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...
Marshal C++ struct array into C# === I have the following struct in C++: #define MAXCHARS 15 typedef struct { char data[MAXCHARS]; int prob[MAXCHARS]; } LPRData; And a function that I'm p/invoking into to get an array of 3 of these structures: void GetData(LPRData *data); In C++ I would just do something like this: LPRData *Results; Results = (LPRData *)malloc(MAXRESULTS*sizeof(LPRData)); GetData( Results ); And it would work just fine, but in C# I can't seem to get it to work. I've created a C# struct like this: public struct LPRData { /// char[15] [MarshalAsAttribute(UnmanagedType.ByValTStr, SizeConst = 15)] public string data; /// int[15] [MarshalAsAttribute(UnmanagedType.ByValArray, SizeConst = 15)] public int[] prob; } And if I initialize an array of 3 of those (and all their sub-arrays) and pass it into this: GetData(LPRData[] data); It returns with success, but the data in the LPRData array has not changed. I've even tried to create a raw byte array the size of 3 LPRData's and pass that into a function prototype like this: GetData(byte[] data); But in that case I will get the "data" string from the very first LPRData structure, but nothing after it, including the "prob" array from the same LPRData. Any ideas of how to properly handle this?
0
[ 2, 7583, 272, 20512, 13, 10346, 7718, 77, 272, 5910, 800, 3726, 3726, 31, 57, 14, 249, 13, 10346, 19, 272, 20512, 45, 6926, 546, 7509, 2049, 5433, 18, 357, 1001, 13862, 13, 10346, 13, 1, 4892, 1054, 2558, 8304, 5433, 18, 12660, 19...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Analysis Service - Proactive caching failing === For a while the proactive caching process successfully sync the OLAP databse and then is starts giving the following error 'Errors in the OLAP storage engine: The attribute key cannot be found:' followed by spesific data related information. I do not however have a problem if I manually process the databse with the 'Transactional Deployement' option set to True. I have set the data source isolation mode to snapshot and MARS connection setting to True on the connection string plus on the database side we have set the database property ALLOW SNAPSHOT_ISOLATION to ON and verified it. Can anyone help or give some suggestions
0
[ 2, 2495, 365, 13, 8, 895, 7889, 1658, 7192, 7250, 800, 3726, 3726, 26, 21, 133, 14, 895, 7889, 1658, 7192, 953, 3673, 6063, 150, 14, 13, 2268, 306, 1054, 220, 870, 17, 94, 25, 3244, 1438, 14, 249, 7019, 13, 22, 29992, 18, 19, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Is it safe to just copy a SVN repository to an external HDD? === Right now, my SVN repository is on my laptop's HDD (although I use a code hosting service for more "critical" personal projects) and I just copy the directory over on a weekly basis (which will eventually be scripted or perhaps I'll make an app for the hell of it). Am I at risk for corrupting my SVN repository? So far, I haven't had any problems with the original or the copy, but that doesn't mean that I'm not at risk in the future.
0
[ 2, 25, 32, 1834, 20, 114, 4344, 21, 13, 18, 16578, 24869, 20, 40, 4886, 8590, 43, 60, 800, 3726, 3726, 193, 130, 15, 51, 13, 18, 16578, 24869, 25, 27, 51, 12294, 22, 18, 8590, 43, 13, 5, 8655, 31, 275, 21, 1797, 10637, 365, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Expose Java class as SOAP WebService - how ? === I am looking for a framework to turn given Java class into WebService (may be with some limitations on method parameters etc) Thanks
0
[ 2, 13833, 8247, 718, 28, 6447, 2741, 11449, 13, 8, 184, 13, 60, 800, 3726, 3726, 31, 589, 699, 26, 21, 6596, 20, 805, 504, 8247, 718, 77, 2741, 11449, 13, 5, 3904, 44, 29, 109, 14070, 27, 2109, 12905, 2722, 6, 3669, 3, 0, 0, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
How should one unit test the hashCode-equals contract? === In a nutshell, the hashCode contract, according to Java's object.hashCode(): 1. The hash code shouldn't change unless something affecting equals() changes 2. equals() implies hash codes are == Let's assume interest primarily in immutable data objects - their information never changes after they're constructed, so #1 is assumed to hold. That leaves #2: the problem is simply one of confirming that equals implies hash code ==. Obviously, we can't test every conceivable data object unless that set is trivially small. So, what is the best way to write a unit test that is likely to catch the common cases? Since the instances of this class are immutable, there are limited ways to construct such an object; this unit test should cover all of them if possible. Off the top of my head, the entry points are the constructors, deserialization, and constructors of subclasses (which should be reducible to the constructor call problem). [I'm going to try to answer my own question via research. Input from other StackOverflowers is a welcome safety mechanism to this process.] [This could be applicable to other OO languages, so I'm adding that tag.]
0
[ 2, 184, 378, 53, 1237, 1289, 14, 19170, 9375, 8, 62, 14512, 18, 1305, 60, 800, 3726, 3726, 19, 21, 8619, 15984, 15, 14, 19170, 9375, 1305, 15, 496, 20, 8247, 22, 18, 3095, 9, 25436, 9375, 5, 6, 45, 137, 9, 14, 19170, 1797, 571...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
ASP.NET GridView CommandField Update/Cancel does not wrap === My question is on the ASP.NET GridView control. I am using a CommandField in the Columns tag as seen below. <asp:CommandField ShowEditButton="True" HeaderStyle-Width="40px" UpdateText="Save" ButtonType="Link" HeaderStyle-Wrap="true" ItemStyle-Wrap="true" ItemStyle-Width="40px"/> <pre> What renders is the shown in the following image (after I click on the Edit button). </pre> ![alt text][1] As you can see **I am trying to have the Cancel link show up a new line and my question is how do you do that?** If I change the ButtonType="Link" to ButtonType="Button", I get it rendering correctly as shown below. ![alt text][2] I've tried google already and maybe I'm not searching on the right tags but I couldn't see this one addressed before. Appreciate any help. Thank you. [1]: http://i33.tinypic.com/5dpdad.jpg [2]: http://i38.tinypic.com/2pqopxi.jpg
0
[ 2, 28, 306, 9, 2328, 7354, 4725, 1202, 1109, 11100, 118, 1245, 11040, 630, 52, 8118, 800, 3726, 3726, 51, 1301, 25, 27, 14, 28, 306, 9, 2328, 7354, 4725, 569, 9, 31, 589, 568, 21, 1202, 1109, 19, 14, 7498, 3383, 28, 541, 1021, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Inheriting from an ASP.NET web control: "Element <name> is not a known element" === I'm attempting to create a custom calendar control that inherits from ASP.Net's built in calendar user control. the code-behind file for my control looks like this: public partial class WeeklyEventsCalendar : Calendar { protected void Page_Load(object sender, EventArgs e) { } } and compiles fine. However, when I try to place my custom control on an aspx page: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="testbed.aspx.cs" Inherits="testbed" %> <%@ Register Src="UserControls/WeeklyEventsCalendar.ascx" TagName="WeeklyEventsCalendar" TagPrefix="mvs" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head1" runat="server"> <title>Untitled Page</title> <link href="~/css/VitalSignsStyleSheet.css" type="text/css" rel="stylesheet" /> </head> <body> <div> <mvs:WeeklyEventsCalendar runat="server" /> </div> </body> </html> I get a warning **'Element WeeklyEventsCalendar is not a known element. This can occur if there is a compilation error in the web site, or the web.config file is missing.'** Attempting I don't get any sort of 'file not found' error like I have in the past when I mis-typed the location of the file. When I attempt to load aspx page in a browser, I get error CS0115: **'ASP.usercontrols_weeklyeventscalendar_ascx.FrameworkInitialize()': no suitable method found to override** Which is even more confusing, because nowhere in my code do I attempt to define such a function. This should be really simple. Where am I going wrong?
0
[ 2, 17569, 68, 37, 40, 28, 306, 9, 2328, 2741, 569, 45, 13, 7, 27567, 13, 1, 7259, 1, 25, 52, 21, 167, 4520, 7, 800, 3726, 3726, 31, 22, 79, 6314, 20, 1600, 21, 5816, 7036, 569, 30, 17569, 18, 37, 28, 306, 9, 2328, 22, 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...
Caching Application Block Error === Has anyone seen this error before? An error occurred creating the configuration section handler for cachingConfiguration: Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.Caching, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) (C:\WorkingDir\Projects\ReportCentral\ReportCentral\bin\Debug\ReportCentral.vshost.exe.config line 5) I am using Ent Lib 4.0. I changed my App Traget Framework from 2.0 to 3.5. Thanks
0
[ 2, 1658, 7192, 3010, 1921, 7019, 800, 3726, 3726, 63, 1276, 541, 48, 7019, 115, 60, 40, 7019, 2437, 2936, 14, 8091, 1050, 24641, 26, 1658, 7192, 1126, 13549, 857, 45, 110, 52, 6305, 3893, 54, 1475, 13, 22, 22019, 12980, 9, 7310, 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...
Do you personally identify with your code? === On the latest episode of the Stack Overflow podcast ([episode #25][1]), [Steve Yeggie][2] mentioned how bad it was to get emotional with your favorite framework, language, technology, etc. Do you call yourself a <*insert your language here*> developer? Is this a good thing? [1]: http://blog.stackoverflow.com/2008/10/podcast-25/ [2]: http://steve-yegge.blogspot.com/
0
[ 2, 107, 42, 7200, 5808, 29, 154, 1797, 60, 800, 3726, 3726, 27, 14, 5736, 942, 16, 14, 7566, 20285, 15124, 13, 5, 2558, 13397, 7921, 264, 500, 2558, 165, 500, 6, 15, 636, 21497, 3617, 19086, 62, 500, 2558, 135, 500, 2211, 184, 8...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Simple animation using C#/Windows Forms === I need to knock out a quick animation in C#/Windows Forms for a Halloween display. Just some 2D shapes moving about on a solid background. Since this is just a quick one-off project I ***really*** don't want to install and learn an entire new set of tools for this. (DirectX dev kits, Silverlight, Flash, etc..) I also have to install this on multiple computers so anything beyond the basic .Net framework (2.0) would be a pain in the arse. For tools I've got VS2k8, 25 years of development experience, a wheelbarrow, holocaust cloak, and about 2 days to knock this out. I haven't done animation since using assembler on my Atari 130XE (hooray for page flipping and player/missile graphics!) Advice? Here's some of the things I'd like to know: * I can draw on any empty widget (like a panel) by fiddling with it's OnPaint handler, right? That's how I'd draw a custom widget. Is there a better technique than this? * Is there a page-flipping technique for this kind of thing in Windows Forms? I'm not looking for a high frame rate, just as little flicker/drawing as necessary. Thanks.
0
[ 2, 1935, 6236, 568, 272, 5910, 118, 27508, 18, 1997, 800, 3726, 3726, 31, 376, 20, 5307, 70, 21, 2231, 6236, 19, 272, 5910, 118, 27508, 18, 1997, 26, 21, 16195, 3042, 9, 114, 109, 172, 43, 12129, 1219, 88, 27, 21, 2941, 2395, 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...
DataGridView Mouse Selection === I am using a DataGridView control in a Windows Forms application. When a user holds down control to select multiple items, it works fine. Now when the user releases control and clicks (and holds down the left mouse button) to start a drag operation, the selection changes. How can I stop the selection from clearing when the user holds down the left mouse button?
0
[ 2, 1054, 16375, 4725, 7567, 3155, 800, 3726, 3726, 31, 589, 568, 21, 1054, 16375, 4725, 569, 19, 21, 1936, 1997, 3010, 9, 76, 21, 4155, 2763, 125, 569, 20, 5407, 1886, 3755, 15, 32, 693, 1123, 9, 130, 76, 14, 4155, 7073, 569, 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...
Best practices for creating various language-packs on a site? PHP === I've created a language pack for a site before, but I'm not sure if what I'm doing is the best method. Basically, all I have is a file with variables defining string constants. Usually a set of arrays where an array usually refers to a particular elements of the site. Then the site code just includes the appropriate file based on a flag and then echo's out the appropriate array element. What are some ways of doing this to reduce maintenance headaches and performance?
0
[ 2, 246, 5242, 26, 2936, 617, 816, 8, 8573, 18, 27, 21, 689, 60, 13, 26120, 800, 3726, 3726, 31, 22, 195, 679, 21, 816, 3607, 26, 21, 689, 115, 15, 47, 31, 22, 79, 52, 562, 100, 98, 31, 22, 79, 845, 25, 14, 246, 2109, 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...
Custom error pages in Reporting Services 2008 === I'd like to re-brand (and send error emails) for all of the SSRS default error pages (picture below) when you access reports via /ReportServer/. I'm already handling the ASP OnError event and *some* of the default SSRS errors appear to catch their own exceptions and then render this page cancel the response all before the OnError event is ever fired. Any idea on how I can get a handle into SSRS to brand all error pages? ![Reporting Services Error][1] [1]: http://www.jazz2online.com/junk/reporting_error.gif
0
[ 2, 5816, 7019, 4434, 19, 6670, 687, 570, 800, 3726, 3726, 31, 22, 43, 101, 20, 302, 8, 8842, 13, 5, 290, 2660, 7019, 8517, 18, 6, 26, 65, 16, 14, 22118, 18, 12838, 7019, 4434, 13, 5, 25602, 1021, 6, 76, 42, 1381, 2813, 1197, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Quality windows ASP.NET + SQL Server 2005 Web Hosting === Any good recommendation? I have something I intend to charge higher and make sure the reliability. I think I can eat something at about 100/mo.
0
[ 2, 2190, 1936, 28, 306, 9, 2328, 2754, 4444, 255, 8128, 812, 2741, 10637, 800, 3726, 3726, 186, 254, 14066, 60, 31, 57, 301, 31, 13863, 20, 1906, 1184, 17, 233, 562, 14, 17478, 9, 31, 277, 31, 92, 2749, 301, 35, 88, 808, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
How well do Eclipse and Netbeans coexist? === I would like to have both Eclipse and Netbeans (with JUnit) installed on one system, so I can be somewhat familiar with both. Besides GUI development (see "[Using both Eclipse and Netbeans][1]"), are there any other issues with using both IDEs on the same system, or even the same project? [1]: http://stackoverflow.com/questions/174308/using-both-eclipse-and-netbeans
0
[ 2, 184, 134, 107, 11652, 17, 4275, 863, 5950, 326, 1706, 702, 60, 800, 3726, 3726, 31, 83, 101, 20, 57, 156, 11652, 17, 4275, 863, 5950, 13, 5, 1410, 7446, 242, 6, 4066, 27, 53, 329, 15, 86, 31, 92, 44, 4131, 3694, 29, 156, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
XML schema for elements with same name but different sub-structure depending on context === I try to define a schema for XML documents I receive. The documents look like: <root> <items> <group name="G-1"> <item name="I-1"/> <item name="I-2"/> <item name="I-3"/> <item name="I-4"/> </group> </items> <data> <group name="G-1" place="here"> <customer name="C-1"> <item name="I-1" count="3"/> <item name="I-2" count="4"/> </customer> <customer name="C-2"> <item name="I-3" count="7"/> </customer> </group> </data> </root> I tried XmlSpy and xsd.exe from .NET 2.0. Both created schema definitions which allow below `<group>` any number of `<item>` and `<customer>` elements. But what I'm looking for should restrict `<group>` below `<items>` to `<item>` elements, and `<group>` below `<data>` to `<customer>` elements. Is this something xml schema is not capable at all?
0
[ 2, 23504, 23874, 26, 2065, 29, 205, 204, 47, 421, 972, 8, 13971, 4758, 27, 4141, 800, 3726, 3726, 31, 1131, 20, 9267, 21, 23874, 26, 23504, 4374, 31, 2588, 9, 14, 4374, 361, 101, 45, 13, 1, 14032, 1, 13, 1, 2119, 79, 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...
How to connect my Spring + Hibernate based application backend with pure HTML and AJAX based client? === I'd like to call methods of my DAOs by AJAX. I'm quite new in that so I would like to ask what is the best way to do that. Is it possible to publish my beans as web services and call them with e.g. jQuery? I think it is not possible :) I've also read about Direct Web Remoting but I don't know which way to go... As I see, there are lot of experienced guys here so I think you can show me direction.. thanks in advance
0
[ 2, 184, 20, 6379, 51, 1573, 2754, 4148, 2102, 8820, 432, 3010, 97, 2451, 29, 4267, 13, 15895, 17, 20624, 432, 6819, 60, 800, 3726, 3726, 31, 22, 43, 101, 20, 645, 3195, 16, 51, 1331, 759, 34, 20624, 9, 31, 22, 79, 1450, 78, 19...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Prevent views stealing focus / settign focus to a view === I have an MFC sdi app that uses a splitter window to contain a tree control alognside the main view showing the data. When the user selects something in the tree that view keeps focus until the user deliberately clicks in the main data window. This means that any toolbar buttons associated with the main view are disabled. Is there any way to programmatically switch focus back to the main view after the user has clicked the tree control? Or am I doing something fundementally wrong using a CSplitterWnd and 2 views?
0
[ 2, 2501, 4146, 12222, 1776, 13, 118, 309, 38, 9693, 1776, 20, 21, 1418, 800, 3726, 3726, 31, 57, 40, 307, 7061, 13, 18, 1115, 4865, 30, 2027, 21, 2132, 815, 1463, 20, 3717, 21, 1541, 569, 21, 5567, 103, 1416, 14, 407, 1418, 3187...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
How do I add an extra source directory that will be used by the maven-jxr-plugin? === I'm using the build-helper-maven-plugin to add it to my build, but I'd like to see the XREF source for this extra source directory as well. FYI: [maven-jxr-plugin][1] - The JXR plugin produces a cross-reference of the project's sources. The generated reports make it easier for the user to reference or find specific lines of code. It is also handy when used with the PMD plugin for referencing errors found in the code. [build-helper-maven-plugin][2] - This plugin contains various small independent goals to assist with Maven build lifecycle. [1]: http://maven.apache.org/plugins/maven-jxr-plugin/index.html [2]: http://mojo.codehaus.org/build-helper-maven-plugin/index.html
0
[ 2, 184, 107, 31, 3547, 40, 2230, 1267, 16755, 30, 129, 44, 147, 34, 14, 1216, 3124, 8, 728, 396, 139, 8, 18527, 5831, 60, 800, 3726, 3726, 31, 22, 79, 568, 14, 1895, 8, 14593, 106, 8, 540, 3124, 8, 18527, 5831, 20, 3547, 32, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
What is the best control to use to display items from a database? === I'm writing a website that will sell items from one of my classes. It will be linked to a SQL Server db where I will pull pricing, item name, quantity and description. If I wanted to display the items from the database in a thinkgeek fashion, what would be the best control to use so I can custimize the display to actually look ok?
0
[ 2, 98, 25, 14, 246, 569, 20, 275, 20, 3042, 3755, 37, 21, 6018, 60, 800, 3726, 3726, 31, 22, 79, 1174, 21, 2271, 30, 129, 3344, 3755, 37, 53, 16, 51, 2684, 9, 32, 129, 44, 4727, 20, 21, 4444, 255, 8128, 13, 9007, 113, 31, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
Best XML Parser for PHP === I have used the XML Parser before, and even though it worked OK, I wasn't happy with it in general, it felt like I was using workarounds for things that should be basic functionality. I recently saw SimpleXML but I haven't tried it yet. Is it any simpler? What advantages and disadvantages do both have? Any other parsers you've used?
0
[ 2, 246, 23504, 2017, 4104, 26, 13, 26120, 800, 3726, 3726, 31, 57, 147, 14, 23504, 2017, 4104, 115, 15, 17, 166, 362, 32, 577, 5854, 15, 31, 526, 22, 38, 1700, 29, 32, 19, 297, 15, 32, 427, 101, 31, 23, 568, 170, 10037, 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 to run included tests on deployed pylons application === I have installed pylons based application from egg, so it sits somewhere under /usr/lib/python2.5/site-packages. I see that the tests are packaged too and I would like to run them (to catch a problem that shows up on deployed application but not on development version). So how do I run them? Doing "nosetests" from directory containing only test.ini and development.ini gives an error about nonexistent test.ini under site-packages.
0
[ 2, 184, 20, 485, 506, 4894, 27, 6698, 29262, 18, 3010, 800, 3726, 3726, 31, 57, 4066, 29262, 18, 432, 3010, 37, 6387, 15, 86, 32, 7550, 3493, 131, 13, 118, 267, 139, 118, 8326, 118, 6448, 11570, 135, 9, 10551, 9097, 8, 8573, 144...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
ASP.NET multi language website? === How can I transform a website to be able to handle multi language (example : english, french, spanish)? I do not like the resource file because I feel limited and it's pretty long to build the list. Do you have any suggestion?
0
[ 2, 28, 306, 9, 2328, 1889, 816, 2271, 60, 800, 3726, 3726, 184, 92, 31, 8007, 21, 2271, 20, 44, 777, 20, 3053, 1889, 816, 13, 5, 29041, 13, 45, 486, 15, 484, 15, 1273, 6, 60, 31, 107, 52, 101, 14, 6577, 3893, 185, 31, 583, ...
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...