text stringlengths 8 267k | meta dict |
|---|---|
Q: How can I copy a large file on Windows without CopyFile or CopyFileEx? There is a limitation on Windows Server 2003 that prevents you from copying extremely large files, in proportion to the amount of RAM you have. The limitation is in the CopyFile and CopyFileEx functions, which are used by xcopy, Explorer, Roboco... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92114",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: What is a cairngorm "Comparator" Can anyone explain this in easy to understand terms?
A: Here is Adobe's 5 part series - whether it is easy to understand depends on the individual users perspective!
Also this post describes the "comparator" much like a filter.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/92132",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: why does my D2009 exe produce emails with attachments named ATTnnnnn.DAT Why does my D2009 exe produce emails with attachments named ATTnnnnn.DAT when the same source code compiled in D2007 produces emails with attachments correctly named with the original file name?
I am using the respective Indy libraries that co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92196",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Python, beyond the basics I've gotten to grips with the basics of Python and I've got a small holiday which I want to use some of to learn a little more Python. The problem is that I have no idea what to learn or where to start. I'm primarily web development but in this case I don't know how much difference it will ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92230",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Can CSS truly override the order of HTML elements on a page? If you have several divs on a page, you can use CSS to size, float them and move them round a little... but I can't see a way to get past the fact that the first div will show near the top of the page and the last div will be near the bottom! I cannot comp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92239",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "23"
} |
Q: Why does mvn release:prepare fail while tagging? With my multiproject pom I get an error while running release:prepare. There is nothing fancy about the project setup and every release-step before runs fine.
The error I get is:
[INFO] ------------------------------------------------------------------------
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92258",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How do I enable/disable Cut/Copy/Paste menu and toolbar items in a generic way? I have a windows forms application with controls like textbox, combobox, datagridview etc.
These controls allow a user to use the clipboad, i.e. cut/copy and paste text. It is also possible to delete text (which is not related to the cli... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92262",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Sending a 4 byte message header from C# client to a Java Server I am trying to write a C# client to a server that is written in Java. The server expects a 4 byte (DataInputStread readInt() in Java) message header followed by the actual message.
I am absolutely new to C#, how can I send this message header over to th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92287",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: How to make visualstudio .net work with VB6 and service pack 6 I have VB application that requires visual service pack 6 to run , now when I install visualstudio.net (any version of .net) Its debugger doesn't work properly ,I am able to create windows/web application in visualstudio.net but not able to debug anythi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92290",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Silverlight interaction with DataSet web services My colleague has found himself in an "interesting" situation. He is working on a Silverlight (2.0) prototype that needs to call existing web services in the enterprise and bind the returned data to data-display controls. The thing is, the web services return .NET Dat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92323",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I access the ListViewItems of a WPF ListView? Within an event, I'd like to put the focus on a specific TextBox within the ListViewItem's template. The XAML looks like this:
<ListView x:Name="myList" ItemsSource="{Binding SomeList}">
<ListView.View>
<GridView>
<GridViewColumn>
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92328",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Clean builds in continuous integration We use a CruiseControl.Net/NAnt/Subversion stack for CI. Doing a fresh checkout for every build is way too time-consuming, so currently we just do an update on a working copy. However, this leaves the possibility that orphaned files may remain in the working copy, after being d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92329",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: "Greedy" and in Visual Studio Is there the way to apply "greedy" behavior to and keys in Visual Studio? By "greedy" I mean such behavior when all whitespace between cursor position and next word bound can be deleted using one keystroke.
A: Well, I don't think you can change the binding of the delete key or back... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92342",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Has anyone found a way to run C# Selenium RC tests in parallel? Has anyone found a way to run Selenium RC / Selenium Grid tests, written in C# in parallel?
I've currently got a sizable test suite written using Selenium RC's C# driver. Running the entire test suite takes a little over an hour to complete. I normally ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92362",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Maven plugins to analyze javascript code quality Javascript code can be tough to maintain.
I am looking for tools that will help me ensure a reasonable quality level.
So far I have found JsUNit, a very nice unit test framework for javascript. Tests can be run automatically from ant on any browser available.
I have n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92372",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: Django + FCGID on Fedora Core 9 -- what am I missing? Fedora Core 9 seems to have FCGID instead of FastCGI as a pre-built, YUM-managed module. [I'd rather not have to maintain a module outside of YUM; so no manual builds for me or my sysadmins.]
I'm trying to launch Django through the runfastcgi interface (per the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92373",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Creating hidden folders Is there any way that I can programmatically create (and I guess access) hidden folders on a storage device from within c#?
A: CreateHiddenFolder(string name)
{
DirectoryInfo di = new DirectoryInfo(name);
di.Create();
di.Attributes |= FileAttributes.Hidden;
}
A: string pa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92376",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "47"
} |
Q: Why can't variables be declared in a switch statement? I've always wondered this - why can't you declare variables after a case label in a switch statement? In C++ you can declare variables pretty much anywhere (and declaring them close to first use is obviously a good thing) but the following still won't work:
swi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92396",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1101"
} |
Q: Global vs Universal Active Directory Group access for a web app I have a SQL Server 2000, C# & ASP.net web app. We want to control access to it by using Active Directory groups. I can get authentication to work if the group I put in is a 'Global' but not if the group is 'Universal'.
How can I make this work with... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92413",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I read and manipulate PDF 1.5 files in Perl? There doesn't appear to be any Perl libraries that can open, manipulate, and re-save PDF documents that use the newer PDF version (1.5 and above I believe) that use a cross-reference stream rather than table. Does anyone know of any unix/linux-based utilities to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92426",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: How do I apply inline CSS to an ASP.NET server control? Based on a simple test I ran, I don't think it's possible to put an inline <style> tag into an ASP.NET server control. The style did not end up rendering to the output HTML. Even if it was possible, I'm sure it is bad practice to do this.
Is it possible to do... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92427",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: Exception getting past Application.ThreadException and AppDomain.CurrentDomain.UnhandledException I'm having a problem with an application hanging and giving me the default "Please tell Microsoft about this problem" popup, instead of the "unhandled exception" dialog in the application.
In the application code, the A... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92434",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Stripping non printable characters from a string in python I use to run
$s =~ s/[^[:print:]]//g;
on Perl to get rid of non printable characters.
In Python there's no POSIX regex classes, and I can't write [:print:] having it mean what I want. I know of no way in Python to detect if a character is printable or not.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92438",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "105"
} |
Q: Distributed Concurrency Control I've been working on this for a few days now, and I've found several solutions but none of them incredibly simple or lightweight. The problem is basically this: We have a cluster of 10 machines, each of which is running the same software on a multithreaded ESB platform. I can deal w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92452",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "56"
} |
Q: How can I write a lock free structure? In my multithreaded application and I see heavy lock contention in it, preventing good scalability across multiple cores. I have decided to use lock free programming to solve this.
How can I write a lock free structure?
A: Immutability is one approach to avoid locking. See Eri... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92455",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "36"
} |
Q: Using openssl encryption with Java I have a legacy C++ module that offers encryption/decryption using the openssl library (DES encryption). I'm trying to translate that code into java, and I don't want to rely on a DLL, JNI, etc...
C++ code looks like:
des_string_to_key(reinterpret_cast<const char *>(key1), &initkey... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92456",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Perl::Critic: Life after Moose? I've started a conversion of a project to Moose and the first thing I noticed was that my critic/tidy tests go to hell. Moose, Tidy and Critic don't seem to like each other as much as they used to.
Are there docs anywhere on how to make critic/tidy be more appreciative of the Moose di... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92465",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: What should be done to make TFS send e-mails for events? Our Tfs server (Tfs2008) has smtp server installed. But we could not make Tfs send e-mails after events to the subscribers (we are using EventSubscriptionTool).
Our appsettings includes these lines:
<add key="emailNotificationFromAddress" value="tfs@mail.com... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92467",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to call an Objective-C method from Javascript in a Cocoa/WebKit app? I have a Cocoa app that uses a WebView to display an HTML interface. How would I go about calling an Objective-C method from a Javascript function within the HTML interface?
A: Being rather green, Apple's documentation is pretty unusable for m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92471",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Elapsed time without considering weekends and bank holidays in Java I've implemented a stopwatch that works fine without considering that bank holidays and weekends shouldn't be counted in the total duration. I was looking for some open-source library where I could get the elapsed time, passing a start instant, end ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92475",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Running JIRA on a VM Anyone have any success or failure running Jira on a VM?
I am setting up a new source control and defect tracking server. My server room is near full and my services group suggested a VM. I saw that a bunch of people are running SVN on VM (including NCSA). The VM would also free me from hardw... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92490",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Strong SSL with Tomcat 6 I'm trying to create a self signed certificate for use with Apache Tomcat 6. Every certificate I can make always results in the browser connecting with AES-128. The customer would like me to demonstrate that I can create a connection at AES-256.
I've tried java's keytool and openssl. I've... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92504",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to programmatically configure an ODBC Datasource using C# Is there any way to create a ODBC DSN with C#?
Maybe a P/invoke?
A: You can use Registry classes to write the dsn info in the registry, under
HKLM\Software\ODBC\ODBC.INI\ODBC Data Sources
You'll need to check what values are needed for you ODBC driver.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92514",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Why is the behaviour of datetime in JSON different on different systems (win xp, server 2003)? My Web Application is split up in a WebGui and an WebService. The WebService is responsible for Business Logic and Database handling.
From Javascript in the Browser I request data depending on a date and time that is an in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92515",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: HTTP GET in VB.NET What is the best way to issue a http get in VB.net? I want to get the result of a request like http://api.hostip.info/?ip=68.180.206.184
A: In VB.NET:
Dim webClient As New System.Net.WebClient
Dim result As String = webClient.DownloadString("http://api.hostip.info/?ip=68.180.206.184")
In C#:
Sy... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92522",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "48"
} |
Q: Python module functions used in unexpected ways Based on "Split a string by spaces in Python", which uses shlex.split to split a string with quotes smartly, I would be interested in hearing about other common tasks solved by non-obvious standard library functions.
If this turns into Module of The Week, that's fine... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92533",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Get Control flow graph from Abstract Syntax Tree I have an AST derived from the ANTLR Parser Generator for Java. What I want to do is somehow construct a control flow graph of the source code, where each statement or expression is a unique Node. I understand there must be some recursiveness to this identification, I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92537",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: IQueriable for objects with better than O(n) performance? Are there any IQueriable implementaions for linq-to-objects that perform better than the default O(n) linear search performance that you get when calling myEnumerable.AsQueriable()?
I've had a look at http://www.codeplex.com/i4o/ which has better performance,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92539",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Save and Restore Form Position and Size In a WinForms 2.0 C# application, what is the typical method used for saving and restoring form position and size in an application?
Related, is it possible to add new User scoped application settings AT RUNTIME? I totally see how to add settings at design time, that's not a p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92540",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Does NUnit work with .NET 3.5? I'm just getting started with learning about Unit testing (and TDD in general). My question is does the latest version of NUnit support working in VS2008 with .NET 3.5? I've looked at the documentation pages at NUnit and they don't mention it.
If anyone has worked with it in 3.5 are... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92541",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Variable declarations in header files - static or not? When refactoring away some #defines I came across declarations similar to the following in a C++ header file:
static const unsigned int VAL = 42;
const unsigned int ANOTHER_VAL = 37;
The question is, what difference, if any, will the static make? Note that mul... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92546",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "94"
} |
Q: How to start in Windows development? I've been a Unix-based web programmer for years (Perl and PHP). I'm also competent with C and C++ (and bash and that sort of sysadmin sort of stuff) in terms of the language itself. I've never had a problem learning a new language (I mucked around with Java a few years ago and ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92556",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Should I reject URLs longer than what is expected? I am developing an application, and have URLs in the format www.example.com/some_url/some_parameter/some_keyword. I know by design that there is a maximum length that these URLs will have (and still be valid). Should I validate the URL length with every request in o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92561",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How can I highlight text in Scintilla? I am writing an editor using Scintilla.
I am already using a lexer to do automatic syntax highlighting but now I would like to mark search results. If I want to mark only one hit I can set the selection there, however, I would like to mark (e.g. with yellow background) all the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92565",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Learning C# in Mono How solid is Mono for C# development on Linux and OS X? I've been thinking about learning C# on the side, and was wondering if learning using Mono would suffice.
A: It should be just fine. It supports C# 3.0 now. I usually try to stick with targeting 2.0 though and it is very stable.
Winforms a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92592",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: SQL Compact Edition 3.5 SP 1 - LockTimeOutException - how to debug? Intermittently in our app, we encounter LockTimeoutExceptions being throw from SQL CE. We've recently upgraded to 3.5 SP 1, and a number of them seem to have gone away, but we still do see them occasionally. I'm certain it's a bug in our code (which... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92601",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What can cause an assembly language program to display "junk"? I have some code which is supposed to display a short message. Here's the pertinent code:
DATA SEGMENT 'DATA'
MSG DB 0AH, 0DH, 'Hello, Adam', '$'
CHAR DB 00H
DATA ENDS
CODE SEGMENT 'CODE'
PRINT_MSG:
MOV AH, 09H ;Command to print string o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92613",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Many to Many Relationship in MS Dynamics CRM 4.0 - How to? I'm working on a MS CRM server for a project at my university.
What I'm trying to do is to let the user of the CRM to tag some contacts, I thought of creating an entity to archive the tags an to create an N:N relationship between the tag entity and the conta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92617",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python sockets suddenly timing out? I came back today to an old script I had for logging into Gmail via SSL. The script worked fine last time I ran it (several months ago) but now it dies immediately with:
<urlopen error The read operation timed out>
If I set the timeout (no matter how long), it dies even more imme... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92620",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Self-owning web services, or services that can survive the death of the inventor I noticed a new web service today called a Dead man's switch, which dispatches email in the event that you don't respond to periodic "pings" that prove you're still alive. But it occurred to me that I might outlive the person or organiz... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92638",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How much tolerance does google have for large site maps I have a site map of a few thoasand pages where the only different content on them is the title attribute and the content plotted out in a google map?
Will google punish me for this as spam?
A: Google has a specific standard for indexing geo-spatial content wh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92651",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I reserve caret position in CEdit control? I'm programming an application in MFC (don't ask) and I have a CEdit box that holds a number. When that number is edited, I would like to act on the change, and then replace the caret where it was before I acted on the change - if the user was just before the "." in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92671",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Tidy Converting to I am using the PHP 5 Tidy class to format html.
Everything is fine except when it gets passed a style attribute, when it changes it into a class attribute. As I am only formatting the body of a document, not the head, there is no class defined in the head for the attribute to read.
I have looked... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92672",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Which is the best tool for automatic GUI performance testing? We are currently testing a Java Swing application for it's performance. I wonder if there is a good tool to automate this?
A: A few years ago I used JMeter for such a task. I generally enjoyed using it, though I never did much research on what else is av... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92679",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to define listview templates in code I am writing a Composite control, which contains a listview to display a table of items. Normally when using a ListView in Asp.NET I would define the templates in the code-forward.
<asp:ListView runat="server" ID="ArticleList">
<LayoutTemplate>
<div class="Content... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92689",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: How can you get database specific performance metrics for things like CPU/Memory/etc. in SQL Server 2005? I have a couple databases on a shared SQL Server 2005 cluster instance, that I would like performance metrics on. I have some processes that run for a very long time and suspect that code inefficiencies, rather ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92696",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Combine rows / concatenate rows I'm looking for an Access 2007 equivalent to SQL Server's COALESCE function.
In SQL Server you could do something like:
Person
John
Steve
Richard
SQL
DECLARE @PersonList nvarchar(1024)
SELECT @PersonList = COALESCE(@PersonList + ',','') + Person
FROM PersonTable
PRINT @PersonList
W... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92698",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Non-iterative / Non-looping Way To Calculate Effective Date? I have a table called OffDays, where weekends and holiday dates are kept. I have a table called LeadTime where amount of time (in days) for a product to be manufactured is stored. Finally I have a table called Order where a product and the order date is ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92699",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: jQuery/JavaScript to replace broken images I have a web page that includes a bunch of images. Sometimes the image isn't available, so a broken image is displayed in the client's browser.
How do I use jQuery to get the set of images, filter it to broken images then replace the src?
--I thought it would be easier to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92720",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "584"
} |
Q: Converting large ASP.NET VB.NET project to C# - incrementally? Was looking for some approaches to incrementally converting an large existing ASP.NET VB.NET project to C# while still being able to deploy it as a single web application (currently deployed on a weekly basis).
My thoughts were to just create a new C# ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92728",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: unintentional pitch change using MS SAPI TTS Has anyone else experienced (and possibly solved) unintentional pitch changes using MS SAPI TTS voices?
I'm using the SpVoice automation interface with SAPI 5.1.
Right now, my application (VB6 app) can get into a state where the TTS (Microsoft Anna) starts to sound like ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92742",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Switching an OSS project license from GPL to L-GPL on Sourceforge Is that possible to switch an Open Source Project license from GPL to LGPL v3 ?
I am the project originator and the only contributor.
A: yes, of course. You can change the licence to whatever you want.
Go to your admin page, then edit registration fr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92754",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do I get CTRL-LEFTCLICK navigation on Ruby to work in IntelliJ 7? In IntelliJ when editing Java files CTRL+LEFTCLICK on an identifier takes me to where that identifier is defined. For some reason it doesn't work when editing Ruby code. Any ideas?
A: This is because the program doesn't know where to find that i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92768",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Stop SubText/FCKEditor messing up the HTML I'm trying to put together a blog, and have gone with SubText and I've just installed SyntaxHighlighter but it doesn't seem to work properly. SubText or FCKEditor seems to tamper with the HTMl, inlineing everything in the pre tags and placing line-breaks at the end of each... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92769",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I present text vertically in a JLabel ? (Java 1.6) I'm looking to have text display vertically, first letter at the bottom, last letter at the top, within a JLabel. Is this possible?
A: I found this page: http://www.java2s.com/Tutorial/Java/0240__Swing/VerticalLabelUI.htm when I needed to do that.
I don't k... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92781",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: User Control created dynamically not able to handle events on PostBack I have a user control which is loaded in the page dynamically using the following code in Init of the Page.
Dim oCtl As Object
oCtl = LoadControl("~/Controls/UserControl1.ascx")
oCtl.Id = "UserControl11"
PlaceHolder1.Controls.Clear()
PlaceHolder... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92792",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: WebDAV doesn't include BCC headers when retrieving mail This seems to be intended behaviour as stated here, but I can't believe the only method of getting the BCCs is to parse Outlook Web Access' HTML code.
Has anybody encountered the same limitation and found a workaround? I'd also be fine with getting the BCCs fro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92801",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is the Linux equivalent to DOS pause? I have a Bash shell script in which I would like to pause execution until the user presses a key. In DOS, this is easily accomplished with the pause command. Is there a Linux equivalent I can use in my script?
A: read does this:
user@host:~$ read -n1 -r -p "Press any key t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92802",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "270"
} |
Q: Effective Methods to Manage Digital Distraction With the plethora of communication methods available to co-workers, how do you manage to keep distractions at bay for a large enough block of time to accomplish some focused programming?
Do you quit or close all communications, have you informed people that an away mes... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92809",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Reverse Engineering for Database Diagramming in Visio with SQL Server 2008 I need to reverse engineer a Microsoft SQL Server 2008 in order to create a Microsoft Visio 2007 Database Model Diagram. So I choose "Reverse Engineer" from the Database menu to connect to the DB.
I configured the Microsoft SQL Server Visio d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92811",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "42"
} |
Q: Casting array of objects (which implement interface IFoo) to IFoo[] in C# class A : IFoo
{
}
...
A[] arrayOfA = new A[10];
if(arrayOfA is IFoo[])
{
// this is not called
}
Q1: Why is arrayOfA not an array of IFoos?
Q2: Why can't I cast arrayOfA to IFoo[]?
A: arrayOfA is IFoo[].
There must be something els... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92820",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I use TextMate as my command line subversion message editor? Simply setting the SVN_EDITOR variable to "mate" does not get the job done. It opens TextMate when appropriate, but then when I save the message and exit, I'm prompted to continue, abort or try again. It seems like the buffer isn't returned to the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92826",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: ASP .NET Deployment Model for a Live Site I have recently inherited a brownfield application that is currently live. Through response, or a response with a link, how and what is the best method to make changes to a site and deploy them to a live ASP .NET website.
A: I always develop on my box first.
I'll test, make... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92835",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do I use a list from a different site in MOSS? I have an announcements list on one site. I want to add it as a web part to the top of each subsite. How can I do this in MOSS?
A: I've used the Data View Web Part in this case. Create a web service data source to get the data from the other site's list.
Much like... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92837",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Is there a .NET function to validate a class name? I am using CodeDom to generate dynamic code based on user values. One of those values controls what the name of the class I'm generating is. I know I could sterilize the name based on language rules about valid class names using regular expressions, but I'd like to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92841",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "21"
} |
Q: Converting Table Layout To Div I'm implementing a comment control that uses an ASP.Repeater to display each comment. The comment itself is currently displayed using a table to divide up some images to display the comment in a bubble.
I know that tables are supposed to be the epitome of evil for design layout, and r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92842",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I shrink an array in Perl? How do I make an array shorter in Perl? I read some webpages indicating that I can assign:
$#ARRAY = 42;
I read that the use of $# is deprecated. I need a solution that will work for an array of arrays, too. This didn't work:
$#$ARRAY[$i] = 42;
A: The $# variable is deprecated... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92847",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: Safe to use TAdsSettings object in the main thread, and AdsQuery objects in other threads? I have a Win-CGI application I am currently converting to ISAPI.
The application uses the TDataset descendants for Extended Systems Advantage Database Server.
As there can be only one instance of a TAdsSettings object, this mu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92848",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What are the differences between struct and class in C++? This question was already asked in the context of C#/.Net.
Now I'd like to learn the differences between a struct and a class in C++. Please discuss the technical differences as well as reasons for choosing one or the other in OO design.
I'll start with an ob... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92859",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "488"
} |
Q: Eventhandling in ascx usercontrols What is best practises for communicating events from a usercontrol to parent control/page i want to do something similar to this:
MyPage.aspx:
<asp:Content ID="Content1" ContentPlaceHolderID="MainContentPlaceholder" runat="server">
<uc1:MyUserControl ID="MyUserControl1" runat="se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92860",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Why Does Ruby Only Permit Certain Operator Overloading In Ruby, like in many other OO programming languages, operators are overloadable. However, only certain character operators can be overloaded.
This list may be incomplete but, here are some of the operators that cannot be overloaded:
!, not, &&, and, ||, or
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92862",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: NUnit vs. Visual Studio 2008's test projects for unit testing I am going to be starting up a new project at work and want to get into unit testing. We will be using Visual Studio 2008, C#, and the ASP.NET MVC stuff. I am looking at using either NUnit or the built-in test projects that Visual Studio 2008 has, but I a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92869",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "256"
} |
Q: Separating user table from people table in a relational database I've done many web apps where the first thing you do is make a user table with usernames, passwords, names, e-mails and all of the other usual flotsam. My current project presents a situation where non-users records need to function similarly to users... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92894",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Flash animations editor What application should I use for creating Flash animations for a website?
A: Adobe Flash (http://www.adobe.com/products/flash/)
A: For other options (free software), check out this question or this question.
A: I've used SWiSH Max2 for a few years now (well, SWiSH Max then the second one)... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92925",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I avoid duplicate copies of an object in a cache? I'm using memcache to design a cache for the model layer of a web application, one of my biggest problems is data consistency.
It came to my mind caching data like this:
(key=query, value=list of object ids result of the query)
for each id of the list:
(key=... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92927",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: time.sleep -- sleeps thread or process? In Python for *nix, does time.sleep() block the thread or the process?
A: It will just sleep the thread except in the case where your application has only a single thread, in which case it will sleep the thread and effectively the process as well.
The python documentation on ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92928",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "415"
} |
Q: Controlling flex chart axes I want to use small flex charts with just 3 labels, for example a chart over the past 2 hours , with 3 horizontal label, as shown below:
| | |
9:46 10:46 11:46
(of course, there are more than 3 values to display!)
I have been told this is not trivial, but how wou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92936",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do I set the size of Emacs' window? I'm trying to detect the size of the screen I'm starting emacs on, and adjust the size and position the window it is starting in (I guess that's the frame in emacs-speak) accordingly. I'm trying to set up my .emacs so that I always get a "reasonably-big" window with it's top-l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92971",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "109"
} |
Q: Is "Partial Function Application" a misnomer in the context of Javascript? A friend of mine and I were having a discussion regarding currying and partial function application in Javascript, and we came to very different conclusions as to whether either were achievable. I came up with this implementation of Function.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92984",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Using Drools in a heavy batch process We used Drools as part of a solution to act as a sort of filter in a very intense processing application, maybe running up to 100 rules on 500,000 + working memory objects.
turns out that it is extremely slow.
anybody else have any experience using Drools in a batch type process... | {
"language": "en",
"url": "https://stackoverflow.com/questions/92985",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: Are properties accessed by fields still lazy-loaded? I'm using the field.camelcase in my mapping files to setting things like collections, dependant entities, etc. and exposing the collections as readonly arrays. I know the access strategy does not affect the lazy loading, I just want confirm that this will still ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/93018",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Non Visual Studio F# IDE Does anyone know of an IDE for F# development that does not involve me shelling out $300? I will gladly move to F# VS Express if they ever release one, but spending money to just get started with a new language is not in my budget.
A: Monodevelop / Xamarin Studio is a free ide compatible wi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/93022",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "23"
} |
Q: Where are static variables stored in C and C++? In what segment (.BSS, .DATA, other) of an executable file are static variables stored so that they don't have name collision?
For example:
foo.c: bar.c:
static int foo = 1; static int foo = 10;
void fooTest() { void ba... | {
"language": "en",
"url": "https://stackoverflow.com/questions/93039",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "212"
} |
Q: How do I determine the page number for the tab I just clicked on in gtk#? I have a GTK notebook with multiple tabs. Each tab label is a composite container containing, among other things, a button I want to use to close the tab. The button has a handler for the "clicked" signal.
When the signal is called, I get th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/93044",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Are Java 6's performance improvements in the JDK, JVM, or both? 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 optimizatio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/93049",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Silverlight app and an iframe co-existing on the same page this should be simple...could someone provide me a simple code sample that has an aspx page hosting both a silverlight app (consisting of, say a button) and an iframe (pointing to, say stackoverflow.com). The silverlight app and iframe could be in separate d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/93056",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Emacs, switching to another frame (Mac OS X) I can switch between windows with "C-x o", but if I have opened multiple frames, can I move between them without the mouse as well?
I just realized that the question probably sounds braindead without this detail: I'm on Mac OS X (Finnish keyboard) and switching between w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/93058",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "31"
} |
Q: Built in unit-testing in VS I'm looking for advice on the built-in unit testing feature provided in VS08. Can any body please tell me if they know of any reasons NOT to use this feature over any of the other packages available (I'm vaguely familiar with NUnit)?
I'm planning on applying unit testing to an older proje... | {
"language": "en",
"url": "https://stackoverflow.com/questions/93060",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: versioned rails db and differ I'm wondering if there's an integrated solution to have a database with versioned records supported by rails (ala version_fu ar_versioned) and a differ thanks!
A: Check out acts_as_versioned.
A: Thanks srboisvert for mentioning my fork. Here's a bit more info/context. The updated_at... | {
"language": "en",
"url": "https://stackoverflow.com/questions/93063",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to implement thread safe reference counting in C++ How do you implement an efficient and thread safe reference counting system on X86 CPUs in the C++ programming language?
I always run into the problem that the critical operations not atomic, and the available X86 Interlock operations are not sufficient for imp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/93073",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "21"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.