instruction
stringlengths
14
27.6k
completion
stringlengths
3
38.3k
__original_row_idx
int64
0
50k
conversations
listlengths
2
2
I've been wondering about the performance improvements touted in Java SE 6 - is it in the compiler or the runtime? Put another way, would a Java 5 application compiled by JDK 6 see an improvement run under JSE 5 (indicating improved compiler optimization)? Would a Java 5 application compiled by JDK 5 see an improvement...
Java SE 6 introduced several performance improvements, and these enhancements can generally be categorized into two main areas: improvements to the Java compiler and optimizations in the Java runtime (JVM). Here’s how they break down in the context of your questions: 1. **Java Compiler (JDK)**: - When you compile a...
9,788
[ { "from": "human", "value": "I've been wondering about the performance improvements touted in Java SE 6 - is it in the compiler or the runtime? Put another way, would a Java 5 application compiled by JDK 6 see an improvement run under JSE 5 (indicating improved compiler optimization)? Would a Java 5 applica...
How do I use groovy to search+replace in XML? I need something as short/easy as possible, since I'll be giving this code to the testers for their SoapUI scripting. More specifically, how do I turn: <root><data></data></root> into: <root><data>value</data></root>
To perform a search and replace in XML using Groovy in SoapUI, you can use the built-in XmlSlurper and XmlUtil classes. Below is a concise script that will replace the content of the `<data>` tag with the value you want. Here's how you can do this in Groovy: ```groovy def xml = '''<root><data></data></root>''' def ne...
13,602
[ { "from": "human", "value": "How do I use groovy to search+replace in XML?\nI need something as short/easy as possible, since I'll be giving this code to the testers for their SoapUI scripting.\nMore specifically, how do I turn:\n<root><data></data></root>\n\ninto:\n<root><data>value</data></root>\n\n" },...
I have a page in my vb.net web application that needs to toss a bunch of data into a text file and then present it to the user for download. What's the best / most efficient way to build such a text file on a .net web server? Edit: to answer a question down below, this is going to be a download once and then throw-awa...
To create a text file for download in a VB.NET web application, you can follow these steps: 1. **Generate the Text Data**: First, you will need to create the text data that you want to store in the file. This could be data generated from your application or pulled from a database. 2. **Create the Text File**: You wil...
12,632
[ { "from": "human", "value": "I have a page in my vb.net web application that needs to toss a bunch of data into a text file and then present it to the user for download. What's the best / most efficient way to build such a text file on a .net web server?\nEdit: to answer a question down below, this is goin...
First, yes I know about this question, but I'm looking for a bit more information that that. I have actually, a fairly similar problem, in that I need to be able to capture input for mouse/keyboard/joystick, and I'd also like to avoid SDL if at all possible. I was more or less wondering if anyone knows where I can get ...
If you're looking to handle input from mouse, keyboard, and joystick devices in Linux without using SDL, there are a few libraries and frameworks you can consider, as well as some low-level approaches. Here are some suggestions, along with resources and tutorials: ### 1. **Using the X11 Library** For applications run...
10,650
[ { "from": "human", "value": "First, yes I know about this question, but I'm looking for a bit more information that that. I have actually, a fairly similar problem, in that I need to be able to capture input for mouse/keyboard/joystick, and I'd also like to avoid SDL if at all possible. I was more or less w...
Why does the JavaScript function encodeURIComponent encode spaces to the hex Unicode value %20 instead of +. Should URI parameters not spaces to +? ­­­­­­­­­­­­­­­­­­­­­­­­­­­
The distinction between how spaces are encoded in URLs and in URI components (URI parameters) is a common source of confusion. Here's a breakdown of the behavior of `encodeURIComponent` and the encoding of spaces: 1. **`encodeURIComponent` Function**: - The `encodeURIComponent` function in JavaScript encodes charac...
14,058
[ { "from": "human", "value": "Why does the JavaScript function encodeURIComponent encode spaces to the hex Unicode value %20 instead of +. Should URI parameters not spaces to +?\n­­­­­­­­­­­­­­­­­­­­­­­­­­­\n" }, { "from": "gpt", "value": "The distinction between how spaces are encoded in URLs an...
What is the architectural reason for the column names prefixed with "Lowered" in the SQL schema for ASP.Net membership and friends? Some examples of the columns in question are below: aspnet_Applications.LoweredApplicationName aspnet_users.LoweredUserName aspnet_membership.LowerEmail I see that the lowered columns ...
The presence of columns prefixed with "Lowered" in the ASP.NET Membership and roles schemas serves a specific purpose related to case-insensitive comparisons and performance optimization. ### Reasons for "Lowered" Columns: 1. **Case-Insensitive Comparisons**: - In many databases, string comparisons can be case-sen...
13,234
[ { "from": "human", "value": "What is the architectural reason for the column names prefixed with \"Lowered\" in the SQL schema for ASP.Net membership and friends? Some examples of the columns in question are below:\n\naspnet_Applications.LoweredApplicationName \naspnet_users.LoweredUserName\naspnet_members...
I'm trying this with Oracle SQL Developer and am on an Intel MacBook Pro. But I believe this same error happens with other clients. I can ping the server hosting the database fine so it appears not to be an actual network problem. Also, I believe I'm filling in the connection info correctly. It's something like this...
When trying to connect to an Oracle database and facing issues even though you can ping the server, there are several areas to troubleshoot. Here are some steps and considerations that may help you diagnose and fix the connection issue: ### 1. **Verify Connection Information** Make sure all your connection parameters ...
5,774
[ { "from": "human", "value": "I'm trying this with Oracle SQL Developer and am on an Intel MacBook Pro. But I believe this same error happens with other clients. I can ping the server hosting the database fine so it appears not to be an actual network problem.\nAlso, I believe I'm filling in the connection...
The GetVersions() call to the Versions.asmx web service in SharePoint 2003 returns a localised date format, with no way of determining what the format is. It's the site regional setting of date format, but I can't find a way to get even that out of SharePoint 2003. Locally, it looks like SPRegionalSettings can be used ...
In SharePoint 2003, obtaining the regional settings such as the date format through a web service is not directly supported. The `SPRegionalSettings` class is part of the server-side API and does not have a direct counterpart in the web services provided by SharePoint 2003. However, you can try the following approache...
13,128
[ { "from": "human", "value": "The GetVersions() call to the Versions.asmx web service in SharePoint 2003 returns a localised date format, with no way of determining what the format is. It's the site regional setting of date format, but I can't find a way to get even that out of SharePoint 2003. Locally, it l...
Are there any good tools to generate JavaScript? I remember in .NET, there was Script# - don't know its status today. Anyone have experience with any tools?
There are several tools and frameworks available today that can help you generate or write JavaScript, each with different purposes and features. Here are some popular ones: 1. **TypeScript**: TypeScript is a superset of JavaScript that compiles to plain JavaScript. It adds static typing and other features that can he...
11,543
[ { "from": "human", "value": "Are there any good tools to generate JavaScript? I remember in .NET, there was Script# - don't know its status today. \nAnyone have experience with any tools? \n" }, { "from": "gpt", "value": "There are several tools and frameworks available today that can help you g...
I've added cookie support to SOAPpy by overriding HTTPTransport. I need functionality beyond that of SOAPpy, so I was planning on moving to ZSI, but I can't figure out how to put the Cookies on the ZSI posts made to the service. Without these cookies, the server will think it is an unauthorized request and it will fa...
To add cookies from a Python `CookieJar` to requests made by ZSI (Zolera SOAP Infrastructure), you can subclass `SOAPProxy` or create a custom transport that utilizes the standard `httplib` library (or another HTTP client library) that supports cookies. The ZSI library does not natively handle cookies, so you need to m...
11,895
[ { "from": "human", "value": "I've added cookie support to SOAPpy by overriding HTTPTransport. I need functionality beyond that of SOAPpy, so I was planning on moving to ZSI, but I can't figure out how to put the Cookies on the ZSI posts made to the service. Without these cookies, the server will think it ...
I'm making a request from an UpdatePanel that takes more then 90 seconds. I'm getting this timeout error: Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerTimeoutException: The server request timed out. Does anyone know if there is a way to increase the amount of time before the call times out?
Yes, you can increase the timeout for your AJAX requests made through an UpdatePanel in ASP.NET. The default timeout for the `PageRequestManager` is 90 seconds, but you can adjust it. Here’s how you can do it: ### Adjusting the `ScriptManager` Timeout You can set the `AsyncPostBackTimeout` property of the `ScriptMan...
14,208
[ { "from": "human", "value": "I'm making a request from an UpdatePanel that takes more then 90 seconds. I'm getting this timeout error:\n\nMicrosoft JScript runtime error:\n Sys.WebForms.PageRequestManagerTimeoutException: The server request\n timed out.\n\nDoes anyone know if there is a way to increase th...
I've got a local .mdf SQL database file that I am using for an integration testing project. Everything works fine on the initial machine I created the project, database, etc. on, but when I try to run the project on another machine I get the following: System.Data.SqlClient.SqlException : A connection was successfully ...
The error message you're encountering suggests that there's a problem with the connection to the SQL Server instance when trying to access the `.mdf` file on the new machine. Here are several steps to troubleshoot and potentially fix the issue: ### 1. **Check SQL Server Installation** Make sure that SQL Server (and th...
11,350
[ { "from": "human", "value": "I've got a local .mdf SQL database file that I am using for an integration testing project. Everything works fine on the initial machine I created the project, database, etc. on, but when I try to run the project on another machine I get the following:\nSystem.Data.SqlClient.Sql...
Is it possible to use both JScript and VBScript in the same HTA? Can I call VBScript functions from JScript and vice-versa? Are there any "gotchas," like the JScript running first and the VBScript running second (classic ASP pages have this issue).
Yes, you can use both JScript and VBScript in the same HTML Application (HTA), and you can call functions between the two scripting languages. HTAs allow for the use of both scripts since they are based on the HTML and are executed in a Windows environment where both engines are available. Here are some key points to ...
8,898
[ { "from": "human", "value": "Is it possible to use both JScript and VBScript in the same HTA? Can I call VBScript functions from JScript and vice-versa? Are there any \"gotchas,\" like the JScript running first and the VBScript running second (classic ASP pages have this issue).\n" }, { "from": "gpt...
So if the user types mydomain.com/dashboard, the document the server actually sends them is /launch.php?i=/dashboard. The one caveat is that I would like to leave requests for /flags /people /posters /css /icons /images /libraries /patterns alone, and they should request the actual folder. How would I create such a m...
To achieve the desired URL rewriting using Apache's `mod_rewrite`, you can create rules in your `.htaccess` file or the server configuration. The goal is to rewrite requests that match the pattern (e.g., `/dashboard`) to `/launch.php?i=/dashboard` while excluding specific paths (like `/flags`, `/people`, etc.) from bei...
13,854
[ { "from": "human", "value": "So if the user types mydomain.com/dashboard, the document the server actually sends them is /launch.php?i=/dashboard.\nThe one caveat is that I would like to leave requests for\n\n/flags\n/people\n/posters\n/css\n/icons\n/images\n/libraries\n/patterns\n\nalone, and they should r...
Assume that we have N erlang nodes, running same application. I want to share an mnesia table T1 with all N nodes, which I see no problem. However, I want to share another mnesia table T2 with pairs of nodes. I mean the contents of T2 will be identical and replicated to/with only sharing pair. In another words, I want ...
Mnesia, the distributed database management system that comes with Erlang, has support for distributed tables, but it doesn't natively support the idea of having a table shared only between specific pairs of nodes without some workarounds. When you create a table in Mnesia, it is accessible to all nodes in the schema u...
12,790
[ { "from": "human", "value": "Assume that we have N erlang nodes, running same application. I want\nto share an mnesia table T1 with all N nodes, which I see no problem.\nHowever, I want to share another mnesia table T2 with pairs of nodes.\nI mean the contents of T2 will be identical and replicated to/with\...
How can I combine multiple PDFs into one PDF without a 3rd party component?
You can combine multiple PDFs into one PDF using built-in tools available on various operating systems. Here are some methods for combining PDFs without relying on third-party software: ### For Windows 1. **Using Microsoft Print to PDF**: - Open the first PDF in a PDF viewer (like Microsoft Edge). - Print the d...
12,375
[ { "from": "human", "value": "How can I combine multiple PDFs into one PDF without a 3rd party component?\n" }, { "from": "gpt", "value": "You can combine multiple PDFs into one PDF using built-in tools available on various operating systems. Here are some methods for combining PDFs without relyi...
I've searched a lot for an answer for this question in the web: they say it's true, SBCL doesn't work under Vista. But I really need to work with lisp on my home Vista laptop and VM doesn't help really... And CL is not so interesting because of speed... If you have any recommendation, please share!
SBCL (Steel Bank Common Lisp) is a highly regarded Common Lisp implementation, but it can encounter compatibility issues on certain versions of Windows, including Vista. However, there are a few alternatives and workarounds you can consider for working with Lisp on your Vista laptop: 1. **Clozure CL (CCL)**: This is a...
15,167
[ { "from": "human", "value": "I've searched a lot for an answer for this question in the web: they say it's true, SBCL doesn't work under Vista.\nBut I really need to work with lisp on my home Vista laptop and VM doesn't help really...\nAnd CL is not so interesting because of speed...\nIf you have any recomm...
Let's say we have index.php and it is stored in /home/user/public/www and index.php calls the class Foo->bar() from the file inc/app/Foo.class.php. I'd like the bar function in the Foo class to get a hold of the path /home/user/public/www in this instance — I don't want to use a global variable, pass a variable, etc.
If you want the `bar` function in the `Foo` class to access the directory path `/home/user/public/www` without using global variables or passing variables, you can utilize PHP's magic constants and the built-in `__DIR__` constant. Here's how you can achieve that: 1. Inside the `Foo.class.php`, you can define the `ba...
14,931
[ { "from": "human", "value": "Let's say we have index.php and it is stored in /home/user/public/www and index.php calls the class Foo->bar() from the file inc/app/Foo.class.php. \nI'd like the bar function in the Foo class to get a hold of the path /home/user/public/www in this instance — I don't want to use...
Are there any good tools out there for automatically converting non-Java source code into Java source? I'm not expecting something perfect, just to get the worst of the grunt work out of the way. I guess there is a sliding scale of difficulty. C# should be relatively easy (so long as you ignore all the libraries). (wel...
Converting non-Java source code to Java can indeed be a challenging task, and there are several tools available that can help with this process. Here’s a list of some options you might consider, keeping in mind that while they can automate parts of the translation process, manual adjustments are usually necessary: ###...
11,613
[ { "from": "human", "value": "Are there any good tools out there for automatically converting non-Java source code into Java source?\nI'm not expecting something perfect, just to get the worst of the grunt work out of the way.\nI guess there is a sliding scale of difficulty. C# should be relatively easy (so ...
We have the requirement to take a form submission and save some data, then redirect the user to a page offsite, but in redirecting, we need to "submit" a form with POST, not GET. I was hoping there was an easy way to accomplish this, but I'm starting to think there isn't. I think I must now create a simple other page,...
To achieve a form submission via POST to an external URL while avoiding the complexity of redirecting through an intermediary page, you can use JavaScript to dynamically create and submit a form directly on the client side. This approach eliminates the need for an intermediate page and keeps the process streamlined. H...
8,249
[ { "from": "human", "value": "We have the requirement to take a form submission and save some data, then redirect the user to a page offsite, but in redirecting, we need to \"submit\" a form with POST, not GET.\nI was hoping there was an easy way to accomplish this, but I'm starting to think there isn't. I ...
What is the added value for learning F# when you are already familiar with LISP?
Learning F# can provide several added values, even if you are already familiar with LISP. Here are some key points that highlight the benefits of learning F# for someone with a background in LISP: 1. **Functional Programming Paradigm**: Both F# and LISP are functional programming languages, but they approach functiona...
11,320
[ { "from": "human", "value": "What is the added value for learning F# when you are already familiar with LISP?\n" }, { "from": "gpt", "value": "Learning F# can provide several added values, even if you are already familiar with LISP. Here are some key points that highlight the benefits of learnin...
It seems that anyone can snoop on incoming/outgoing .NET web service SOAP messages just by dropping in a simple SoapExtension into the bin folder and then plumbing it in using: <soapExtensionTypes> <add type="MyLoggingSoapExtension, SoapLoggingTools" priority="0" group="High" /> <soapExtensionTypes> Is there a way t...
In a .NET web service, managing and controlling the use of `SoapExtension` is indeed crucial for security and to prevent unauthorized snooping or manipulation of SOAP messages. Here are some approaches you can consider to limit or discourage the use of SOAP extensions in your web service: 1. **Code Access Security (CA...
13,108
[ { "from": "human", "value": "It seems that anyone can snoop on incoming/outgoing .NET web service SOAP messages just by dropping in a simple SoapExtension into the bin folder and then plumbing it in using:\n<soapExtensionTypes>\n <add type=\"MyLoggingSoapExtension, SoapLoggingTools\" priority=\"0\" group=\...
Is it possible to retrieve items from a Python dictionary in the order that they were inserted?
Yes, it is possible to retrieve items from a Python dictionary in the order they were inserted. Starting from Python 3.7, dictionaries maintain the insertion order as an official part of the language specification. This means that if you insert items into a dictionary, they will be iterated in the order they were added...
15,920
[ { "from": "human", "value": "Is it possible to retrieve items from a Python dictionary in the order that they were inserted?\n" }, { "from": "gpt", "value": "Yes, it is possible to retrieve items from a Python dictionary in the order they were inserted. Starting from Python 3.7, dictionaries mai...
I run Vista (business x32) on my work machine, in which I do ASP.NET development. Because I use IIS to server the sites I build (I do a lot of CMS integrations so I need to use IIS not the inbuilt web development server) I always need to attach to w3wp for debugging. The problem is that w3wp requires elevated permissio...
It sounds like you're facing a frustrating situation with User Account Control (UAC) and Visual Studio on your Vista Business x32 machine. Here are several steps and workarounds that you can try to resolve the issue: ### 1. Check Group Policies Since you're on a domain and this seems to be a policy issue, you may want...
10,038
[ { "from": "human", "value": "I run Vista (business x32) on my work machine, in which I do ASP.NET development. Because I use IIS to server the sites I build (I do a lot of CMS integrations so I need to use IIS not the inbuilt web development server) I always need to attach to w3wp for debugging.\nThe proble...
I've been using various javascript frameworks including mootools, jquery, prototype and scriptaculous and have found them all good, but difficult to extend to more complex ideas. If I am going to knuckle down and learn one, which is the simplest to extend and use whilst staying powerful enough to use in a variety of di...
If you're looking to settle on one JavaScript framework that is both powerful and relatively simple to extend, I'd recommend focusing on **React**. Here are a few reasons why React could be a suitable choice for you: ### 1. **Component-Based Architecture:** - React's core concept is building user interfaces with re...
14,331
[ { "from": "human", "value": "I've been using various javascript frameworks including mootools, jquery, prototype and scriptaculous and have found them all good, but difficult to extend to more complex ideas.\nIf I am going to knuckle down and learn one, which is the simplest to extend and use whilst staying...
How can I start a project in CodePlex.com?
As of my last knowledge update in October 2023, CodePlex has been officially retired since December 15, 2017. It was a project hosting platform created by Microsoft, and since its shutdown, users have been encouraged to migrate to other platforms, such as GitHub, which has become one of the most popular options for hos...
12,733
[ { "from": "human", "value": "How can I start a project in CodePlex.com?\n" }, { "from": "gpt", "value": "As of my last knowledge update in October 2023, CodePlex has been officially retired since December 15, 2017. It was a project hosting platform created by Microsoft, and since its shutdown, u...
I have a properties file in java, in which I store all information of my app, like logo image filename, database name, database user and database password. I can store the password encrypted on the properties file. But, the key or passphrase can be read out of the jar using a decompiler. Is there a way to store the db ...
Storing sensitive information such as database passwords in a properties file poses security challenges, especially when the application can be decompiled to expose the secrets. Here are some strategies to securely store and handle sensitive information like a database password in Java applications: ### 1. **Environme...
10,197
[ { "from": "human", "value": "I have a properties file in java, in which I store all information of my app, like logo image filename, database name, database user and database password.\nI can store the password encrypted on the properties file. But, the key or passphrase can be read out of the jar using a d...
I have a fairly standards compliant XHTML+CSS site that looks great on all browsers on PC and Mac. The other day I saw it on FF3 on Linux and the letter spacing was slightly larger, throwing everything out of whack and causing unwanted wrapping and clipping of text. The CSS in question has font-size: 11px; font-family:...
It sounds like you're encountering a rendering issue that's fairly common when dealing with fonts across different operating systems and browsers. The underlying issue is that the default rendering of fonts can vary significantly from one platform to another, which can lead to differences in letter spacing, line height...
14,508
[ { "from": "human", "value": "I have a fairly standards compliant XHTML+CSS site that looks great on all browsers on PC and Mac. The other day I saw it on FF3 on Linux and the letter spacing was slightly larger, throwing everything out of whack and causing unwanted wrapping and clipping of text. The CSS in q...
I've always used Subversion or CVS for version control, which use a 'merge' methodology. One of my friends raves about Perforce and how great it is with its change lists and check-out methodology. While I'm sure a lot of it comes down to experience & personal preference, I was wondering if any research had been done i...
The discussion about version control systems (VCS) often revolves around the methodologies they use, and indeed, personal preference and experience play significant roles in how effective a system feels to a user. Each of the systems you've mentioned—Subversion (SVN), CVS, and Perforce—has its own strengths and weaknes...
4,069
[ { "from": "human", "value": "I've always used Subversion or CVS for version control, which use a 'merge' methodology. One of my friends raves about Perforce and how great it is with its change lists and check-out methodology.\nWhile I'm sure a lot of it comes down to experience & personal preference, I was...
For the life of me, I can't remember how to set, delete, toggle or test a bit in a bitfield. Either I'm unsure or I mix them up because I rarely need these. So a "bit-cheat-sheet" would be nice to have. For example: flags = flags | FlagsEnum.Bit4; // Set bit 4. or if ((flags & FlagsEnum.Bit4)) == FlagsEnum.Bit4) // ...
Certainly! Using a `[Flags]` enum in C# can be quite handy when you need to manage a set of binary flags. Below is a cheat sheet for the common bit manipulation operations: setting, clearing (deleting), toggling, and testing bits. First, here's an example of how to define a `[Flags]` enum: ```csharp [Flags] public en...
9,017
[ { "from": "human", "value": "For the life of me, I can't remember how to set, delete, toggle or test a bit in a bitfield. Either I'm unsure or I mix them up because I rarely need these. So a \"bit-cheat-sheet\" would be nice to have.\nFor example: \nflags = flags | FlagsEnum.Bit4; // Set bit 4.\n\nor\nif (...
I started using Sandcastle some time ago to generate a Documentation Website for one of our projects. It's working quite well but we've always only written documentation for classes, methods, properties (...) in our project and had completely separate documentation for the overall project and project parts/modules/name...
In Sandcastle, merging documentation from different sources and adding custom documentation to namespaces can be a bit tricky, but it is indeed possible. Here's how you can achieve this: ### 1. Namespace Documentation Comments As you've discovered, simply adding comments directly to the namespace declaration won't wo...
12,843
[ { "from": "human", "value": "I started using Sandcastle some time ago to generate a Documentation Website for one of our projects. It's working quite well but we've always only written documentation for classes, methods, properties (...) in our project and had completely separate documentation for the overa...
Background: I need to reserve an amount of memory below 0xA0000 prior to my operating system starts. To do this I change the 0040:0013 (or 0x413) word which is the amount of low memory available in KiB. However, Windows and other operating systems use E820h/INT15h to query the memory layout and some BIOS:es doesn't ref...
Reserving low memory before the operating system starts can be a complex task, particularly when dealing with different BIOS implementations and their compatibility with the E820h memory map. Here are some considerations and possible strategies you might explore: ### 1. Use of BIOS Data Area (BDA) and EBDA Poking dire...
11,214
[ { "from": "human", "value": "Background: I need to reserve an amount of memory below 0xA0000 prior to my operating system starts. To do this I change the 0040:0013 (or 0x413) word which is the amount of low memory available in KiB.\nHowever, Windows and other operating systems use E820h/INT15h to query the ...
Starting with the error: Error 81 The OutputPath property is not set for this project. Please check to make sure that you have specified a valid Configuration/Platform combination. Configuration='Staging' Platform='AnyCPU' C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets 490 9 ...
The error you’re encountering indicates that the `OutputPath` property for the Staging configuration of your web deployment project (WDP) is not set correctly. Here are steps you can take to troubleshoot and potentially resolve the issue: 1. **Check the OutputPath Property**: - Open the `.wdproj` file for your WDP ...
13,484
[ { "from": "human", "value": "Starting with the error:\n\nError 81 The OutputPath property is\n not set for this project. Please\n check to make sure that you have\n specified a valid\n Configuration/Platform combination. \n Configuration='Staging' \n Platform='AnyCPU' C:\\WINDOWS\\Microsoft.NET\\Fra...
I have an EAR file that contains two WARs, war1.war and war2.war. My application.xml file looks like this: <?xml version="1.0" encoding="UTF-8"?> <application version="5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee...
The issue you're experiencing with the context root for `war1.war` being set to `/`, leading to a URL of `http://localhost:8080//`, is due to the way web application context roots are defined in an EAR file. When a WAR file is deployed with a context root of `/`, it is treated as the default application root. Therefor...
10,491
[ { "from": "human", "value": "I have an EAR file that contains two WARs, war1.war and war2.war. My application.xml file looks like this:\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<application version=\"5\" xmlns=\"http://java.sun.com/xml/ns/javaee\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" ...
In JavaScript, what is the best way to determine if a date provided falls within a valid range? An example of this might be checking to see if the user input requestedDate is part of the next valid work week. Note that this is not just checking to see if one date is larger than another as a valid date would be equal to...
To determine if a provided date falls within a valid range in JavaScript, you can utilize the `Date` object along with comparison operators. In this specific case, if you want to check if a user-provided `requestedDate` falls within the next valid work week (Monday to Friday), you can follow these steps: 1. Calculate ...
12,699
[ { "from": "human", "value": "In JavaScript, what is the best way to determine if a date provided falls within a valid range?\nAn example of this might be checking to see if the user input requestedDate is part of the next valid work week. Note that this is not just checking to see if one date is larger than...
When running the default c++ project in Visual Studios for a Windows CE 5.0 device, I get an error complaining about missing resources. Depends says that my executable needs ayghsell.dll (the Windows Mobile shell), and CoreDll.dll. Does this mean that my executable can only be run on Windows Mobile devices, instead o...
When developing applications for Windows CE, it's important to understand that Windows CE is a modular operating system. Different devices might include different sets of features and libraries, which are not guaranteed to be present on all Windows CE installations. If your application references `ayghsell.dll` and `Co...
12,840
[ { "from": "human", "value": "When running the default c++ project in Visual Studios for a Windows CE 5.0 device, I get an error complaining about missing resources. Depends says that my executable needs ayghsell.dll (the Windows Mobile shell), and CoreDll.dll. Does this mean that my executable can only be...
I need to import largish (24MB) text files into a MySQL table. Each line looks like this: 1 1 0.008 0 0 0 0 0 There are one or more spaces after each field, and the last field is tailed by about 36 spaces before the newline. How do I import such a file into MySQL? From the docu...
To import a text file with variable spaces as field delimiters into a MySQL table, you can utilize the `LOAD DATA INFILE` statement along with the `FIELDS TERMINATED BY` option set to a single space and use the `OPTIONALLY ENCLOSED BY` clause or consider using a different approach altogether. Here's a method to addres...
12,828
[ { "from": "human", "value": "I need to import largish (24MB) text files into a MySQL table. Each line looks like this:\n1 1 0.008 0 0 0 0 0 \n\nThere are one or more spaces after each field, and the last field is tailed by about 36 spaces before the newline.\nHow do I...
Expanding on this question, what is the best way to develop against both SQL Server 2005 and SQL Server 2008? I'd like to see if I could just use Orcas technology on my current Vista 64 machine and since SQL Server 2005 wants to install a stub version of Visual Studio 2005, I'd like to avoid using it. However, most pla...
When developing applications that need to support both SQL Server 2005 and SQL Server 2008, you'll want to carefully consider the best approach to avoid compatibility issues and leverage the best features of both versions. Here’s a breakdown of your options with some pros and cons: ### 1. Install SQL Server 2008 only ...
11,955
[ { "from": "human", "value": "Expanding on this question, what is the best way to develop against both SQL Server 2005 and SQL Server 2008?\nI'd like to see if I could just use Orcas technology on my current Vista 64 machine and since SQL Server 2005 wants to install a stub version of Visual Studio 2005, I'd...
My company has a common code library which consists of many class libary projects along with supporting test projects. Each class library project outputs a single binary, e.g. Company.Common.Serialization.dll. Since we own the compiled, tested binaries as well as the source code, there's debate as to whether our consum...
The decision to use project or binary references depends on several factors, including team structure, development workflow, deployment processes, and the stability of the libraries involved. Each approach has its advantages and disadvantages, as you've noted. Here’s an evaluation of both options along with some sugges...
8,250
[ { "from": "human", "value": "My company has a common code library which consists of many class libary projects along with supporting test projects. Each class library project outputs a single binary, e.g. Company.Common.Serialization.dll. Since we own the compiled, tested binaries as well as the source code...
Note: I am using .Net 1.1, although I am not completely against answer that use higher versions. I am displaying some dynamically generated objects in a PropertyGrid. These objects have numeric, text, and enumeration properties. Currently I am having issues setting the default value for the enumerations so that they do...
It sounds like you're working with dynamic types using Reflection.Emit in .NET 1.1 and trying to implement custom properties with default values in a way that integrates well with the PropertyGrid. You're facing challenges around the `DefaultValueAttribute` and the `ShouldSerialize` pattern. **Understanding the Defaul...
7,283
[ { "from": "human", "value": "Note: I am using .Net 1.1, although I am not completely against answer that use higher versions.\nI am displaying some dynamically generated objects in a PropertyGrid. These objects have numeric, text, and enumeration properties. Currently I am having issues setting the default ...
Here's the situation. I have a webservice (C# 2.0), which consists of (mainly) a class inheriting from System.Web.Services.WebService. It contains a few methods, which all need to call a method that checks if they're authorized or not. Basically something like this (pardon the architecture, this is purely as an example...
In your scenario, you want to avoid repetitive authorization checks in each web method while maintaining access to the SOAP headers. A good approach to achieve this is to implement a base class that encapsulates the authorization logic, which can be inherited by your web service class. Here’s an approach using a base ...
13,827
[ { "from": "human", "value": "Here's the situation. I have a webservice (C# 2.0), which consists of (mainly) a class inheriting from System.Web.Services.WebService. It contains a few methods, which all need to call a method that checks if they're authorized or not.\nBasically something like this (pardon the ...
I'm having a test hang in our rails app can't figure out which one (since it hangs and doesn't get to the failure report). I found this blog post http://bmorearty.wordpress.com/2008/06/18/find-tests-more-easily-in-your-testlog/ which adds a setup hook to print the test name but when I try to do the same thing it gives...
It sounds like you're trying to add a setup hook in your Rails test suite to log the name of each test when it runs, but you're running into an argument error. The issue here may be due to the way you're trying to define the setup method. In recent versions of Rails (specifically RSpec or Minitest), the method signatur...
13,569
[ { "from": "human", "value": "I'm having a test hang in our rails app can't figure out which one (since it hangs and doesn't get to the failure report). I found this blog post http://bmorearty.wordpress.com/2008/06/18/find-tests-more-easily-in-your-testlog/ which adds a setup hook to print the test name but...
I'm working on a command line application for Solaris, written in Java6. I'd like to be able to scroll through a history of previous commands using the up and down arrows like many Unix tools allow (shells, VIM command mode prompt, etc). Is there any standard way of achieving this, or do I have to roll my own?
Implementing command history navigation (using the up and down arrow keys) in a Java command line application can indeed be done, but there isn't a built-in standard in Java that provides this functionality directly. Therefore, you typically have two main approaches: rolling your own implementation or using a library t...
6,795
[ { "from": "human", "value": "I'm working on a command line application for Solaris, written in Java6. I'd like to be able to scroll through a history of previous commands using the up and down arrows like many Unix tools allow (shells, VIM command mode prompt, etc).\nIs there any standard way of achieving t...
How does one reliably determine a file's type? File extension analysis is not acceptable. There must be a rubyesque tool similar to the UNIX file(1) command? This is regarding MIME or content type, not file system classifications, such as directory, file, or socket.
To reliably determine a file's type based on its content rather than its file extension, you can use the `mimemagic` gem in Ruby. This gem allows you to detect the MIME type of a file by examining its binary content, similar to the UNIX `file` command. Here’s how you can use `mimemagic`: 1. **Install the `mimemagic` ...
12,484
[ { "from": "human", "value": "How does one reliably determine a file's type? File extension analysis is not acceptable. There must be a rubyesque tool similar to the UNIX file(1) command?\nThis is regarding MIME or content type, not file system classifications, such as directory, file, or socket.\n" }, {...
I've already got a NAnt build script that builds/runs tests/zips web project together, etc. but I'm working on a basic desktop application. How would I go about building the setup project using NAnt so I can include it with the build report on TeamCity. Edit: The setup is the basic Setup Project supplied with Visual S...
To build a Visual Studio Setup Project using NAnt, you'll need to make use of a few specific tools and approaches, since NAnt itself does not have built-in tasks for building Visual Studio Setup projects. Here's a general approach to automate building your Setup Project with NAnt: ### Prerequisites 1. **NAnt** insta...
9,114
[ { "from": "human", "value": "I've already got a NAnt build script that builds/runs tests/zips web project together, etc. but I'm working on a basic desktop application. How would I go about building the setup project using NAnt so I can include it with the build report on TeamCity.\nEdit: The setup is the ...
I simply could not make it work, and I am wondering if I am wasting my time, or if I am simply stupid! Sorry I don't have the exact error I have right now. But I just want to know if it work or not!
It’s completely normal to encounter challenges when working on a project or learning something new—you're definitely not alone in feeling this way! Many people, even experienced ones, face difficulties and frustration at times. If you share more details about what you’re trying to do and the specific problems or erro...
17,187
[ { "from": "human", "value": "I simply could not make it work, and I am wondering if I am wasting my time, or if I am simply stupid!\nSorry I don't have the exact error I have right now. But I just want to know if it work or not!\n" }, { "from": "gpt", "value": "It’s completely normal to encounte...
Can some one specify the windows API, one need to use in order to be able to change programmatically the screen refresh rate?
To change the screen refresh rate programmatically in a Windows application, you can use the `ChangeDisplaySettings` function provided by the Windows API. This function allows you to modify the display settings, including the screen resolution, color depth, and refresh rate. Here’s a brief overview of how you can use ...
11,961
[ { "from": "human", "value": "Can some one specify the windows API, one need to use in order to be able to change programmatically the screen refresh rate?\n" }, { "from": "gpt", "value": "To change the screen refresh rate programmatically in a Windows application, you can use the `ChangeDisplayS...
Is it possible to deploy a native Delphi application with ClickOnce without a stub C# exe that would be used to launch the Delphi application? The same question applies to VB6, C++ and other native Windows applications.
Deploying native Delphi applications (as well as VB6, C++, and other native Windows applications) directly with ClickOnce is not straightforward, as ClickOnce is primarily designed for managed .NET applications. It uses the .NET runtime for deployment, which poses challenges for native applications that do not have thi...
13,562
[ { "from": "human", "value": "Is it possible to deploy a native Delphi application with ClickOnce without a stub C# exe that would be used to launch the Delphi application?\nThe same question applies to VB6, C++ and other native Windows applications.\n" }, { "from": "gpt", "value": "Deploying nat...
I'm working on an editor for files that are used by an important internal testing tool we use. The tool itself is large, complicated, and refactoring or rewriting would take more resources than we are able to devote to it for the forseeable future, so my hands are tied when it comes to large modifications. I must use...
It's understandable that you'd want to minimize the impact on the existing tool while also trying to create a robust solution for managing error states in your editor. Here are a few design options you might consider to achieve the functionality you need, without drastically altering the existing classes: ### 1. **Usi...
8,715
[ { "from": "human", "value": "I'm working on an editor for files that are used by an important internal testing tool we use. The tool itself is large, complicated, and refactoring or rewriting would take more resources than we are able to devote to it for the forseeable future, so my hands are tied when it ...
I've got a dictionary, something like Dictionary<Foo,String> fooDict I step through everything in the dictionary, e.g. foreach (Foo foo in fooDict.Keys) MessageBox.show(fooDict[foo]); It does that in the order the foos were added to the dictionary, so the first item added is the first foo returned. How can I chan...
In a standard `Dictionary<TKey, TValue>` in C#, the order of items is determined by the hash code of the keys and does not maintain the order in which items were added. Therefore, to change the order in which items are returned, you can't simply change the dictionary itself. However, you can accomplish this by converti...
14,308
[ { "from": "human", "value": "I've got a dictionary, something like\nDictionary<Foo,String> fooDict\n\nI step through everything in the dictionary, e.g.\nforeach (Foo foo in fooDict.Keys)\n MessageBox.show(fooDict[foo]);\n\nIt does that in the order the foos were added to the dictionary, so the first item...
In prior versions of Windows before Vista you could have a Windows Service interact with the current logged in desktop user to easy display information on the screen from the service. In Windows Vista Session 0 was added for security to isolate the services from the desktop. What is an easy way to communicate between a...
Using TCP/IP for communication between a Windows Service running in Session 0 and a user-mode application is a common approach, but there are indeed several other inter-process communication (IPC) mechanisms that you can consider. Here are some easier and more direct methods for communication between a Windows Service ...
10,435
[ { "from": "human", "value": "In prior versions of Windows before Vista you could have a Windows Service interact with the current logged in desktop user to easy display information on the screen from the service. In Windows Vista Session 0 was added for security to isolate the services from the desktop. Wha...
The question pretty much sums it up. Just want to run a regular expression match on a string in J2ME.
In J2ME, you won't find built-in support for regular expressions like you do in more modern Java environments. However, you can use a workaround by employing the `String` class methods, such as `indexOf`, `substring`, and `split`, to implement basic pattern matching. If you need to perform more complex regex operatio...
14,616
[ { "from": "human", "value": "The question pretty much sums it up. Just want to run a regular expression match on a string in J2ME.\n" }, { "from": "gpt", "value": "In J2ME, you won't find built-in support for regular expressions like you do in more modern Java environments. However, you can use...
What is the best way to create a webservice for accepting an image. The image might be quite big and I do not want to change the default receive size for the web application. I have written one that accepts a binary image but that I feel that there has to be a better alternative.
Creating a web service to accept large images without altering the default request size can be achieved through a few different approaches. Here are some of the best practices and methodologies you could consider: ### 1. **Multipart Form Data** One of the simplest ways to send files, including large images, is to use ...
7,500
[ { "from": "human", "value": "What is the best way to create a webservice for accepting an image.\nThe image might be quite big and I do not want to change the default receive size for the web application.\nI have written one that accepts a binary image but that I feel that there has to be a better alternati...
I'm passing around some objects through web service and some of them contain java.sql.Date. Because Date doesn't have empty constructor it doesn't want to get serialized. First part of a question is easy: what is the best way to pass a date between client and service? Second part is bit trickier: Once I decide how to...
To address your questions regarding handling `java.sql.Date` in a web service context, let's break them down step by step. ### Part 1: Best Way to Pass a Date Given that you're working with web services and need to serialize and deserialize date values, it's generally advisable to use a more interoperable format that...
11,341
[ { "from": "human", "value": "I'm passing around some objects through web service and some of them contain java.sql.Date. Because Date doesn't have empty constructor it doesn't want to get serialized. \nFirst part of a question is easy: what is the best way to pass a date between client and service? \nSecond...
I'm really interested to hear what you think about Model-driven Software Development for Java and/or .NET. Does it save time? Does it improve quality?
Model-driven software development (MDSD) is an approach that emphasizes the use of models to drive the development process. It can be particularly relevant for languages and frameworks like Java and .NET. Here are some insights regarding the time savings and quality improvements associated with MDSD: ### Time Savings ...
11,434
[ { "from": "human", "value": "I'm really interested to hear what you think about Model-driven Software Development for Java and/or .NET.\nDoes it save time? Does it improve quality?\n" }, { "from": "gpt", "value": "Model-driven software development (MDSD) is an approach that emphasizes the use of...
How do you apply stroke (outline around text) to a textblock in xaml in WPF?
In WPF (Windows Presentation Foundation), you cannot directly apply a stroke (outline) to a `TextBlock` as you would with shapes or other UI elements. However, you can achieve a similar effect by using a combination of `TextBlock`, `RenderOptions`, and layering of text. One common method is to overlay two `TextBlock` ...
10,803
[ { "from": "human", "value": "How do you apply stroke (outline around text) to a textblock in xaml in WPF?\n" }, { "from": "gpt", "value": "In WPF (Windows Presentation Foundation), you cannot directly apply a stroke (outline) to a `TextBlock` as you would with shapes or other UI elements. Howeve...
I am quite happy to code out tables by hand when making a database but it's not the easiest way to convey information about a database to someone else, especially someone that's not so comfortable coding the tables via a script and would instead use something such at phpMyAdmin. Is there thus a free program (for me to ...
Yes, there are several free tools and options available for designing database structures that can help visually convey information and generate SQL code. Here are some recommendations that should work well on macOS, as well as suggestions for others who may use Windows: ### Free Tools for Database Design 1. **DbSche...
11,127
[ { "from": "human", "value": "I am quite happy to code out tables by hand when making a database but it's not the easiest way to convey information about a database to someone else, especially someone that's not so comfortable coding the tables via a script and would instead use something such at phpMyAdmin....
Anyone know a good Regex expression to drop in the ValidationExpression to be sure that my users are only entering ASCII characters? <asp:RegularExpressionValidator id="myRegex" runat="server" ControlToValidate="txtName" ValidationExpression="???" ErrorMessage="Non-ASCII Characters" Display="Dynamic" />
To create a Regular Expression that ensures only ASCII characters are allowed, you can use the following pattern: ``` ^[\x00-\x7F]*$ ``` Here's how you can use it in your `asp:RegularExpressionValidator`: ```aspx <asp:RegularExpressionValidator id="myRegex" runat="server" ControlToValidate="txtName" ...
15,361
[ { "from": "human", "value": "Anyone know a good Regex expression to drop in the ValidationExpression to be sure that my users are only entering ASCII characters? \n<asp:RegularExpressionValidator id=\"myRegex\" runat=\"server\" ControlToValidate=\"txtName\" ValidationExpression=\"???\" ErrorMessage=\"Non-A...
I've got the directive <VirtualHost *> <Location /> AuthType Digest AuthName "global" AuthDigestDomain / AuthUserFile /root/apache_users <Limit GET> Require valid-user </Limit> </Location> WSGIScriptAlias / /some/script.wsgi WSGIDaemonProcess m...
In a WSGI application, you can access the user's identity using the `environ` dictionary passed to the `application` callable. When you're using Digest Authentication as configured in your Apache `VirtualHost`, Apache populates the `environ` dictionary with information about the authenticated user. To retrieve the aut...
14,823
[ { "from": "human", "value": "I've got the directive\n<VirtualHost *>\n <Location />\n AuthType Digest\n AuthName \"global\"\n AuthDigestDomain /\n AuthUserFile /root/apache_users\n <Limit GET>\n Require valid-user\n </Limit>\n </Location>\n WSGIS...
A two parter: 1) Say you're designing a new type of application and you're in the process of coming up with new algorithms to express the concepts and content -- does it make sense to attempt to actively not consider optimisation techniques at that stage, even if in the back of your mind you fear it might end up as O(N...
Your questions raise interesting points about the balance between functionality and optimization during the early stages of software design, especially for a new application with novel concepts. Let’s break down your two-part inquiry. ### 1) Should You Avoid Considering Optimization Techniques Initially? Yes, during ...
11,397
[ { "from": "human", "value": "A two parter:\n1) Say you're designing a new type of application and you're in the process of coming up with new algorithms to express the concepts and content -- does it make sense to attempt to actively not consider optimisation techniques at that stage, even if in the back of...
In .NET if I do something like: string temp = Request.QueryString["myKey"]; is the value in temp already URL decoded?
In ASP.NET, when you retrieve a value from the `Request.QueryString` collection, the value is automatically URL-decoded for you. This means that if you have a query string that includes encoded characters (like spaces encoded as `%20` or other special characters), ASP.NET will decode those characters when you access th...
16,167
[ { "from": "human", "value": "In .NET if I do something like:\nstring temp = Request.QueryString[\"myKey\"];\n\nis the value in temp already URL decoded?\n" }, { "from": "gpt", "value": "In ASP.NET, when you retrieve a value from the `Request.QueryString` collection, the value is automatically UR...
I was looking at DataMapper, which appeared at first glance to use the ActiveRecord ORM pattern. Other people said that it uses the DataMapper and/or the Domain Object pattern. What is the difference between those patterns?
Great question! The ActiveRecord and DataMapper patterns are both design patterns used for object-relational mapping (ORM), but they have different philosophies and implementations when it comes to how they manage the interaction between an application's domain objects and the database. ### ActiveRecord Pattern The *...
9,025
[ { "from": "human", "value": "I was looking at DataMapper, which appeared at first glance to use the ActiveRecord ORM pattern. Other people said that it uses the DataMapper and/or the Domain Object pattern. \nWhat is the difference between those patterns? \n" }, { "from": "gpt", "value": "Grea...
using target="_blank" in the navigateToUrl with Firefox on Windows it opens in new tab, with Firefox on Mac it opens a 'popup', How to make the window popup in a new tab on Firefox on Mac as well?
When you use `target="_blank"` in HTML links, the behavior can vary between different browsers and operating systems. In Firefox on macOS, links that open in a new tab may sometimes open as popups if the user has certain settings or if the link is opened via JavaScript. To ensure that links open in a new tab instead o...
9,536
[ { "from": "human", "value": "using target=\"_blank\" in the navigateToUrl\nwith Firefox on Windows it opens in new tab, with Firefox on Mac it opens a 'popup',\nHow to make the window popup in a new tab on Firefox on Mac as well?\n" }, { "from": "gpt", "value": "When you use `target=\"_blank\"` ...
If I attempt to connect to Mac OS X 10.5 Leopard's built in vnc server at a low color depth from Windows, the client bombs after connecting. It only works when I set it to the highest color depth. I've tried with at least 3 windows VNC clients. Any ideas? There some setting I can set in Mac OS X? It takes about 20 seco...
The issue you're experiencing with connecting to Mac OS X 10.5 Leopard's built-in VNC server at lower color depths may stem from compatibility or performance settings between the Mac's VNC server and the Windows VNC clients. Here are a few troubleshooting steps and adjustments you can try: 1. **Adjust Color Depth on t...
13,630
[ { "from": "human", "value": "If I attempt to connect to Mac OS X 10.5 Leopard's built in vnc server at a low color depth from Windows, the client bombs after connecting. It only works when I set it to the highest color depth. I've tried with at least 3 windows VNC clients. Any ideas? There some setting I ca...
I've been trying to come up with a way to create a 3 column web design where the center column has a constant width and is always centered. The columns to the left and right are variable. This is trivial in tables, but not correct semantically. I haven't been able to get this working properly in all current browser...
Creating a three-column layout where the center column has a fixed width and is always centered while the left and right columns are variable can be accomplished using CSS Flexbox or CSS Grid. Here, I'll provide both methods. ### Method 1: Using CSS Flexbox Here's how you can achieve this with Flexbox: ```html <!DOC...
8,427
[ { "from": "human", "value": "I've been trying to come up with a way to create a 3 column web design where the center column has a constant width and is always centered. The columns to the left and right are variable. This is trivial in tables, but not correct semantically. \nI haven't been able to get th...
I'm running the jdepend maven plugin on my project and whether I run "mvn site:site" or "mvn jdepend:generate" the report that gets generated says "There are no package used." There are no errors in the maven output. Other plugins (cobertura, findbugs, etc.) run fine. My pom is configured like this: <reporting> <p...
The issue you're encountering where JDepend reports "There are no packages used" usually stems from the plugin not being able to find any compiled classes to analyze. Here are a few things you can check to troubleshoot and potentially resolve this problem: 1. **Ensure Classes Are Compiled**: Make sure your project has...
7,883
[ { "from": "human", "value": "I'm running the jdepend maven plugin on my project and whether I run \"mvn site:site\" or \"mvn jdepend:generate\" the report that gets generated says \"There are no package used.\" There are no errors in the maven output. Other plugins (cobertura, findbugs, etc.) run fine. My ...
I'd like to increase developers' "comfort level" in our team a bit. We are using Visual Studio 2008 and TortoiseCVS + WinCVS, but no integration as of yet. In your CVS/Visual Studio experience, what is the best integration tool in terms of "supports basic CVS functionality add/diff/update/commit/annotate/etc", "works o...
When working with older tools like Visual Studio 2008 and CVS, finding the right integration solution can significantly improve the developers' comfort level. Here are some recommendations based on your requirements for both commercial and free/open source options: ### a) Commercial Solutions 1. **PushOk CVS MSSCCI P...
9,870
[ { "from": "human", "value": "I'd like to increase developers' \"comfort level\" in our team a bit.\nWe are using Visual Studio 2008 and TortoiseCVS + WinCVS, but no integration as of yet.\nIn your CVS/Visual Studio experience, what is the best integration tool in terms of \"supports basic CVS functionality ...
How do I concatenate together two strings, of unknown length, in COBOL? So for example: WORKING-STORAGE. FIRST-NAME PIC X(15) VALUE SPACES. LAST-NAME PIC X(15) VALUE SPACES. FULL-NAME PIC X(31) VALUE SPACES. If FIRST-NAME = 'JOHN ' and LAST-NAME = 'DOE ', how can I get: FULL...
To concatenate two strings in COBOL while ensuring that there are no unnecessary spaces between the first name and last name, you can use the `TRIM` function. The `TRIM` function allows you to remove leading and trailing spaces from a string, making it easy to concatenate the two names without retaining the extra space...
13,204
[ { "from": "human", "value": "How do I concatenate together two strings, of unknown length, in COBOL? So for example:\nWORKING-STORAGE.\n FIRST-NAME PIC X(15) VALUE SPACES.\n LAST-NAME PIC X(15) VALUE SPACES.\n FULL-NAME PIC X(31) VALUE SPACES.\n\nIf FIRST-NAME = 'JOHN ' and LAS...
I want to copy a DLL file from PC to vs.net`s pocket pc 2003 simulator, so i use the shared folder of the simulator, but i can not see the dll file in file list of simulator. How to do it, please ?
To copy a DLL file from your PC to the Pocket PC 2003 simulator in Visual Studio .NET, you can follow these steps: 1. **Locate the Shared Folder:** Ensure that you are aware of the shared folder that the Pocket PC simulator uses. The shared folder is typically located in a directory associated with the emulator. Fo...
13,431
[ { "from": "human", "value": "I want to copy a DLL file from PC to vs.net`s pocket pc 2003 simulator, so i use the shared folder of the simulator, but i can not see the dll file in file list of simulator.\nHow to do it, please ?\n" }, { "from": "gpt", "value": "To copy a DLL file from your PC to ...
I've been following this tutorial (lesson 6) in order to build and deploy a sample report with an embedded subreport which reads its parameters' values from the parent report. This subreport is embedded in one of the group rows of the report's table, and both share the same datasource. Additionally, detail rows appear ...
It sounds like you're encountering a common issue with parameter passing and report deployment in SQL Server Reporting Services (SSRS). Here are some troubleshooting steps and considerations that may help resolve the problem: 1. **Check Parameters:** Make sure that all parameters required by the subreport are properly...
13,804
[ { "from": "human", "value": "I've been following this tutorial (lesson 6) in order to build and deploy a sample report with an embedded subreport which reads its parameters' values from the parent report. This subreport is embedded in one of the group rows of the report's table, and both share the same data...
I have come to realize that Windbg is a very powerful debugger for the Windows platform & I learn something new about it once in a while. Can fellow Windbg users share some of their mad skills? ps: I am not looking for a nifty command, those can be found in the documentation. How about sharing tips on doing something t...
Certainly! Windbg is indeed a powerful tool, and there are many advanced features and techniques that can enhance your debugging experience. Here are some tips and tricks that can help you leverage Windbg to its fullest potential: ### 1. **Custom Scripts and Automation** You can write custom command scripts to automat...
10,611
[ { "from": "human", "value": "I have come to realize that Windbg is a very powerful debugger for the Windows platform & I learn something new about it once in a while. Can fellow Windbg users share some of their mad skills?\nps: I am not looking for a nifty command, those can be found in the documentation. H...
I am currently using an MSAccess mdb file for a redistributable app. A while ago I found out about SQLite, as an alternative to my solution, but the binaries they provide do not offer the possiblilty of using them as an object in VB6. (Or at least I couldn't figure it out how). Does anyone has a link, or could write a...
Certainly! To connect to an SQLite database from VB6, you can use ODBC (Open Database Connectivity) or the SQLite COM library. Below are the steps for both methods, along with their differences compared to using ADO with an MSAccess MDB file. ### Method 1: Using SQLite ODBC Driver 1. **Install SQLite ODBC Driver**: ...
10,386
[ { "from": "human", "value": "I am currently using an MSAccess mdb file for a redistributable app. \nA while ago I found out about SQLite, as an alternative to my solution, but the binaries they provide do not offer the possiblilty of using them as an object in VB6. (Or at least I couldn't figure it out how)...
I have developed a simple page using JQuery. It works fine in almost all browsers (i.e. Firefox, IE, Chrome) but whenever the page is opened in IE, it prompts Javascript error like, 'guid' is null or not an object on line 1834 Do you have any idea ?
The error message you are seeing in Internet Explorer (IE) suggests that there is an attempt to access a property or method on an object that is `null` or `undefined`. This kind of issue can occur for various reasons, especially when developing for browsers with different levels of JavaScript support. Here are some st...
14,063
[ { "from": "human", "value": "I have developed a simple page using JQuery. It works fine in almost all browsers (i.e. Firefox, IE, Chrome) but whenever the page is opened in IE, it prompts Javascript error like,\n'guid' is null or not an object on line 1834\n\nDo you have any idea ?\n" }, { "from": "...
I imported a series of blogger posts (via xml) into WordPress, and the YouTube embed tags were removed. YouTube URLs in posts are not identified. Instead, just the text of the url is left. Possibly as opposed to full embed tags. I'm trying to restore the embed codes so it's seen. Another fact that is notable in the XML...
To restore YouTube embed codes in your WordPress posts after importing from Blogger, you'll need to replace the placeholder `[EMBLED CONTENT]` with the actual embed code for YouTube videos. Here’s how you can do this: ### Step 1: Identify YouTube URLs 1. **Find the YouTube URLs**: If the YouTube URLs are still presen...
12,979
[ { "from": "human", "value": "I imported a series of blogger posts (via xml) into WordPress, and the YouTube embed tags were removed.\nYouTube URLs in posts are not identified. Instead, just the text of the url is left. Possibly as opposed to full embed tags.\nI'm trying to restore the embed codes so it's se...
I need to make a change to an ASP.NET web service written a couple years ago on 2.0. I call this web service from an old 1.1 web site. I need to make some changes to the web service, so am thinking, should I rewrite this into a WCF service and if so, will I still be able to use it from my 1.1 web site?
Migrating from an ASP.NET web service (ASMX) to a Windows Communication Foundation (WCF) service can be a good decision for several reasons, such as better performance, more flexibility, and support for various protocols and bindings. However, there are a few considerations to keep in mind, especially regarding your ex...
15,868
[ { "from": "human", "value": "I need to make a change to an ASP.NET web service written a couple years ago on 2.0. I call this web service from an old 1.1 web site. I need to make some changes to the web service, so am thinking, should I rewrite this into a WCF service and if so, will I still be able to us...
Here is the situation I'd like to create: www.blah.com/priv - protected by Apache HTTP Basic Auth, realm "foo" www.blah.com/application - protected by Tomcat/Servlet HTTP Basic Auth, realm "foo" User access /priv, apache requests login info, they provide and are given access Same user then requests /application. Sinc...
To achieve the goal of sharing authentication realms and user databases between Apache HTTP Server (for your `/priv` path) and Tomcat (for your `/application` path), you can use a few strategies. Here’s a general outline of the steps you would follow to set this up: ### Method 1: Use a Shared User Database 1. **Use a...
12,301
[ { "from": "human", "value": "Here is the situation I'd like to create:\n\nwww.blah.com/priv - protected by Apache HTTP Basic Auth, realm \"foo\"\nwww.blah.com/application - protected by Tomcat/Servlet HTTP Basic Auth, realm \"foo\"\nUser access /priv, apache requests login info, they provide and are given a...
The ClientScriptManager.RegisterClientScriptInclude method allows you to register a JavaScript reference with the Page object (checking for duplicates). Is there an equivalent of this method for CSS references? Similar questions apply for ClientScriptManager.RegisterClientScriptBlock and ClientScriptManager.RegisterCli...
In ASP.NET Web Forms, there isn't a direct equivalent of the `ClientScriptManager.RegisterClientScriptInclude` method specifically for CSS references. However, you can include CSS files in your pages using several different approaches. Here are a few common methods: ### 1. Using the `Page.Header` Property You can dyn...
11,818
[ { "from": "human", "value": "The ClientScriptManager.RegisterClientScriptInclude method allows you to register a JavaScript reference with the Page object (checking for duplicates).\nIs there an equivalent of this method for CSS references?\nSimilar questions apply for ClientScriptManager.RegisterClientScri...
Jquery has a great language construct that looks like this: $(document).ready(function() { $("a").click(function() { alert("Hello world!"); }); }); As you might guess this, once the document has loaded, binds a custom function to the onClick event of all a tags. The question is, how can I achieve this ...
In Prototype, you can achieve similar behavior by using the `Event.observe` method to bind an event listener to the `click` event for all anchor (`<a>`) tags. Below is an example of how to do this when the document has loaded: ```javascript document.observe("dom:loaded", function() { $$('a').each(function(anchor) ...
13,954
[ { "from": "human", "value": "Jquery has a great language construct that looks like this:\n$(document).ready(function() {\n $(\"a\").click(function() {\n alert(\"Hello world!\");\n });\n});\n\nAs you might guess this, once the document has loaded, binds a custom function to the onClick event of ...
How can I set the protected DoubleBuffered property of the controls on a form that are suffering from flicker?
To reduce flickering in Windows Forms applications, you can enable Double Buffering for your controls. The `DoubleBuffered` property is protected, so it cannot be directly set on standard controls like `Button`, `Panel`, `Form`, etc. However, you can create a derived control to expose this property. Here's how you can...
12,717
[ { "from": "human", "value": "How can I set the protected DoubleBuffered property of the controls on a form that are suffering from flicker?\n" }, { "from": "gpt", "value": "To reduce flickering in Windows Forms applications, you can enable Double Buffering for your controls. The `DoubleBuffered`...
I'm sick and tired of manually tracking my branches and merges across my repository! It's too error prone. In a world where everyone seems to get the idea of reducing duplication and automating everything, subversion branching/merging feels like it's left over from the 80's. What is a good alternative to subversion tha...
If you're looking for an alternative to Subversion (SVN) that offers improved branching and merging capabilities without fully embracing a distributed source control model, consider the following options: 1. **Git (with a centralized workflow)**: While Git is fundamentally a distributed version control system, you can...
7,127
[ { "from": "human", "value": "I'm sick and tired of manually tracking my branches and merges across my repository! It's too error prone. In a world where everyone seems to get the idea of reducing duplication and automating everything, subversion branching/merging feels like it's left over from the 80's. Wha...
On my blog I use some CSS classes which are defined in my stylesheet, but in RSS readers those styles don't show up. I had been searching for class="whatever" and replacing with style="something: something;". But this means whenever I modify my CSS I need to modify my RSS-generating code too, and it doesn't work for ...
RSS feeds are typically displayed in plain text format by most RSS readers, and they often do not support CSS styles or the linking of external stylesheets. This limitation means that any styling you apply in your stylesheet will not be reflected in the feed, and inline styles can be cumbersome to manage. However, the...
12,247
[ { "from": "human", "value": "On my blog I use some CSS classes which are defined in my stylesheet, but in RSS readers those styles don't show up. I had been searching for class=\"whatever\" and replacing with style=\"something: something;\". But this means whenever I modify my CSS I need to modify my RSS-...
I am using Oracle 9 and JDBC and would like to encyrpt a clob as it is inserted into the DB. Ideally I'd like to be able to just insert the plaintext and have it encrypted by a stored procedure: String SQL = "INSERT INTO table (ID, VALUE) values (?, encrypt(?))"; PreparedStatement ps = connection.prepareStatement(SQL)...
Using Oracle's `DBMS_OBFUSCATION_TOOLKIT` with CLOB data is a bit more complex than handling VARCHARs due to the differences in how data is stored and processed in Oracle. The approach you have proposed has a few issues. Below, I will address those and provide a more suitable way to implement your encryption using CLOB...
9,940
[ { "from": "human", "value": "I am using Oracle 9 and JDBC and would like to encyrpt a clob as it is inserted into the DB. Ideally I'd like to be able to just insert the plaintext and have it encrypted by a stored procedure:\nString SQL = \"INSERT INTO table (ID, VALUE) values (?, encrypt(?))\";\nPreparedSt...
What is the easiest cross platform widget toolkit? I'm looking for one that minimally covers Windows, OSX, and Linux with a C or C++ interface.
If you're looking for an easy-to-use, cross-platform widget toolkit in C or C++, here are a few popular options you might consider: 1. **Qt**: - **Language**: C++ - **Description**: Qt is one of the most widely used cross-platform GUI toolkits. It provides a rich set of widgets and tools and is well-documented. ...
12,178
[ { "from": "human", "value": "What is the easiest cross platform widget toolkit? I'm looking for one that minimally covers Windows, OSX, and Linux with a C or C++ interface.\n" }, { "from": "gpt", "value": "If you're looking for an easy-to-use, cross-platform widget toolkit in C or C++, here are ...
Specifically, when you create an interface/implementor pair, and there is no overriding organizational concern (such as the interface should go in a different assembly ie, as recommended by the s# architecture) do you have a default way of organizing them in your namespace/naming scheme? This is obviously a more opinio...
When organizing interface/implementor pairs in a namespace and naming scheme, the goal is usually to promote clarity, maintainability, and discoverability in the codebase. Here are some commonly accepted practices that you might find beneficial: ### Naming Conventions 1. **Interface Prefix**: A common convention is t...
12,490
[ { "from": "human", "value": "Specifically, when you create an interface/implementor pair, and there is no overriding organizational concern (such as the interface should go in a different assembly ie, as recommended by the s# architecture) do you have a default way of organizing them in your namespace/namin...
When I use traceroute, I often see abbreviations in the hostnames along the route, such as "ge", "so", "ic", "gw", "bb" etc. I can guess "bb" means backbone. Does anyone know what any these strings abbreviate, or know any other common abbreviations?
Yes, in traceroute outputs, especially when examining the hop addresses in a network path, you may encounter various abbreviations that typically represent different types of interfaces or network segments. Here are some common abbreviations and their meanings: 1. **ge** - Gigabit Ethernet 2. **fe** - Fast Ethernet 3....
16,411
[ { "from": "human", "value": "When I use traceroute, I often see abbreviations in the hostnames along the route, such as \"ge\", \"so\", \"ic\", \"gw\", \"bb\" etc. I can guess \"bb\" means backbone.\nDoes anyone know what any these strings abbreviate, or know any other common abbreviations?\n" }, { ...
devenv mysolution.sln /build "Release|Win32" /project myproject When building from the command line, it seems I have the option of doing a /build or /rebuild, but no way of saying I want to do "project only" (i.e. not build or rebuild the specified project's dependencies as well). Does anyone know of a way?
When using the `devenv` command to build or rebuild projects from the command line, the options for building a solution do not inherently allow for building a specific project without also building its dependencies. The `/build` and `/rebuild` commands will always consider the entire dependency graph of the solution or...
15,034
[ { "from": "human", "value": "devenv mysolution.sln /build \"Release|Win32\" /project myproject\n\nWhen building from the command line, it seems I have the option of doing a /build or /rebuild, but no way of saying I want to do \"project only\" (i.e. not build or rebuild the specified project's dependencies ...
I have been forced to work in Visual Studio 2005 and would like to export my fonts and colors from Visual Studio 2008. However, VS2005 complains about wrong export document version. Is there any good way to do this besides manually changing each color and font?
Exporting settings such as fonts and colors from Visual Studio 2008 to Visual Studio 2005 can be tricky due to compatibility issues with the settings files. Unfortunately, the export format from Visual Studio 2008 is not directly compatible with Visual Studio 2005, as you have already experienced. Here are a few poten...
12,558
[ { "from": "human", "value": "I have been forced to work in Visual Studio 2005 and would like to export my fonts and colors from Visual Studio 2008. However, VS2005 complains about wrong export document version. Is there any good way to do this besides manually changing each color and font?\n" }, { "...
What is the difference between a method decorated with @staticmethod and one decorated with @classmethod?
In Python, `@staticmethod` and `@classmethod` are two types of decorators that can be applied to methods within a class, but they serve different purposes and have different behaviors. ### @staticmethod - A method decorated with `@staticmethod` does not receive an implicit first argument (like `self` or `cls`). - It ...
14,142
[ { "from": "human", "value": "What is the difference between a method decorated with @staticmethod and one decorated with @classmethod?\n" }, { "from": "gpt", "value": "In Python, `@staticmethod` and `@classmethod` are two types of decorators that can be applied to methods within a class, but the...
For all major browsers (except IE), the JavaScript onload event doesn’t fire when the page loads as a result of a back button operation — it only fires when the page is first loaded. Can someone point me at some sample cross-browser code (Firefox, Opera, Safari, IE, …) that solves this problem? I’m familiar with Firefo...
To handle the scenario where you want to execute some JavaScript when a user navigates back to a page using the back button (or forward button) in browsers, you can use the `pageshow` event, which is supported by most modern browsers, including Firefox, Chrome, and Safari. However, you are correct that not all browsers...
13,843
[ { "from": "human", "value": "For all major browsers (except IE), the JavaScript onload event doesn’t fire when the page loads as a result of a back button operation — it only fires when the page is first loaded.\nCan someone point me at some sample cross-browser code (Firefox, Opera, Safari, IE, …) that sol...
If I modify or add an environment variable I have to restart the command prompt. Is there a command I could execute that would do this without restarting CMD?
Yes, you can use the `set` command in the command prompt to modify or add environment variables for the current session without needing to restart the command prompt. However, if you want to modify system or user environment variables that persist across sessions, you typically need to set them using the `setx` command...
14,934
[ { "from": "human", "value": "If I modify or add an environment variable I have to restart the command prompt. Is there a command I could execute that would do this without restarting CMD?\n" }, { "from": "gpt", "value": "Yes, you can use the `set` command in the command prompt to modify or add ...
Is there a way to lock a row in the SQL 2005-2008 database without starting a transaction, so other processes cannot update the row until it is unlocked?
In SQL Server (including versions 2005 and 2008), the primary way to lock a row or a set of rows to prevent other processes from updating them is to use transactions. However, if you want to lock a row without explicitly starting a transaction, you can use table hints in your queries to enforce row-level locking. Here...
13,690
[ { "from": "human", "value": "Is there a way to lock a row in the SQL 2005-2008 database without starting a transaction, so other processes cannot update the row until it is unlocked?\n" }, { "from": "gpt", "value": "In SQL Server (including versions 2005 and 2008), the primary way to lock a row ...
I ran into a problem a few days ago when I had to introduce C++ files into a Java project. It started with a need to measure the CPU usage of the Java process and it was decided that the way to go was to use JNI to call out to a native library (a shared library on a Unix machine) written in C. The problem was to find a...
Mixing multiple programming languages in a project can certainly be tricky, especially when it comes to organizing the file structure. Here are some strategies you can consider, based on your situation: 1. **Subdirectory for Native Code**: You can create a separate subdirectory specifically for native code related to ...
11,378
[ { "from": "human", "value": "I ran into a problem a few days ago when I had to introduce C++ files into a Java project. It started with a need to measure the CPU usage of the Java process and it was decided that the way to go was to use JNI to call out to a native library (a shared library on a Unix machine...
We are trying to integrate tests in our daily builds using TestComplete, so far we have a machine dedicated for testing and our build script copies to this machine everything TestComplete needs for its tests (Application, Database, Test script project and source files, etc). Basically we can open the TestComplete proje...
Automating TestComplete tests as part of your build process is a great way to ensure continuous testing. Here’s a high-level overview of how you can set this up: ### 1. Command-Line Execution TestComplete allows you to execute tests from the command line, which is ideal for integration with build scripts. You can run ...
13,553
[ { "from": "human", "value": "We are trying to integrate tests in our daily builds using TestComplete, so far we have a machine dedicated for testing and our build script copies to this machine everything TestComplete needs for its tests (Application, Database, Test script project and source files, etc).\nBa...
Many countries now have data protection legislation which afford individuals the rights to: request that an organization hand over all information they hold on the individual and to request that any information held on the individual is destroyed Facebook got into trouble over the second part of this in the UK as it...
Handling data protection compliance in a social media application can be challenging, especially when it comes to deleting user content. Here’s a breakdown of how to approach the issue, along with considerations for responsibility and the complexity of content removal. ### How to Handle Deleting Content in a Social Me...
11,924
[ { "from": "human", "value": "Many countries now have data protection legislation which afford individuals the rights to: \n\nrequest that an organization hand over all information they hold on the individual and\nto request that any information held on the individual is destroyed\n\nFacebook got into troubl...
Is it possible to send an email from my Java application using a GMail account? I have configured my company mail server with Java app to send email, but that's not going to cut it when I distribute the application. Answers with any of using Hotmail, Yahoo or GMail are acceptable.
Yes, it is possible to send an email from your Java application using a Gmail account. You can use the JavaMail API to accomplish this. Below is a simple example demonstrating how to send an email using a Gmail account. ### Step 1: Add JavaMail Dependency If you're using Maven, you can add the following dependency to...
10,097
[ { "from": "human", "value": "Is it possible to send an email from my Java application using a GMail account? I have configured my company mail server with Java app to send email, but that's not going to cut it when I distribute the application. Answers with any of using Hotmail, Yahoo or GMail are acceptab...
Is there any way in Python to determine what exceptions a (built-in) function might raise? For example, the documentation (http://docs.python.org/lib/built-in-funcs.html) for the built-in int(s) says nothing about the fact that it might raise a ValueError if s is not a validly formatted int. This is a duplicate of Doe...
In Python, there isn't a built-in way to systematically determine all exceptions that a function might raise, especially for built-in functions. The Python documentation often doesn't list exceptions, and behaviors can vary based on input types and values. However, there are several approaches you can use to get a bet...
13,961
[ { "from": "human", "value": "Is there any way in Python to determine what exceptions a (built-in) function might raise? For example, the documentation (http://docs.python.org/lib/built-in-funcs.html) for the built-in int(s) says nothing about the fact that it might raise a ValueError if s is not a validly f...
What is the best way to debug a custom ODBC driver on Windows? A former member of our team wrote the driver so we have the source available. How do you attach a debugger to the driver? Or is it easier to just add "trace prints" to the driver to see what is going on?
Debugging a custom ODBC driver on Windows can be achieved through several methods. Both attaching a debugger and adding trace prints have their advantages and disadvantages. Here’s a structured approach to debugging your ODBC driver: ### 1. **Using a Debugger** If you have access to the source code and can compile the...
11,237
[ { "from": "human", "value": "What is the best way to debug a custom ODBC driver on Windows? A former member of our team wrote the driver so we have the source available.\nHow do you attach a debugger to the driver? Or is it easier to just add \"trace prints\" to the driver to see what is going on?\n" }, ...
I created a program using dev-cpp and wxwidgets which solves a puzzle. The user must fill the operations blocks and the results blocks, and the program will solve it. I'm solving it using brute force, I generate all non-repeated 9 length number combinations using a recursive algorithm. It does it pretty fast. Up to her...
It sounds like you've already built a good foundation for your puzzle-solving application, but you're running into performance issues when processing operations due to character comparisons. Using a `switch` or `case` statement can sometimes become a bottleneck if it's called very frequently, especially in a performanc...
10,515
[ { "from": "human", "value": "I created a program using dev-cpp and wxwidgets which solves a puzzle.\nThe user must fill the operations blocks and the results blocks, and the program will solve it. I'm solving it using brute force, I generate all non-repeated 9 length number combinations using a recursive al...
I'm looking into a mechanism for serialize data to be passed over a socket or shared-memory in a language-independent mechanism. I'm reluctant to use XML since this data is going to be very structured, and encoding/decoding speed is vital. Having a good C API that's liberally licensed is important, but ideally there ...
You're definitely on the right track by considering options like Protocol Buffers (Protobuf) and ASN.1 for efficient data serialization in a language-independent manner. Both options have their pros and cons, and there are other alternatives you might want to explore as well. Let's break down your options: ### 1. **Pr...
12,355
[ { "from": "human", "value": "I'm looking into a mechanism for serialize data to be passed over a socket or shared-memory in a language-independent mechanism. I'm reluctant to use XML since this data is going to be very structured, and encoding/decoding speed is vital. Having a good C API that's liberally ...
I've been reading about the new developer-only RC0 for Silverlight, and the fact that it is supposed to be used only by developers to solve any breaking changes when upgrading from beta 2, so that when the actual S2 is released, migration is smoother. My question is, since you are supposed to uninstall B2 tools and ins...
To effectively manage the transition from Silverlight Beta 2 (B2) to the Release Candidate 0 (RC0) while still providing support and bug fixes for your existing B2 application, you have a couple of options: 1. **Virtual Machine Approach**: As you mentioned, one of the most straightforward methods is to set up a virtua...
13,805
[ { "from": "human", "value": "I've been reading about the new developer-only RC0 for Silverlight, and the fact that it is supposed to be used only by developers to solve any breaking changes when upgrading from beta 2, so that when the actual S2 is released, migration is smoother.\nMy question is, since you ...