text stringlengths 8 267k | meta dict |
|---|---|
Q: How to do crossdomain calls from Silverlight? What's needed to succesfully make a crossdomain call from Silverlight?
A: If I understand your question correctly you would need to have a clientaccesspolicy.xml file in the domain web root of the server that you wish to call (ie www.example.com/clientaccesspolicy.xml) ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29814",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Java return copy to hide future changes In Java, say you have a class that wraps an ArrayList (or any collection) of objects.
How would you return one of those objects such that the caller will not see any future changes to the object made in the ArrayList?
i.e. you want to return a deep copy of the object, but yo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29820",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Giant NodeManagerLogs from hibernate in weblogic One of our weblogic 8.1s has suddenly started logging giant amounts of logs and filling the disk.
The logs giving us hassle resides in
mydrive:\bea\weblogic81\common\nodemanager\NodeManagerLogs\generatedManagedServer1\managedserveroutput.log
and the entries in the l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29822",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Visual Source Safe --> TFS Migration Around here we have been working with a bunch of Visual Source Safe repositories for about 10 years or so.
Now I want to get rid of sourcesafe and move on to Team Foundation Server.
Do you have any tips or tricks for me before I embark on this migration? What are the things I ha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29838",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Thread not waking up from Thread.Sleep() We have a Windows Service written in C#. The service spawns a thread that does this:
private void ThreadWorkerFunction()
{
while(false == _stop) // stop flag set by other thread
{
try
{
openConnection();
doStuff();
closeConnection();
}
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29841",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Dynamic reference to resource files in C# I have an application on which I am implementing localization.
I now need to dynamically reference a name in the resouce file.
assume I have a resource file called Login.resx, an a number of strings: foo="hello", bar="cruel" and baz="world"
normally, I will refer as:
String... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29845",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Get last item in a table - SQL I have a History Table in SQL Server that basically tracks an item through a process. The item has some fixed fields that don't change throughout the process, but has a few other fields including status and Id which increment as the steps of the process increase.
Basically I want to re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29847",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Is there a wxWidgets framework for C? My understanding is that wxWidgets is for a number of programming languages (C++, Python, Perl, and C#/.NET) but that does not include C. Is there a similar framework for the C programming language, or is this not something that C is used for?
A: If you don't mind working with ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29855",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Install Python to match directory layout in OS X 10.5 The default Python install on OS X 10.5 is 2.5.1 with a FAT 32 bit (Intel and PPC) client. I want to setup apache and mysql to run django. In the past, I have run Apache and MySQL to match this install in 32 bit mode (even stripping out the 64 bit stuff from Apac... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29856",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Regex to match all HTML tags except and I need to match and remove all tags using a regular expression in Perl. I have the following:
<\\??(?!p).+?>
But this still matches with the closing </p> tag. Any hint on how to match with the closing tag as well?
Note, this is being performed on xhtml.
A: Not sure why y... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29869",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "24"
} |
Q: How to bring in a web app I run a game and the running is done by hand, I have a few scripts that help me but essentially it's me doing the work. I am at the moment working on web app that will allow the users to input directly some of their game actions and thus save me a lot of work.
The problem is that I'm one ma... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29870",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What would be a good, windows and iis (http) based distributed version control system At my job we make & sell websites. Usually we install our .NET C# based site on a customer's server and maintain and support it remotely. However, every once in a while, for bigger development works and just to make things simpler ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29882",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Printing DOM Changes What I am trying to do is change the background colour of a table cell <td> and then when a user goes to print the page, the changes are now showing.
I am currently using an unobtrusive script to run the following command on a range of cells:
element.style.backgroundColor = "#f00"
This works on... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29883",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to keep the browser history in sync when using Ajax? I'm writing a simple photo album app using ASP.NET Ajax.
The app uses async Ajax calls to pre-load the next photo in the album, without changing the URL in the browser.
The problem is that when the user clicks the back button in the browser, the app doesn't go... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29886",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: How to get your own (local) IP-Address from an udp-socket (C/C++)
*
*You have multiple network adapters.
*Bind a UDP socket to an local port, without specifying an address.
*Receive packets on one of the adapters.
How do you get the local ip address of the adapter which received the packet?
The question is, "W... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29890",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: vmware-cmd causes "perl.exe - Ordinal Not Found" error My automated script for starting and stopping VMWare Server virtual machines has stopped working. vmware-cmd has started raising the error:
The ordinal 3288 could not be located in the dynamic link library LIBEAY32.dll.
I am not aware of any specific change o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29927",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to submit a form when the return key is pressed? Can someone please tell me how to submit an HTML form when the return key is pressed and if there are no buttons in the form?
The submit button is not there. I am using a custom div instead of that.
A: To submit the form when the enter key is pressed create a jav... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29943",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "87"
} |
Q: What is the best way to setup an integration testing server? Setting up an integration server, I’m in doubt about the best approach regarding using multiple tasks to complete the build. Is the best way to set all in just one big-job or make small dependent ones?
A: You definitely want to break up the tasks. Here i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29971",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Best practice for dynamically added Web.UI.ITemplate classes We have a couple of ASP.Net dataview column templates that are dynamically added to the dataview depending on columns selected by users.
These templated cells need to handle custom databindings:
public class CustomColumnTemplate:
ITemplate
{
publi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29976",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How should I test a method that populates a list from a DataReader? So I'm working on some legacy code that's heavy on the manual database operations. I'm trying to maintain some semblance of quality here, so I'm going TDD as much as possible.
The code I'm working on needs to populate, let's say a List<Foo> from a D... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29980",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How to send email from a program _without_ using a preexisting account? I'd like my program to be able to email me error reports. How can I do this without hard-coding a username/password/SMTP server/etc. into the code? (Doing so would allow users to decompile the program and take over this email account.)
I've been... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29988",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Video Codec startcodes Does anybody know (or know of a resource that contains) a list of frame start codes for common video formats (MPEG-1/2/4, .wmv, .mov etc.).
For example, an MPEG-1 video frame will (I think) always start with "00 00 01 00".
In essence I'd like to know these so that I could write a program that... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29993",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Simple programming practice (Fizz Buzz, Print Primes) I want to practice my skills away from a keyboard (i.e. pen and paper) and I'm after simple practice questions like Fizz Buzz, Print the first N primes.
What are your favourite simple programming questions?
A: Problem:
Insert + or - sign anywhere between the dig... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29995",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: How to compare an html entity with jQuery I have the following html code:
<h3 id="headerid"><span onclick="expandCollapse('headerid')">⇑</span>Header title</h3>
I would like to toggle between up arrow and down arrow each time the user clicks the span tag.
function expandCollapse(id) {
var arrow = $("#... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30003",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Can you use LINQ tools such as SQLMetal with an access database? I'm creating a small database application to teach myself the following concepts
*
*C# programming
*.Net 3.5 framework
*WPF
*LINQ ORM
I want to use Microsoft Access as the database but I can't seem to find any mention of whether its possible to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30004",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How do I fire an event when a iframe has finished loading in jQuery? I have to load a PDF within a page.
Ideally I would like to have a loading animated gif which is replaced once the PDF has loaded.
A: This did it for me (not pdf, but another "onload resistant" content):
<iframe id="frameid" src="page.aspx"></ifr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30005",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "99"
} |
Q: How do I select an XML-node based on its content? How can I use XPath to select an XML-node based on its content?
If I e.g. have the following xml and I want to select the <author>-node that contains Ritchie to get the author's full name:
<books>
<book isbn='0131103628'>
<title>The C Programming Languag... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30018",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Features common to all regex flavors? I've seen a lot of commonality in regex capabilities of different regex-enabled tools/languages (e.g. perl, sed, java, vim, etc), but I've also many differences.
Is there a standard subset of regex capabilities that all regex-enabled tools/languages will support? How do regex ca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30026",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: JavaScript and Threads Is there some way to do multi-threading in JavaScript?
A: Different way to do multi-threading and Asynchronous in JavaScript
Before HTML5 JavaScript only allowed the execution of one thread per page.
There was some hacky way to simulate an asynchronous execution with Yield, setTimeout(), se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30036",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "154"
} |
Q: Should DOM splitText and normalise compose to give the identity? I got embroiled in a discussion about DOM implementation quirks yesterday, with gave rise to an interesting question regarding Text.splitText and Element.normalise behaviours, and how they should behave.
In DOM Level 1 Core, Text.splitText is defined a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30049",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: How can I launch the Google Maps iPhone application from within my own native application? The Apple Developer Documentation (link is dead now) explains that if you place a link in a web page and then click it whilst using Mobile Safari on the iPhone, the Google Maps application that is provided as standard with the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30058",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "70"
} |
Q: Boolean Field in Oracle Yesterday I wanted to add a boolean field to an Oracle table. However, there isn't actually a boolean data type in Oracle. Does anyone here know the best way to simulate a boolean? Googling the subject discovered several approaches
*
*Use an integer and just don't bother assigning anyth... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30062",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "149"
} |
Q: How to redirect all stderr in bash? I'm looking for a way to redirect all the stderr streams in interactive bash (ideally to its calling parent process).
I don't want to redirect stderr stream from each individual command, which I could do by appending 2> a_file to each command.
By default, these stderr streams are ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30066",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Should I migrate to ASP.NET MVC? I just listened to the StackOverflow team's 17th podcast, and they talked so highly of ASP.NET MVC that I decided to check it out.
But first, I want to be sure it's worth it. I already created a base web application (for other developers to build on) for a project that's starting in ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30067",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "52"
} |
Q: Monitoring files - how to know when a file is complete We have several .NET applications that monitor a directory for new files, using FileSystemWatcher. The files are copied from another location, uploaded via FTP, etc. When they come in, the files are processed in one way or another. However, one problem that I ha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30074",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: How to know if a line intersects a plane in C#? I have two points (a line segment) and a rectangle. I would like to know how to calculate if the line segment intersects the rectangle.
A: Do http://mathworld.wolfram.com/Line-LineIntersection.html for the line and each side of the rectangle.
Or: http://mathworld.wol... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30080",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "35"
} |
Q: Table Scan vs. Add Index - which is quicker? I have a table with many millions of rows. I need to find all the rows with a specific column value. That column is not in an index, so a table scan results.
But would it be quicker to add an index with the column at the head (prime key following), do the query, then drop... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30094",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: C++ - What does "Stack automatic" mean? In my browsings amongst the Internet, I came across this post, which includes this
"(Well written) C++ goes to great
lengths to make stack automatic
objects work "just like" primitives,
as reflected in Stroustrup's advice to
"do as the ints do". This requires a
much... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30099",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Is there an automatic code formatter for C#? In my work I deal mostly with C# code nowadays, with a sprinkle of java from time to time. What I absolutely love about Eclipse (and I know people using it daily love it even more) is a sophisticated code formatter, able to mould code into any coding standard one might im... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30101",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "65"
} |
Q: Making a JavaScript regex equivalent to a PHP regex After my web form is submitted, a regex will be applied to user input on the server side (via PHP). I'd like to have the identical regex running in real-time on the client side to show the user what the real input will be. This will be pretty much the same as the P... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30121",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Ethernet MAC address as activation code for an appliance? Let's suppose you deploy a network-attached appliances (small form factor PCs) in the field. You want to allow these to call home after being powered on, then be identified and activated by end users.
Our current plan involves the user entering the MAC addres... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30145",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Manual steps to upgrade VS.NET solution and target .NET framework? After you've let the VS.NET (2008 in this case) wizard upgrade your solution, do you perform any manual steps to upgrade specific properties of your solution and projects? For instance, you have to go to each project and target a new version of the f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30148",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How does WinXP's "Send to Compressed (zipped) Folder" decide what to include in zip file? I'm not going to be too surprised if I get shot-down for asking a "non programming" question, but maybe somebody knows ...
I was zipping the contents of my subversion sandbox using WinXP's inbuilt "Send to Compressed (zipped) F... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30152",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Is there a Java Console/Editor similar to the GroovyConsole? I'm giving a presentation to a Java User's Group on Groovy and I'm going to be doing some coding during the presentation to show some side-by-side Java/Groovy. I really like the GroovyConsole as it's simple and I can resize the text easily.
I'm wonderin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30160",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Avoiding repeated constants in CSS Are there any useful techniques for reducing the repetition of constants in a CSS file?
(For example, a bunch of different selectors which should all apply the same colour, or the same font size)?
A: You should comma seperate each id or class for example:
h1,h2 {
color: #fff;
}
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30170",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Why won't .NET deserialize my primitive array from a web service? Help! I have an Axis web service that is being consumed by a C# application. Everything works great, except that arrays of long values always come across as [0,0,0,0] - the right length, but the values aren't deserialized. I have tried with other p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30171",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How do I enable Edit and Continue on a 64-bit application and VB2008 Express? When I try to do that I get the following error:
Changes to 64-bit applications are not allowed.
@Wilka: That option wasn't available until I selected Tools > Options > Projects and Solutions > General and check "Show advanced build con... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30183",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "29"
} |
Q: Winforms - Click/drag anywhere in the form to move it as if clicked in the form caption I am creating a small modal form that is used in Winforms application. It is basically a progress bar of sorts. But I would like the user to be able to click anywhere in the form and drag it to move it around on the desktop while... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30184",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: How can I format a javascript date to be serialized by jQuery I am trying to set a javascript date so that it can be submitted via JSON to a .NET type, but when attempting to do this, jQuery sets the date to a full string, what format does it have to be in to be converted to a .NET type?
var regDate = student.Regist... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30188",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: TFS Lifecycle Management for Build Environment How would you manage the lifecycle and automated build process when some of the projects (C# .csproj projects) are part of the actual build system?
Example:
A .csproj is a project that uses MSBuild tasks that are implemented in BuildEnv.csproj.
Both projects are part of... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30209",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can Windows' built-in ZIP compression be scripted? Is the ZIP compression that is built into Windows XP/Vista/2003/2008 able to be scripted at all? What executable would I have to call from a BAT/CMD file? or is it possible to do it with VBScript?
I realize that this is possible using WinZip, 7-Zip and other externa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30211",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "61"
} |
Q: SQL Server: Get data for only the past year I am writing a query in which I have to get the data for only the last year. What is the best way to do this?
SELECT ... FROM ... WHERE date > '8/27/2007 12:00:00 AM'
A: Well, I think something is missing here. User wants to get data from the last year and not from the l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30222",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "125"
} |
Q: enter key to insert newline in asp.net multiline textbox control I have some C# / asp.net code I inherited which has a textbox which I want to make multiline. I did so by adding textmode="multiline" but when I try to insert a newline, the enter key instead submits the form :P
I googled around and it seems like the d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30230",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: WPF setting a MenuItem.Icon in code I have an images folder with a png in it. I would like to set a MenuItem's icon to that png. How do I write this in procedural code?
A: menutItem.Icon = new System.Windows.Controls.Image
{
Source = new BitmapImage(new Uri("images/sample.png", UriKind.Relativ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30239",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "39"
} |
Q: Tables instead of DIVs
Possible Duplicate:
Why not use tables for layout in HTML?
Under what conditions should you choose tables instead of DIVs in HTML coding?
A: Agree with Thomas -- the general rule of thumb is if it makes sense on a spreedsheet, you can use a table. Otherwise not.
Just don't use tables as... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30251",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "116"
} |
Q: How Popular is the Seam Framework I'm using JBoss Seam Framework, but it's seems to me isn't very popular among java developers.
I want to know how many java programmers here are using it, and in what kind of projects.
Is as good as django, or RoR?
A: I have used JBoss Seam now for about a year and like it very mu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30281",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "21"
} |
Q: NullReferenceException on User Control handle I have an Asp.NET application (VS2008, Framework 2.0). When I try to set a property on one of the user controls like
myUserControl.SomeProperty = someValue;
I get a NullReferenceException. When I debug, I found out that myUserControl is null. How is it possible that a u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30286",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can you test to see if two arrays are the same using CFML? Using CFML (ColdFusion Markup Langauge, aka ColdFusion), how can you compare if two single dimension arrays are the same?
A: To build on James' answer, I thought that JSON might be preferrable over WDDX. In fact, it proves to be considerably more effici... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30288",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Should you run one or multiple applications per tomcat cluster? Currently I am setting up an application that can deploy other web apps to Tomcat 6 clusters. It is set up right now to have a one to one relationship between deployed web application and a cluster. My current reasoning for this is so that I can chang... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30295",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: MS hotfix delayed delivery I just requested a hotfix from support.microsoft.com and put in my email address, but I haven't received the email yet. The splash page I got after I requested the hotfix said:
Hotfix Confirmation
We will send these hotfixes to the following e-mail address:
(my correct email address)
Us... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30297",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Asp.Net Routing: How do I ignore multiple wildcard routes? I'd like to ignore multiple wildcard routes. With asp.net mvc preview 4, they ship with:
RouteTable.Routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
I'd also like to add something like:
RouteTable.Routes.IgnoreRoute("Content/{*pathInfo}");
but that seems... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30302",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Why would getcwd() return a different directory than a local pwd? I'm doing some PHP stuff on an Ubuntu server.
The path I'm working in is /mnt/dev-windows-data/Staging/mbiek/test_list but the PHP call getcwd() is returning /mnt/dev-windows/Staging/mbiek/test_list (notice how it's dev-windows instead of dev-windows-... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30307",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Asp.Net MVC: How do I enable dashes in my urls? I'd like to have dashes separate words in my URLs. So instead of:
/MyController/MyAction
I'd like:
/My-Controller/My-Action
Is this possible?
A: Here's what I did using areas in ASP.NET MVC 5 and it worked liked a charm. I didn't have to rename my views, either.
In... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30310",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "78"
} |
Q: Where can I find a graphical command shell? Terminals and shells are very powerful but can be complicated to learn, especially to get the best out of them. Does anyone know of a more GUI based command shell that helps a user or displays answers in a more friendly way? I'm aware of IPython, but even the syntax of tha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30318",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Is there a HTML opposite to ? Is there a tag in HTML that will only display its content if JavaScript is enabled? I know <noscript> works the opposite way around, displaying its HTML content when JavaScript is turned off. But I would like to only display a form on a site if JavaScript is available, telling them why ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30319",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "123"
} |
Q: How to store Application Messages for a .NET Website I am looking for a method of storing Application Messages, such as
*
*"You have logged in successfully"
*"An error has occurred, please call the helpdesk on x100"
*"You do not have the authority to reset all system passwords" etc
So that "when" the users de... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30321",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: OCR with the Tesseract interface How do you OCR an tiff file using Tesseract's interface in c#?
Currently I only know how to do it using the executable.
A: C# program launches tesseract.exe and then reads the output file of tesseract.exe.
Process process = Process.Start("tesseract.exe", "out");
process.WaitForExit(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30328",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "32"
} |
Q: Install-base of Java JRE? Is there an online resource somewhere that maintains statistics on the install-base of Java including JRE version information? If not, is there any recent report that has some numbers?
I'm particularly interested in Windows users, but all other OS's are welcome too.
A: I'm not aware of any... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30337",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Why do I receive a q[num] error when aborting a jQuery queue pipeline? When creating and executing a ajax request queue with $.manageAjax, I call ajaxManager.abort();, to abort the entire queue due to error, at which time I get an error stating: q[num] has no properties (jquery.ajaxmanager.js line 75)
Here is the ca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30342",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Fixed page layout in IE6 Header, footer and sidebars have fixed position. In the center a content area with both scroll bars. No outer scroll bars on the browser. I have a layout that works in IE7 and FF. I need to add IE6 support. How can I make this work?
Here is an approximation of my current CSS.
<!DOCTYPE h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30346",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: When must I set a variable to "Nothing" in VB6? In one of my VB6 forms, I create several other Form objects and store them in member variables.
Private m_frm1 as MyForm
Private m_frm2 as MyForm
// Later...
Set m_frm1 = New MyForm
Set m_frm2 = New MyForm
I notice that I'm leaking memory whenever this (parent) form ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30354",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: What C++ pitfalls should I avoid? I remember first learning about vectors in the STL and after some time, I wanted to use a vector of bools for one of my projects. After seeing some strange behavior and doing some research, I learned that a vector of bools is not really a vector of bools.
Are there any other common ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30373",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "76"
} |
Q: How do I replicate content on a web farm We have a Windows Server Web Edition 2003 Web Farm.
What can we use that handles replication across the servers for:
Content & IIS Configuration (App Pools, Virtual Directories, etc...)
We will be moving to Windows 2008 in the near future, so I guess what options are there o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30379",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Dynamically display Edit Control Block menu item in SharePoint I am trying to set up dynamic per-item menus (Edit Control Block) in SharePoint 2007. My goal is to have certain features that are available based on the current user's group membership.
I know that the CustomAction tag that controls the creation of thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30397",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Experience with Java clustering? Would like to hear from people about their experience with java clustering (ie. implementing HA solutions). aka . terracotta, JGroups etc. It doesn't have to be web apps. Experience writing custom stand alone servers would be great also.
UPDATE : I will be a bit more specific -> n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30428",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Moving from Visual Studio 2005 to 2008 and .NET 2.0 I'm currently using VS2005 Profesional and .NET 2.0, and since our project is rather large (25 projects in the solution), I'd like to try VS 2008, since its theoretically faster with larger projects.
Before doing such thing, i'd like to know if what I've read is t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30430",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Parsing XML Elements & Attributes with Perl So I wrote some perl that would parse results returned from the Amazon Web Services. I am using the XML::Simple package. For the most part, everything worked when I pulled out an element. However, the problem I ran into was when an element had an attribute as well. Then... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30454",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to collect customer feedback? What's the best way to close the loop and have a desktop app "call home" with customer feedback? Right now our code will login to our SMTP server and send me some email.
A: The site GetSatisfaction has been an increasingly popular way to get customer feedback.
http://getsatisfacti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30465",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: What is a reasonable length limit on person "Name" fields? I have a simple webform that will allow unauthenticated users to input their information, including name. I gave the name field a limit of 50 characters to coincide with my database table where the field is varchar(50), but then I started to wonder.
Is it mo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30485",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "162"
} |
Q: Compare Version Identifiers Here is my code, which takes two version identifiers in the form "1, 5, 0, 4" or "1.5.0.4" and determines which is the newer version.
Suggestions or improvements, please!
/// <summary>
/// Compares two specified version strings and returns an integer that
/// indicates their ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30494",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "26"
} |
Q: Programmatically retrieve Visual Studio install directory I know there is a registry key indicating the install directory, but I don't remember what it is off-hand.
I am currently interested in Visual Studio 2008 install directory, though it wouldn't hurt to list others for future reference.
A: Environment: Thanks ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30504",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "25"
} |
Q: Display solution/file path in the Visual Studio IDE I frequently work with multiple instances of Visual Studio, often working on different branches of the same solution.
Visual C++ 6.0 used to display the full path of the current source file in its title bar, but Visual Studio 2005 doesn't appear to do this. This ma... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30505",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "84"
} |
Q: Qt Child Window Placement Is there a way to specify a child's initial window position in Qt?
I have an application that runs on Linux and Windows and it looks like the default behavior of Qt lets the Window Manager determine the placement of the child windows.
On Windows, this is in the center of the screen the p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30521",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to implement Type-safe COM enumerations? How could i implement Type-Safe Enumerations in Delphi in a COM scenario ? Basically, i'd like to replace a set of primitive constants of a enumeration with a set of static final object references encapsulated in a class ? .
In Java, we can do something like:
public fina... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30529",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Best way to enumerate all available video codecs on Windows? I'm looking for a good way to enumerate all the Video codecs on a Windows XP/Vista machine.
I need present the user with a set of video codecs, including the compressors and decompressors. The output would look something like
Available Decoders
DiVX Vers... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30539",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: What does this javascript error mean? Permission denied to call method to Location.toString This error just started popping up all over our site.
Permission denied to call method to Location.toString
I'm seeing google posts that suggest that this is related to flash and our crossdomain.xml. What caused this to occu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30540",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Using MVP - How to use Events Properly for Testing I've just started using the MVP pattern in the large ASP.NET application that I'm building (re-building actually) and I am having a hard time figuring out how I should be using Events applied to the view.
Say I have 2 drop down lists in a User Control, where one is ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30541",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is code written in Vista 64 compatible on 32 bit os? We are getting new dev machines and moving up to Vista 64 Ultimate to take advantage of our 8gb ram. Our manager wants us to do all dev in 32bit virtual machines to make sure there will be no problems with our code moving into production.
Is there any way to gu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30543",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Returning the sum of items depending on which type it is I have one field that I need to sum lets say named items
However that field can be part of group a or b
In the end I need to have all of the items summed for group a and group b
when I say grouped I mean there is a LEFT OUTER JOIN to another table the previous... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30563",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Delayed Write Failed on Windows 2003 Clustered Fileshare I am trying to solve a persistent IO problem when we try to read or write to a Windows 2003 Clustered Fileshare. It is happening regularly and seem to be triggered by traffic. We are writing via .NET's FileStream object.
Basically we are writing from a Windo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30566",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Resize transparent images using C# Does anyone have the secret formula to resizing transparent images (mainly GIFs) without ANY quality loss - what so ever?
I've tried a bunch of stuff, the closest I get is not good enough.
Take a look at my main image:
http://www.thewallcompany.dk/test/main.gif
And then the scaled ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30569",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "26"
} |
Q: How do I tell Maven to use the latest version of a dependency? In Maven, dependencies are usually set up like this:
<dependency>
<groupId>wonderful-inc</groupId>
<artifactId>dream-library</artifactId>
<version>1.2.3</version>
</dependency>
Now, if you are working with libraries that have frequent releases, co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30571",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "888"
} |
Q: Can you use CruiseControl to build Cocoa/Objective-C projects? Has anyone ever set up Cruise Control to build an OS X Cocoa/Objective-C project?
If so, is there a preferred flavor of CruiseControl (CruiseControl.rb or just regular CruiseControl) that would be easier to do this with.
I currently have a Ruby rake fil... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30585",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Is it possible to find code coverage in ColdFusion? I am trying to be a "good" programmer and have unit tests for my ColdFusion application but haven't been able to find a code coverage tool that can tie into the test that I'm using. For those of you who do unit tests on your ColdFusion code, how have you approached... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30594",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How would you use Java to handle various XML documents? I'm looking for the best method to parse various XML documents using a Java application. I'm currently doing this with SAX and a custom content handler and it works great - zippy and stable.
I've decided to explore the option having the same program, that cur... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30627",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Difference between the Apache HTTP Server and Apache Tomcat? What is the difference in terms of functionality between the Apache HTTP Server and Apache Tomcat?
I know that Tomcat is written in Java and the HTTP Server is in C, but other than that I do not really know how they are distinguished. Do they have differen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30632",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "681"
} |
Q: Open 2 Visio diagrams in different windows I would like to know if I can open 2 different diagrams using MS Visio and each diagram have its own window. I've tried in several ways, but I always end up with 1 Visio window ...
I'm using a triple monitor setup and I'd like to put one diagram to each side of my main moni... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30651",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "22"
} |
Q: What do I need to do to implement an "out of proc" COM server in C#? I am trying to implement an "out of proc" COM server written in C#. How do I do this?
I need the C# code to be "out of proc" from my main C++ application, because I cannot load the .NET runtime into my main process space
WHY?:
My C++ code is in a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30653",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: MySQL Binary Log Replication: Can it be set to ignore errors? I'm running a master-slave MySQL binary log replication system (phew!) that, for some data, is not in sync (meaning, the master holds more data than the slave). But the slave stops very frequently on the slightest MySQL error, can this be disabled? (perha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30660",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Get file version in PowerShell How can you get the version information from a .dll or .exe file in PowerShell?
I am specifically interested in File Version, though other version information (that is, Company, Language, Product Name, etc.) would be helpful as well.
A: This is based on the other answers, but is exact... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30686",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "176"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.