text stringlengths 8 267k | meta dict |
|---|---|
Q: How do I export (and then import) a Subversion repository? I'm just about wrapped up on a project where I was using a commercial SVN provider to store the source code. The web host the customer ultimately picked includes a repository as part of the hosting package, so, now that the project is over, I'd like to reloc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49450",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "86"
} |
Q: How does one decrypt a PDF with an owner password, but no user password? Although the PDF specification is available from Adobe, it's not exactly the simplest document to read through. PDF allows documents to be encrypted so that either a user password and/or an owner password is required to do various things with ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49455",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How to recover a deleted branch in TFS? I deleted a branch in TFS and just found out that I need the changes that were on it.
How do I recover the branch or the changes done on it?
A: Specifically in Visual Studio go to "Tools-Options" then Select "Source Control-visual Studio Team Founation Server" and check the "... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49456",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "35"
} |
Q: What's the state of play with "Visual Inheritance" We have an application that has to be flexible in how it displays it's main form to the user - depending on the user, the form should be slightly different, maybe an extra button here or there, or some other nuance. In order to stop writing code to explicitly remov... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49458",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: VB.NET FormatNumber equivalent in C#? Is there a C# equivalent for the VB.NET FormatNumber function?
I.e.:
JSArrayString += "^" + (String)FormatNumber(inv.RRP * oCountry.ExchangeRate, 2);
A: Yes, the .ToString(string) methods.
For instance,
int number = 32;
string formatted = number.ToString("D4");
Console.WriteL... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49461",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Track down where packets are being blocked/dropped When I was in China my company's website was blocked for about 24 hours.
I assume it was the "Great Chinese Firewall" but I was wondering if there is any way that I can find out exactly where a packet or TCP/IP connection gets blocked.
I was able to verify that it w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49465",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Targeting with VS 2008 after installing SP1 of .NET 3.5 How do I target .NET 3.5 alone after installing SP1 in VS2008? This is because VS 2008 lists only .NET 3.5, .NET 3.0 & .NET 2.0 and does not specifically show .NET 3.5 SP1.
A: I think that you cannot specify SP1, only different versions of the framework. It d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49469",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Is Bouncy Castle API Thread Safe? Is Bouncy Castle API Thread Safe ? Especially,
org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher
org.bouncycastle.crypto.paddings.PKCS7Padding
org.bouncycastle.crypto.engines.AESFastEngine
org.bouncycastle.crypto.modes.CBCBlockCipher
I am planning to write a singleton Spri... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49473",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Git ignore file for Xcode projects Which files should I include in .gitignore when using Git in conjunction with Xcode?
A: Mine is a .bzrignore, but it is the same idea :)
.DS_Store
*.mode1v3
*.pbxuser
*.perspectivev3
*.tm_build_errors
The tm_build_errors is for when I use TextMate to build my project. It is not q... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49478",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "944"
} |
Q: Apache rewrite based on subdomain I'm trying to redirect requests for a wildcard domain to a sub-directory.
ie. something.blah.example.com --> blah.example.com/something
I don't know how to get the subdomain name to use in the rewrite rule.
Final Solution:
RewriteCond %{HTTP_HOST} !^blah\.example\.com
RewriteCond %{... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49500",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "32"
} |
Q: Controlling which Network Card TCP/IP message are sent on The system I'm currently working on consists of a controller PC running XP with .Net 2 connected to a set of embedded systems. All these components communicate with each other over an ethernet network. I'm currently using TcpClient.Connect on the XP computer ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49507",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How do you set your Cocoa application as the default web browser? How do you set your Cocoa application as the default web browser?
I want to create an application that is launched by default when the user clicks on an HTTP or HTTPS link in other applications (Mail, iChat etc.).
A: There are four steps to making an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49510",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "37"
} |
Q: Using a wiki as a central development project repository I have played with the idea of using a wiki (MediaWiki) to centralize all project information for a development project. This was done using extensions that pull information from SVN (using SVNKit) and by linking to Bugzilla to extract work assigned to a deve... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49511",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: How do I *really* justify a horizontal menu in HTML+CSS? You find plenty of tutorials on menu bars in HTML, but for this specific (though IMHO generic) case, I haven't found any decent solution:
# THE MENU ITEMS SHOULD BE JUSTIFIED JUST AS PLAIN TEXT WOULD BE #
# ^ ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49536",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "88"
} |
Q: How do we control web page caching, across all browsers? Our investigations have shown us that not all browsers respect the HTTP cache directives in a uniform manner.
For security reasons we do not want certain pages in our application to be cached, ever, by the web browser. This must work for at least the following... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49547",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1842"
} |
Q: LINQ and Database Permissions I'm still trying to get my head around LINQ and accessing a SQL Database.
I was always taught that you should only have execute permissions of stored procedures to your data.
You should never have select / insert / update / delete.
(This is because of performance and security)
To get th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49551",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: HTML layout for winforms Instead of arranging controls on a winform form by specifying pixel locations, I'd like to lay it out similar to the way you'd layout a form in html. This would make it scale better (for larger fonts etc).
Does anyone know of a layout library that allows you to define the form in xml and la... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49559",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Where do I start designing a Custom Control that contains child objects? I think this is a fun engineering-level question.
I need to design a control which displays a line chart. What I want to be able to do is use a designer to add multiple Pens which actually describe the data and presentation so that it ends up ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49562",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to implement file upload progress bar on web? I would like display something more meaningful that animated gif while users upload file to my web application. What possibilities do I have?
Edit: I am using .Net but I don't mind if somebody shows me platform agnostic version.
A: Here are a couple of versions of ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49564",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: Re-Running Database Development Scripts In our current database development evironment we have automated build procceses check all the sql code out of svn create database scripts and apply them to the various development/qa databases.
This is all well and good, and is a tremdous improvement over what we did in the p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49582",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: String initialization with and without explicit trailing terminator What is the difference between
char str1[32] = "\0";
and
char str2[32] = "";
A: Since you already declared the sizes, the two declarations are exactly equal. However, if you do not specify the sizes, you can see that the first declaration makes ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49596",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: Binding custom functions to DOM events in prototype? Jquery has a great language construct that looks like this:
$(document).ready(function() {
$("a").click(function() {
alert("Hello world!");
});
});
As you might guess this, once the document has loaded, binds a custom function to the onClick event... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49599",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Is there a barebones Windows version control system that's suitable for only one guy? I'm trying to find a source control for my own personal use that's as simple as possible. The main feature I need is being able to read/pull a past version of my code. I am the only developer. I've looked at a lot of different v... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49601",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "31"
} |
Q: How to limit result set size for arbitrary query in Ingres? In Oracle, the number of rows returned in an arbitrary query can be limited by filtering on the "virtual" rownum column. Consider the following example, which will return, at most, 10 rows.
SELECT * FROM all_tables WHERE rownum <= 10
Is there a simple, gene... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49602",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: 64 bit tools like BoundsChecker & Purify For many years I have used two great tools BoundsChecker & Purify, but the developers of these applications have let me down, they no longer put effort into maintaining them or developing them. We have corporate accounts with both companies, and they both tell me that they ha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49610",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: Team System notification of unassociated checkins How can I be notified when someone checks a file into Team System and doesn't associate it with a work item?
A: Use the very cool team foundation server event subscription tool. You can find the tool here: http://www.codeplex.com/tfseventsubscription. Once install... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49616",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Nant and maintain directory structure How do you use the nant <copy> command and maintain the directory structure? This is what I am doing, but it is copying all the files to a single directory.
<copy todir="..\out">
<fileset>
<includes name="..\src\PrecompiledWeb\**\*" />
</fileset>
</copy>
A: Try:
<file... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49623",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Problems with mouseout event I'm using JavaScript to hide an image and show some text thats hidden under it. But, when the text is shown if you scroll over it, it fires the mouseout event on the container, that then hides the text and shows the image again, and it just goes into a weird loop.
The html looks like thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49630",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Are there any good automated test suites for Perl? Can someone suggest some good automated test suite framework for Perl?
A: Check out CPAN Testers, which have a lot of tools for automated testing. Most of that should be on CPAN so you'll be able to modify it to meet your needs. It's also very easy to write your ow... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49652",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Software evaluation licensing My company is looking to start distributing some software we developed and would like to be able to let people try the software out before buying. We'd also like to make sure it can't be copied and distributed to our customers' customers.
One model we've seen is tying a license to a MA... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49662",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Where can I find thorough DCOM documentation? I work on an application that uses DCOM to communicate between what are essentially several peers; in the course of normal use, instances on separate machines serve a variety of objects to one another. Historically, for this to work we have used some magic incantations,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49663",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Sources of inspiration for navigation breadcrumbs I'm looking for sources of inspiration and/or design patterns for navigation 'breadcrumbs'. So far I have found the breadcrumb collection on Pattern Tap. Does anyone know of any other sources?
A: The article 'Taming lists' from A List Apart has some good advice on C... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49664",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: GetLocalTime() API time resolution I need to find out time taken by a function in my application. Application is a MS VIsual Studio 2005 solution, all C code.
I used thw windows API GetLocalTime(SYSTEMTIME *) to get the current system time before and after the function call which I want to measure time of.
But this... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49668",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Anyone know of Objective-J syntax highlighting in vi? I have been looking at the new Objective-J / Cappuccino javascript framework from 280North. They provide plug-ins for SubEthaEdit and TextMate to handle syntax highlighting, but I primarily use vi. Does anyone know of a way to get Objective-J syntax highlightin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49699",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Templates In VB I've got some VB code (actually VBA) which is basically the same except for the type on which it operates. Since I think the DRY principle is a good guiding principle for software development, I want to write one routine for all of the different types which need to be operated on. For example if I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49718",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Programmatically extract macro (VBA) code from Word 2007 docs Is it possible to extract all of the VBA code from a Word 2007 "docm" document using the API?
I have found how to insert VBA code at runtime, and how to delete all VBA code, but not pull the actual code out into a stream or string that I can store (and in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49724",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: Is automatic upgrades a realistic feature to expect from enterprise Web applications? Most of the work I do is with what could be considered enterprise Web applications. These projects have large budgets, longer timelines (from 3-12 months), and heavy customizations. Because as developers we have been touting the id... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49732",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Use-cases for reflection Recently I was talking to a co-worker about C++ and lamented that there was no way to take a string with the name of a class field and extract the field with that name; in other words, it lacks reflection. He gave me a baffled look and asked when anyone would ever need to do such a thing.
O... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49737",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "25"
} |
Q: Autoupdating .net applications I've written 2 reasonably large scale apps in .net so far, and both of them have needed an updating facility to automatically update the application when I roll out new code.
I've found the 'Enterprise application block updater' a bit too complex for my needs, and I've found 'click onc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49747",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Design Pattern for Undo Engine I'm writing a structural modeling tool for a civil enginering application. I have one huge model class representing the entire building, which include collections of nodes, line elements, loads, etc. which are also custom classes.
I have already coded an undo engine which saves a deep... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49755",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "124"
} |
Q: What is a good design when trying to build objects from a list of key value pairs? So if I have a method of parsing a text file and returning a list of a list of key value pairs, and want to create objects from the kvps returned (each list of kvps represents a different object), what would be the best method?
The fi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49757",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: In HTML, what should happen to a selected, disabled option element? In my specific example, I'm dealing with a drop-down, e.g.:
<select name="foo" id="bar">
<option disabled="disabled" selected="selected">Select an item:</option>
<option>an item</option>
<option>another item</option>
</select>
Of cours... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49790",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: How often do you use System.Component.BackgroundWorker in your UIs ? (if ever) I am sure a responsive UI is something that everyone strives for and the reccomended way to do stuff is to use the BackgroundWorker for this.
Do you find it easy to work with ? Do you use it often ? Or do you have your own frameworks for... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49799",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How to create a non-interactive window in MFC In my application I have a window which I popup with small messages on it (think similar to tooltip). This window uses the layered attributes to draw alpha backgrounds etc.
If I have several of these windows open at once, and I click one with my mouse, when they disappea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49806",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Java -> Python? Besides the dynamic nature of Python (and the syntax), what are some of the major features of the Python language that Java doesn't have, and vice versa?
A: One key difference in Python is significant whitespace. This puts a lot of people off - me too for a long time - but once you get going it see... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49824",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "30"
} |
Q: Open source or low cost "log shipping" program I have written a log shipping program a number of times. It is a simple program that is used to maintain a warm fail over box for SQL Server.
It has two pieces. On the live dB server it:
*
*Does full and transaction backups and removes old files
On the backup ser... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49847",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: I understand threading in theory but not in practice in .net I have a basic cs-major understanding of multi-threading but have never had to do anything beyond simple timers in an application. Does anyone know of a good resource that will give me a tour how to work with multi-threaded applications, explaining the bas... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49870",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Simpler interface for SQL Server analysis services cubes for end users Is there a simpler interface for end users to run "queries" on pre-existing SqlServer Analysis Service cubes? I'm looking for a way to deploy the cubes and allow the users to work with the data through a simpler interface than BIDS. Is this eve... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49876",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Colored build output in Visual Studio I am using a Visual Studio project with custom build script/batch file (ala make, ant, etc.).
When the build is run from the command line we have placed colored highlighting on various output lines.
However, when built via Visual Studio (2005 in my case) the output window does n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49879",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: apply-templates in reverse order Say I have this given XML file:
<root>
<node>x</node>
<node>y</node>
<node>a</node>
</root>
And I want the following to be displayed:
ayx
Using something similar to:
<xsl:template match="/">
<xsl:apply-templates select="root/node"/>
</xsl:template>
<xsl:template mat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49883",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Mediawiki custom tag Stops page parsing I created a few mediawiki custom tags, using the guide found here
http://www.mediawiki.org/wiki/Manual:Tag_extensions
I will post my code below, but the problem is after it hits the first custom tag in the page, it calls it, and prints the response, but does not get anything t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49890",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Which is the best way to bring a file from a remote host to local host over an SSH session? When connecting to remote hosts via ssh, I frequently want to bring a file on that system to the local system for viewing or processing. Is there a way to copy the file over without (a) opening a new terminal/pausing the ssh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49896",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: Is there a way to generalize an Apache ANT target? We have an Apache ANT script to build our application, then check in the resulting JAR file into version control (VSS in this case). However, now we have a change that requires us to build 2 JAR files for this project, then check both into VSS.
The current target t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49900",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "21"
} |
Q: How to create custom pages in dasBlog? I know I've seen this in the past, but I can't seem to find it now.
Basically I want to create a page that I can host on a dasBlog instance that contains the layout from my theme, but the content of the page I control.
Ideally the content is a user control or ASPX that I write.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49908",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Best .NET memory and performance profiler? We are using JetBrains' dotTrace. What other profiling tools can be recommended that are better for profiling C# Windows Forms applications?
A: We've got on really well with AQTime. The great thing from our point of view is that it does the unmanaged parts of our code too.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49912",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "56"
} |
Q: Regex to Match first 28 days of the month I am looking for a Regular expression to match only if a date is in the first 28 days of the month. This is for my validator control in ASP.NET
A: I don't think this is a task very well-suited for a regexp.
I'd try and use the library functions (DateTime.Parse for .NET) to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49919",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: What is the difference between UNION and UNION ALL? What is the difference between UNION and UNION ALL?
A: (From Microsoft SQL Server Book Online)
UNION [ALL]
Specifies that multiple result sets are to be combined and returned as a single result set.
ALL
Incorporates all rows into the results. This includes du... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49925",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1659"
} |
Q: Open source alternative to MATLAB's fmincon function? Is there an open-source alternative to MATLAB's fmincon function for constrained linear optimization? I'm rewriting a MATLAB program to use Python / NumPy / SciPy and this is the only function I haven't found an equivalent to. A NumPy-based solution would be idea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49926",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "37"
} |
Q: How come a 32 bit kernel can run a 64 bit binary? On my OS X box, the kernel is a 32-bit binary and yet it can run a 64-bit binary.
How does this work?
cristi:~ diciu$ file ./a.out
./a.out: Mach-O 64-bit executable x86_64
cristi:~ diciu$ file /mach_kernel
/mach_kernel: Mach-O universal binary with 2 architectures
/m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49934",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "26"
} |
Q: What is Dynamic Code Analysis? What is Dynamic Code Analysis?
How is it different from Static Code Analysis (ie, what can it catch that can't be caught in static)?
I've heard of bounds checking and memory analysis - what are these?
What other things are checked using dynamic analysis?
-Adam
A: Basically you instrum... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49937",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "25"
} |
Q: Garbage Collection: Is it necessary to set large objects to null in a Dispose method? Is it necessary to set large objects to null when implementing a Dispose() method?
A: If a class has a Dispose method the best practice is to call it. the reason
behind that is that Dispose runs when called, whereas setting the ob... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49950",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Task Schedulers Had an interesting discussion with some colleagues about the best scheduling strategies for realtime tasks, but not everyone had a good understanding of the common or useful scheduling strategies.
For your answer, please choose one strategy and go over it in some detail, rather than giving a little i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49962",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Count a list of cells with the same background color Each cell contains some text and a background color. So I have some cells that are blue and some that are red. What function do I use to count the number of red cells?
I have tried =COUNTIF(D3:D9,CELL("color",D3)) with no success (Where D3 is red).
A: The workshe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49964",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: How to remove black border around hyperlinked image? When I turn an image (<img>) into a hyperlink (by wrapping it in <a>), Firefox adds a black border around the image. Safari does not display the same border.
What CSS declaration would be best to eliminate the border?
A: Just add:
border: 0;
or:
a img {
bord... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49966",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: In what order are locations searched to load referenced DLLs? I know that the .NET framework looks for referenced DLLs in several locations
*
*Global assembly cache (GAC)
*Any private paths added to the AppDomain
*The current directory of the executing assembly
What order are those locations searched? Is the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49972",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "55"
} |
Q: Really killing a process in Windows Occasionally a program on a Windows machine goes crazy and just hangs. So I'll call up the task manager and hit the "End Process" button for it. However, this doesn't always work; if I try it enough times then it'll usually die eventually, but I'd really like to be able to just ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49988",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "398"
} |
Q: SQL 2000 database copy to SQL 2005 options We have a production web and database server with SQL Server 2000. (However, a few clients they have their own servers with SQL 2005.) So we have local installs of SQL 2005 Express for development on Windows XP SP3 boxes (which don't allow SQL 2000 Enterprise installations)... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50003",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Flash hyperlinks seem to truncate surrounding space I have a weird bug involving Flash text and hyperlinks, htmlText in a TextField with <a> tags seem to truncate surrounding space:
Once I place my cursor over the text, it "fixes" itself:
Here is the HTML in the textField:
<p>The speeches at both the <a href="http... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50005",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Asp.Net Form DefaultButton Error in Firefox The .Net generated code for a form with the "DefaultButton" attribute set contains poor javascript that allows the functionality to work in IE but not in other browsers (Firefox specifcially).
Hitting enter key does submit the form with all browsers but Firefox cannot dis... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50033",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: What are some good SharePoint security resources? I've got a SharePoint application and I'm sad to say that in my SharePoint-induced excitement, I ignored a lot of the security concerns I should have been paying more attention to. Though we didn't before, now we actually need granular security, so I need to get edu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50037",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Graphics card memory usage in linux What tools are available to monitor graphics card memory usage in linux?
A: NVIDIA PerfKit has a linux version which allows real-time monitoring of various graphics card properties, including graphics card memory usage. Obviously, this only works for NVIDIA graphics cards, and it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50042",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Is Visual Studio 2003 still available/supported Pretty much what the title says really.
We have some code that is .NET 1.1 based and no real desire to up-convert it. However, we are looking to add developers to the team and they will need copies of Visual Studio.
My understanding is that they will need VS 2003 - as... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50046",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Setting Colors in SWT This is pretty simple, I come from a swing/awt background.
I'm just wondering what the proper way to set the background color for a SWT widget is?
I've been trying:
widget.setBackground( );
Except I have no idea how to create the color Object in SWT?
A: For standard colors (including common c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50064",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "64"
} |
Q: Where do the Linux TCP/IP hackers 'live'? Over the past year or so my production platform has been plagued by an odd TCP/IP issue. I've spent zillions of hours working with competent & knowledgeable sysadmins, scouring the net, reading source code, been jerked around by RH's pathetic support, and crying tears of bl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50074",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: C Image Library Can anyone recommend a decent C image library?
I'm after loaders for bmp, gif, jpg, png and tga.
I want to use this for programming my Sony Playstation Portable, so opensource would be very handy.
After some googleing I've found FreeImage and CImg, but both feel rather heavy, and CImg is C++ not C.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50079",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: How do you backup IIS's metabase in C#? exact code will be helpful. I assume the DirectoryServices namespace does it but I can't find the method that does it.
I need actual C# code. All the samples I found so far are VB or VBScript. The C# examples I found are for reading/setting ADSI properties. A command like bac... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50089",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to pass password to scp? I know it is not recommended, but is it at all possible to pass the user's password to scp?
I'd like to copy a file via scp as part of a batch job and the receiving server does, of course, need a password and, no, I cannot easily change that to key-based authentication.
A: Here is an ex... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50096",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "420"
} |
Q: How do I get a result from a modal dialog in jQuery I would like to use an add-in like simple-modal or the dialog add-in in the UI kit. However, how do I use these or any other and get a result back. Basically I want the modal to do some AJAX interaction with the server and return the result for the calling code to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50097",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Comparing two collections for equality irrespective of the order of items in them I would like to compare two collections (in C#), but I'm not sure of the best way to implement this efficiently.
I've read the other thread about Enumerable.SequenceEqual, but it's not exactly what I'm looking for.
In my case, two coll... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50098",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "182"
} |
Q: Looking for a SQL Transaction Log file viewer If any of you have worked with a cool tool for viewing/querying the SQL Transaction logs, please let me know. This should show all the transactional sql statements which are committed or rolled back.
For Database files, if it has some additional graphical capabilities li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50106",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "23"
} |
Q: Does WCF raise the bar or just the complexity level? I understand the value of the three-part service/host/client model offered by WCF. But is it just me or does it seem like WCF took something pretty direct and straightforward (the ASMX model) and made a mess out of it?
Is there an alternative to using SvcUtil's c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50114",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "84"
} |
Q: Using shadowbox disables keyboard shortcuts? So my site uses shadowbox to do display some dynamic text. Problem is I need the user to be able to copy and paste that text.
Right-clicking and selecting copy works but Ctrl+C doesn't (no keyboard shortcuts do) and most people use Ctrl+C? You can see an example of wh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50115",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Database abstraction layers for (Visual) C++ What options exist for accessing different databases from C++?
Put differently, what alternatives are there to ADO?
What are the pros and cons?
A: *
*Microsoft ODBC.
*The MFC ODBC classes such as CDatabase.
*OleDB (via COM).
*And you can always go through the per-RDB... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50120",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Ever Heard of a License Transfer Fee upon Acquisition? My employer was recently acquired by a much larger company. In the process of sorting out all the legal details around our licenses for our development software, we have learned that the vendor of our IDE charges a "nominal" fee of 25% of the cost of a new lice... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50121",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Replace huge Case statement in Classic ASP I have a 200+ case statement in Classic ASP which is getting out of control. It sets 5 variables, based on which case is selected. Address, Phone, Name etc. Just sets the variables and nothing else in each case.
Databases or files are not an option for this application.
Com... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50140",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Symmetric key storage My company is going to be storing sensitive data for our customers, and will be encrypting data using one of the managed .NET encryption algorithm classes. Most of the work is done, but we haven't figured out how/where to store the key. I've done some light searching and reading, and it seems l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50142",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "23"
} |
Q: A good algorithm similar to Levenshtein but weighted for Qwerty keyboards? I noticed some posts here on string matching, which reminded me of an old problem I'd like to solve. Does anyone have a good Levenshtein-like algorithm that is weighted toward Qwerty keyboards?
I want to compare two strings, and and allow for... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50144",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "24"
} |
Q: How to promote WCF to a non-techie? How would you describe and promote WCF as a technology to a non-technical client/manager/CEO/etc?
What are competing solutions or ideas that they might bring up(such as those they read about in their magazines touting new technology)?
What is WCF not good for that you've seen peop... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50145",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Why does a "file exists" method in many languages return true for a directory? I know that it does in PHP, and I'm pretty sure it does in Java. I haven't used the latest versions of .NET, so I won't speak for them. It seems very awkward, but I was wondering if there was an underlying reason for this.
A: One reason ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50148",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Best way to convert DateTime to "n Hours Ago" in SQL I wrote a SQL function to convert a datetime value in SQL to a friendlier "n Hours Ago" or "n Days Ago" etc type of message. And I was wondering if there was a better way to do it.
(Yes I know "don't do it in SQL" but for design reasons I have to do it this way).... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50149",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: What is the best way to display a status message in WPF? I have several wpf pages with update/delete/add buttons. I want to display to the user messages like "successful delete", etc. How can I best implement this so the message is defined in a single place (similar to an asp.net master page) and I can update this... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50151",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Interprocess communication for Windows in C# (.NET 2.0) I've never had to do IPC on Windows before. I'm developing a pair of programs, a standard GUI/CLI app, and a windows service. The app has to tell the service what to do. So, assuming the communication is local only, what would be the best communication method f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50153",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "53"
} |
Q: How to show all shared libraries used by executables in Linux? I'd like to know which libraries are used by executables on my system. More specifically, I'd like to rank which libraries are used the most, along with the binaries that use them. How can I do this?
A: I didn't have ldd on my ARM toolchain so I used ob... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50159",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "280"
} |
Q: How can I lock down my MS-SQL DB from my users and yet still access it through ODBC? I've got an ms-access application that's accessing and ms-sql db through an ODBC connection. I'm trying to force my users to update the data only through the application portion, but I don't care if they read the data directly or th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50164",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Optimizing a LINQ to SQL query I have a query that looks like this:
public IList<Post> FetchLatestOrders(int pageIndex, int recordCount)
{
DatabaseDataContext db = new DatabaseDataContext();
return (from o in db.Orders
orderby o.CreatedDate descending
select o)
.Skip(pageI... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50169",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Does "display: marker" work in any current browsers, and if so, how? I can't be sure if my code is sucking, or if it's just that the browsers haven't caught up with the spec yet.
My goal is to simulate list markers using generated content, so as to get e.g. continuation of the counters from list to list in pure CSS.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50170",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Linux/X11 input library without creating a window Is there a good library to use for gathering user input in Linux from the mouse/keyboard/joystick that doesn't force you to create a visible window to do so? SDL lets you get user input in a reasonable way, but seems to force you to create a window, which is trouble... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50182",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Source Control for Everyone? I've got a number of non-technical users that all share a set of project files. It would be ideal to have them using version control, but I think that both subversion and git are too technical for non-technical office staff.
Is there any distributed source control software that would wo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50194",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: Are there any issues with using log4net in a multi-threaded environment? I'm wondering if anyone has any experience using log4net in a multi-threaded environment like asp.net. We are currently using log4net and I want to make sure we won't run into any issues.
A: We run log4net (and log4cxx) in highly multi-thread... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50213",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Does a language-specific IDE have any advantages over a plugin for a multi-language IDE? I do mostly Java and C/C++ development, but I'm starting to do more web development (PHP, Rails) and Eiffel (learning a new language is always good).
Currently, I use Eclipse for Java, C/C++, and Ruby (not Rails). Since I know t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50217",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.