text stringlengths 8 267k | meta dict |
|---|---|
Q: Example of a build.xml for an EAR that deploys in WebSphere 6 I'm trying to convince my providers to use ANT instead of Rational Application Development so anyone can recompile, recheck, redeploy the solution anyplace, anytime, anyhow. :P
I started a build.xml for a project that generates a JAR file but stopped ther... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4046",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "22"
} |
Q: Passing multidimensional arrays as function arguments in C In C can I pass a multidimensional array to a function as a single argument when I don't know what the dimensions of the array are going to be?
Besides, my multidimensional array may contain types other than strings.
A: Pass an explicit pointer to the first... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4051",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "55"
} |
Q: How to enable Full-text Indexing in SQL Server 2005 Express? I am trying to enable Full-text indexing in SQL Server 2005 Express. I am running this on my laptop with Vista Ultimate.
I understand that the standard version of SQL Server Express does not have full-text indexing. I have already downloaded and installed ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4052",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: What methods of caching, other than to file or database, are available? Currently I know of only two ways to cache data (I use PHP but I assume that the same will apply to most languages).
*
*Save the cache to a file
*Save the cache to a large DB field
Are there any other (perhaps better) ways of caching or is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4062",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: SVN merge merged extra stuff I just did a merge using something like:
svn merge -r 67212:67213 https://my.svn.repository/trunk .
I only had 2 files, one of which is a simple ChangeLog. Rather than just merging my ChangeLog changes, it actually pulled mine plus some previous ones that were not in the destination Ch... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4072",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: What code analysis tools do you use for your Java projects? What code analysis tools do you use on your Java projects?
I am interested in all kinds
*
*static code analysis tools (FindBugs, PMD, and any others)
*code coverage tools (Cobertura, Emma, and any others)
*any other instrumentation-based tools
*anyth... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4080",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "117"
} |
Q: What program can I use to generate diagrams of SQL view/table structure? I've been tasked with redesigning part of a ms-sql database structure which currently involves a lot of views, some of which contain joins to other views.
Anyway, I wonder if anyone here could recommend a utility to automatically generate diag... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4110",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: SVN Client Ignore Pattern for VB.NET Solutions What is the best SVN Ignore Pattern should TortoiseSVN have for a VB.NET solution?
A: I always add Thumbs.db in as well, because I hate having those files versioned. Probably more of an issue for web developers
A: this is what I use for C# w/resharper, should work j... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4138",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: How do I use Java to read from a file that is actively being written to? I have an application that writes information to file. This information is used post-execution to determine pass/failure/correctness of the application. I'd like to be able to read the file as it is being written so that I can do these pass/fai... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4149",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "109"
} |
Q: Best way to cache data I am in the process of figuring out a cache strategy for our current setup, currently have multiple web servers and wanted to know what is the best way to cache data in this environment. I have done research about MemCache and the native asp.net caching but wanted to get some feedback first. S... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4151",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: ConfigurationManager.AppSettings Performance Concerns I plan to be storing all my config settings in my application's app.config section (using the ConfigurationManager.AppSettings class). As the user changes settings using the app's UI (clicking checkboxes, choosing radio buttons, etc.), I plan to be writing those ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4157",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "27"
} |
Q: What is a good barebones CMS or framework? I'm about to start a project for a customer who wants CMS-like functionality. They want users to be able to log in, modify a profile, and a basic forum. They also wish to be able to submit things to a front page.
Is there a framework or barebones CMS that I could expand on ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4164",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Graph serialization I'm looking for a simple algorithm to 'serialize' a directed graph. In particular I've got a set of files with interdependencies on their execution order, and I want to find the correct order at compile time. I know it must be a fairly common thing to do - compilers do it all the time - but my go... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4168",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "46"
} |
Q: How to learn ADO.NET I need to learn ADO.NET to build applications based on MS Office. I have read a good deal about ADO.NET in the MSDN Library, but everything seems rather messy to me.
What are the basics one must figure out when using ADO.NET? I think a few key words will suffice to let me organize my learning.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4170",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: Windows Equivalent of 'nice' Is there a Windows equivalent of the Unix command, nice?
I'm specifically looking for something I can use at the command line, and not the "Set Priority" menu from the task manager.
My attempts at finding this on Google have been thwarted by those who can't come up with better adjectives... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4208",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "79"
} |
Q: SVN vs. Team Foundation Server A few months back my team switched our source control over to Apache Subversion from Visual SourceSafe, and we haven't been happier.
Recently I've been looking at Team Foundation Server, and at least on the surface, it seems very impressive. There is some great integration with Visu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4219",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "77"
} |
Q: LinqDataSource - Can you limit the amount of records returned? I'd like to use a LinqDataSource control on a page and limit the amount of records returned. I know if I use code behind I could do something like this:
IEnumerable<int> values = Enumerable.Range(0, 10);
IEnumerable<int> take3 = values.Take(3);
Does an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4221",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "35"
} |
Q: Territory Map Generation Is there a trivial, or at least moderately straight-forward way to generate territory maps (e.g. Risk)?
I have looked in the past and the best I could find were vague references to Voronoi diagrams. An example of a Voronoi diagram is this:
.
These hold promise, but I guess i haven't seen an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4225",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: Accessing a Dictionary.Keys Key through a numeric index I'm using a Dictionary<string, int> where the int is a count of the key.
Now, I need to access the last-inserted Key inside the Dictionary, but I do not know the name of it. The obvious attempt:
int LastCount = mydict[mydict.keys[mydict.keys.Count]];
does not ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4227",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "167"
} |
Q: The Difference Between a DataGrid and a GridView in ASP.NET? I've been doing ASP.NET development for a little while now, and I've used both the GridView and the DataGrid controls before for various things, but I never could find a really good reason to use one or the other. I'd like to know:
What is the difference b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4230",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "52"
} |
Q: What to use for Messaging with C# So my company stores alot of data in a foxpro database and trying to get around the performance hit of touching it directly I was thinking of messaging anything that can be done asynchronously for a snappier user experience. I started looking at ActiveMQ but don't know how well C# ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4234",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: Why doesn't Java autoboxing extend to method invocations of methods of the autoboxed types? I want to convert a primitive to a string, and I tried:
myInt.toString();
This fails with the error:
int cannot be dereferenced
Now, I get that primitives are not reference types (ie, not an Object) and so cannot have metho... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4242",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "53"
} |
Q: What is best practice for FTP from a SQL Server 2005 stored procedure? What is the best method for executing FTP commands from a SQL Server stored procedure? we currently use something like this:
EXEC master..xp_cmdshell 'ftp -n -s:d:\ftp\ftpscript.xmt 172.1.1.1'
The problem is that the command seems to succeed eve... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4246",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: Programmatic SMS What is the best way to programmatically send an SMS text message?
Are there any free Web Service based SMS gateways?
I know that if I happen to know the user's carrier (Sprint, AT&T, etc), I can send an SMS by emailing an address based on phone number + carrier. I would like a good solution that do... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4269",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "76"
} |
Q: How Do You Determine The PID of the Parent of a Process I have a process in erlang that is supposed to do something immediately after spawn, then send the result back to the parent when it is finished. How do I figure out the PID of the process that spawned it?
A: @Eridius' answer is the preferred way to do it. Re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4287",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Why should I practice Test Driven Development and how should I start? Lots of people talk about writing tests for their code before they start writing their code. This practice is generally known as Test Driven Development or TDD for short. What benefits do I gain from writing software this way? How do I get started... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4303",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "60"
} |
Q: Grid Hosting for Windows Are there any good grid-hosting companies out there that offer .NET stacks? Something like MediaTemple - which won't host the worlds fastest websites, but for the price is far better than "shared hosting". I've used Rackspace's Mosso, but it sucked - it never felt like a normal .NET stack (c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4305",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: What is the best way to create a sparse array in C++? I am working on a project that requires the manipulation of enormous matrices, specifically pyramidal summation for a copula calculation.
In short, I need to keep track of a relatively small number of values (usually a value of 1, and in rare cases more than 1)... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4306",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "59"
} |
Q: What is Object Mocking and when do I need it? Many people use Mock Objects when they are writing unit tests. What is a Mock Object? Why would I ever need one? Do I need a Mock Object Framework?
A:
Do I need a Mock Object Framework?
Certainly not. Sometimes, writing mocks by hand can be quite tedious. But for simp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4314",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "45"
} |
Q: ASP.Net 2.0 Application without Business Logic Layer? Is it "acceptable" to have an ASP.Net 2.0 application without the BLL (Business Logic Layer) as the following?
*
*SQL Server Data Storage & Stored Procedures
*Data Link Layer (Strongly Typed Table Adapters) connecting to Stored Procs
*Presentation Layer ASPX... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4320",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: High availability Is there anyway to configure a WCF service with a failover endpoint if the primary endpoint dies? Kind of like being able to specify a failover server in a SQL cluster.
Specifically I am using the TCP/IP binding for speed, but on the rare occurrence that the machine is not available I would like to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4335",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: Where is a good place to start programming GUIs for windows? I have experience writing console and network client/server applications in C and C++, but I know next to nothing about using the win32 visual API, MFC, Qt, wxWidgets, etc. Where is a good place to start, and what method should I specialize in, so as to b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4347",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "26"
} |
Q: What is the best way to do unit testing for ASP.NET 2.0 web pages? Any suggestions? Using visual studio in C#.
Are there any specific tools to use or methods to approach this?
Update:
Sorry, I should have been a little more specific. I am using ASP.Net 2.0 and was looking more for a tool like jUnit for Java. I took... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4363",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "41"
} |
Q: How to include PHP files that require an absolute path? I have a directory structure like the following;
script.php
inc/include1.php
inc/include2.php
objects/object1.php
objects/object2.php
soap/soap.php
Now, I use those objects in both script.php and /soap/soap.php, I could move them, but I want the directory... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4369",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "99"
} |
Q: How do I retrieve my MySQL username and password? I lost my MySQL username and password. How do I retrieve it?
A: Do it without down time
Run following command in the Terminal to connect to the DBMS (you need root access):
sudo mysql -u root -p;
run update password of the target user (for my example username is ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4371",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "185"
} |
Q: Drop all tables whose names begin with a certain string How can I drop all tables whose names begin with a given string?
I think this can be done with some dynamic SQL and the INFORMATION_SCHEMA tables.
A: EXEC sp_MSforeachtable 'if PARSENAME("?",1) like ''%CertainString%'' DROP TABLE ?'
Edit:
sp_MSforeachtable i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4393",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "175"
} |
Q: Where can I get the Windows Workflow "wca.exe" application? I am walking through the MS Press Windows Workflow Step-by-Step book and in chapter 8 it mentions a tool with the filename "wca.exe". This is supposed to be able to generate workflow communication helper classes based on an interface you provide it. I can... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4416",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How do I update Ruby Gems from behind a Proxy (ISA-NTLM) The firewall I'm behind is running Microsoft ISA server in NTLM-only mode. Hash anyone have success getting their Ruby gems to install/update via Ruby SSPI gem or other method?
... or am I just being lazy?
Note: rubysspi-1.2.4 does not work.
This also works fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4418",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "239"
} |
Q: How to easily consume a web service from PHP Is there available any tool for PHP which can be used to generate code for consuming a web service based on its WSDL? Something comparable to clicking "Add Web Reference" in Visual Studio or the Eclipse plugin which does the same thing for Java.
A: In PHP 5 you can use S... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4430",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "62"
} |
Q: CSV string handling Typical way of creating a CSV string (pseudocode):
*
*Create a CSV container object (like a StringBuilder in C#).
*Loop through the strings you want to add appending a comma after each one.
*After the loop, remove that last superfluous comma.
Code sample:
public string ReturnAsCSV(ContactL... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4432",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "21"
} |
Q: Can I configure Visual Studio NOT to change StartUp Project every time I open a file from one of the projects? Let's say that there is a solution that contains two projects (Project1 and Project2).
Project1 is set as a StartUp Project (its name is displayed in a bold font). I double-click some file in Project2 to op... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4434",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "23"
} |
Q: Domain Specific Language resources I was just listening to some older .Net Rocks! episodes, and I found #329 on DSLs to be interesting. My problem is that I can't find any good online resources for people trying to learn this technology. I get the basics of the creating new designers, but the MS docs on the T4 engin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4458",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: How to know when to send a 304 Not Modified response I'm writing a resource handling method where I control access to various files, and I'd like to be able to make use of the browser's cache. My question is two-fold:
*
*Which are the definitive HTTP headers that I need to check in order to know for sure whether... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4506",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: MAPI and managed code experiences? Using MAPI functions from within managed code is officially unsupported. Apparently, MAPI uses its own memory management and it crashes and burns within managed code (see here and here)
All I want to do is launch the default e-mail client with subject, body, AND one or more attachm... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4508",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Is there any trick that allows to use Management Studio's (ver. 2008) IntelliSense feature with earlier versions of SQL Server? New version of Management Studio (i.e. the one that ships with SQL Server 2008) finally has a Transact-SQL IntelliSense feature. However, out-of-the-box it only works with SQL Server 2008 i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4511",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: Using Xming X Window Server over a VPN I have the Xming X Window Server installed on a laptop running Windows XP to connect to some UNIX development servers.
It works fine when I connect directly to the company network in the office. However, it does not work when I connect to the network remotely over a VPN.
When ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4519",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: SQL Server 2005 and 2008 on same developer machine? Has anyone tried installing SQL Server 2008 Developer on a machine that already has 2005 Developer installed?
I am unsure if I should do this, and I need to keep 2005 on this machine for the foreseeable future in order to test our application easily. Since I someti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4529",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "21"
} |
Q: HTTP: Generating ETag Header How do I generate an ETag HTTP header for a resource file?
A: From http://developer.yahoo.com/performance/rules.html#etags:
By default, both Apache and IIS embed data in the ETag that dramatically reduces the odds of the validity test succeeding on web sites with multiple servers.
...
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4533",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "31"
} |
Q: Simple MOLAP solution To analyze lots of text logs I did some hackery that looks like this:
*
*Locally import logs into Access
*Reprocess Cube link to previous mdb in Analisis Service 2000 (yes it is 2k)
*Use Excel to visualize Cube (it is not big - up to milions raw entries)
My hackery is a succes and more ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4541",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Http Auth in a Firefox 3 bookmarklet I'm trying to create a bookmarklet for posting del.icio.us bookmarks to a separate account.
I tested it from the command line like:
wget -O - --no-check-certificate \
"https://seconduser:[email protected]/v1/posts/add?url=http://seet.dk&description=test"
This works gre... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4544",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: What was the tag used for? Does anyone remember the XMP tag?
What was it used for and why was it deprecated?
A: XMP and PRE differ. Content within PRE tags is formatted as follows:
*
*Content is shown with a fixed font,
*All whitespace is preserved, and
*Each line break begins a new line.
If you want to inc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4545",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "80"
} |
Q: DataTable Loop Performance Comparison Which of the following has the best performance?
I have seen method two implemented in JavaScript with huge performance gains, however, I was unable to measure any gain in C# and was wondering if the compiler already does method 2 even when written like method 1.
The theory behi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4556",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: How to setup Quality of Service? I'm talking about http://en.wikipedia.org/wiki/Quality_of_service. With streaming stackoverflow podcasts and downloading the lastest updates to ubuntu, I would like to have QoS working so I can use stackoverflow without my http connections timing out or taking forever.
I'm using an i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4565",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Video Compression: What is discrete cosine transform? I've implemented an image/video transformation technique called discrete cosine transform. This technique is used in MPEG video encoding. I based my algorithm on the ideas presented at the following URL:
http://vsr.informatik.tu-chemnitz.de/~jan/MPEG/HTML/mpeg_... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4582",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: How can I create Prototype Methods (like JavaScript) in C#.Net? How is it possible to make prototype methods in C#.Net?
In JavaScript, I can do the following to create a trim method for the string object:
String.prototype.trim = function() {
return this.replace(/^\s+|\s+$/g,"");
}
How can I go about doing this ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4610",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: CSharpCodeProvider Compilation Performance Is CompileAssemblyFromDom faster than CompileAssemblyFromSource?
It should be as it presumably bypasses the compiler front-end.
A: CompileAssemblyFromDom compiles to a .cs file which is then run through the normal C# compiler.
Example:
using System;
using System.Collection... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4612",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: What is a good Mercurial usage pattern for this setup? We've got two developers on the same closed (ugh, stupid gov) network, Another developer a couple minutes drive down the road, and a fourth developer half-way across the country. E-Mail, ftp, and removal media are all possible methods of transfer for the people ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4617",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: SQL Case Expression Syntax? What is the complete and correct syntax for the SQL Case expression?
A: Sybase has the same case syntax as SQL Server:
Description
Supports conditional SQL expressions; can be used anywhere a value expression can be used.
Syntax
case
when search_condition then expression
[when... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4622",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "62"
} |
Q: Upgrade to ASP.NET 3.x I am currently aware that ASP.NET 2.0 is out and about and that there are 3.x versions of the .Net Framework.
Is it possible to upgrade my ASP.NET web server to version 3.x of the .Net Framework?
I have tried this, however, when selecting which version of the .Net framwork to use in IIS (the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4627",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: How can I evaluate C# code dynamically? I can do an eval("something()"); to execute the code dynamically in JavaScript. Is there a way for me to do the same thing in C#?
An example of what I am trying to do is: I have an integer variable (say i) and I have multiple properties by the names: "Property1", "Property2", ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4629",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "107"
} |
Q: How can I Java webstart multiple, dependent, native libraries? Example: I have two shared objects (same should apply to .dlls). The first shared object is from a third-party library, we'll call it libA.so. I have wrapped some of this with JNI and created my own library, libB.so. Now libB depends on libA.
When websta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4630",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: How do you create your own moniker (URL Protocol) on Windows systems? How do you create your own custom moniker (or URL Protocol) on Windows systems?
Examples:
*
*http:
*mailto:
*service:
A: Take a look at Creating and Using URL Monikers , About Asynchronous Pluggable Protocols and Registering an Application ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4638",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: How do I use more than one OpenID? I have more than one OpenID as I have tried out numerous. As people take up OpenID different suppliers are going to emerge I may want to switch provinders. As all IDs are me, and all are authenticated against the same email address, shouldn't I be able to log into stack overflow ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4661",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Should the folders in a solution match the namespace? Should the folders in a solution match the namespace?
In one of my teams projects, we have a class library that has many sub-folders in the project.
Project Name and Namespace: MyCompany.Project.Section.
Within this project, there are several folders that match t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4664",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "157"
} |
Q: Verifying files for testing I was working with quality yesterday doing some formal testing. In their procedure they were verifying all files on the test machine were pulled from the release. The way they were verifying these files were the same was by checking the size and the date/time stamp windows put on them i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4665",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: DVCS Choices - What's good for Windows? So I want to get a project on a distributed version control system, such as mercurial, git, or bazaar. The catch is that I need the Windows support to be good, i.e. no instructions that start off with "install cygwin...". Now I've heard that git's Windows support is decent t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4670",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: How do I create a Class using the Singleton Design Pattern in Ruby? The singleton pattern is a design pattern that is used to restrict instantiation of a class to one object instance. Although I know how to code the singleton pattern in C++ and Java, I was wondering if anyone know how to implement it in Ruby?
A: Us... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4677",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Automating VMWare or VirtualPC I'm currently experimenting with build script, and since I have an ASP.net Web Part under source control, my build script should do that at the end:
*
*Grab the "naked" Windows 2003 IIS VMWare or Virtual PC Image from the Network
*Boot it up
*Copy the Files from the Build Folder t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4684",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "21"
} |
Q: Recommended Fonts for Programming? What fonts do you use for programming, and for what language/IDE? I use Consolas for all my Visual Studio work, any other recommendations?
A: Inconsolata 14pt in TextMate
A: I like Profont, I first came across it when Jeff blogged about programming fonts
A: I've really fallen i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4689",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "182"
} |
Q: Why should I learn Lisp? I really feel that I should learn Lisp and there are plenty of good resources out there to help me do it.
I'm not put off by the complicated syntax, but where in "traditional commercial programming" would I find places it would make sense to use it instead of a procedural language.
Is there ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4724",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "130"
} |
Q: Learning Regular Expressions I don't really understand regular expressions. Can you explain them to me in an easy-to-follow manner? If there are any online tools or books, could you also link to them?
A: The most important part is the concepts. Once you understand how the building blocks work, differences in synt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4736",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "166"
} |
Q: Using ConfigurationManager to load config from an arbitrary location I'm developing a data access component that will be used in a website that contains a mix of classic ASP and ASP.NET pages, and need a good way to manage its configuration settings.
I'd like to use a custom ConfigurationSection, and for the ASP.NET... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4738",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "131"
} |
Q: MOSS SSP Issue - Failed database logons from deleted SSP We've been having some issues with a SharePoint instance in a test
environment. Thankfully this is not production ;) The problems started
when the disk with the SQL Server databases and search index ran out
of space. Following this, the search service would no... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4752",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: How much database performance overhead when using LINQ? How much database performance overhead is involved with using C# and LINQ compared to custom optimized queries loaded with mostly low-level C, both with a SQL Server 2008 backend?
I'm specifically thinking here of a case where you have a fairly data-intensive p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4782",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "21"
} |
Q: What is called a Node in a WebSpere Network Deployment In a installation of WebSphere Application Server with Network Deployment, a node is:
*
*a physical machine
*an instance of operative system
*a logical set of WAS instances that is independent of physical machine or OS instance
A: Basically,
A server is ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4785",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: Flex / Air obfuscation I've written (most of) an application in Flex and I am concerned with protecting the source code. I fired up a demo of Trillix swf decompiler and opened up the swf file that was installed to my Program Files directory. I saw that all of the actionscript packages I wrote were there. I'm not too... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4794",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: How do you resolve a domain name to an IP address with .NET/C#? How do you resolve a domain name to an IP address with .NET/C#?
A: using System.Net;
foreach (IPAddress address in Dns.GetHostAddresses("www.google.com"))
{
Console.WriteLine(address.ToString());
}
A: Try using the System.Net.Dns class
| {
"language": "en",
"url": "https://stackoverflow.com/questions/4816",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "30"
} |
Q: String.indexOf function in C Is there a C library function that will return the index of a character in a string?
So far, all I've found are functions like strstr that will return the found char *, not it's location in the original string.
A: You can use strstr to accomplish what you want. Example:
char *a = "Hello... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4824",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "46"
} |
Q: How do I configure eclipse (zend studio 6) to hint and code complete several languages? My dream IDE does full code hints, explains and completes PHP, Javascript, HTML and CSS. I know it exists!
so far, Zend studio 6, under the Eclipse IDE does a great job at hinting PHP, some Javascript and HTML, any way I can expa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4839",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Drag and Drop to a hosted Browser control I have a WinForms program written on .NET 2 which hosts a webbrowser control and renders asp.net pages from a known server.
I would like to be able to drag, say, a tree node from a treeview in my winforms app into a specific location in the hosted web page and have it trigge... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4849",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: C# and Arrow Keys I am new to C# and am doing some work in an existing application. I have a DirectX viewport that has components in it that I want to be able to position using arrow keys.
Currently I am overriding ProcessCmdKey and catching arrow input and send an OnKeyPress event. This works, but I want to be able... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4850",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "25"
} |
Q: Authoritative source on XML-sig We have a question with regards to XML-sig and need detail about the optional elements as well as some of the canonicalization and transform stuff. We're writing a spec for a very small XML-syntax payload that will go into the metadata of media files and it needs to by cryptographica... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4860",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Why is this regular expression faster? I'm writing a Telnet client of sorts in C# and part of what I have to parse are ANSI/VT100 escape sequences, specifically, just those used for colour and formatting (detailed here).
One method I have is one to find all the codes and remove them, so I can render the text without... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4870",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Is a "Confirm Email" input good practice when user changes email address? My organization has a form to allow users to update their email address with us.
It's suggested that we have two input boxes for email: the second as an email confirmation.
I always copy/paste my email address when faced with the confirmation.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4880",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "27"
} |
Q: How to keyboard down or up between dropdown "options"? I have a custom built ajax [div] based dynamic dropdown.
I have an [input] box which; onkeyup, runs an Ajax search which returns results in divs and are drawn back in using innerHTML. These divs all have highlights onmouseover so, a typical successful search yi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4884",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: What point should someone decide to switch Database Systems When developing whether its Web or Desktop at which point should a developer switch from SQLite, MySQL, MS SQL, etc
A: It depends on what you are doing. You might switch if:
*
*You need more scalability or better performance - say from SQLite to SQL Ser... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4891",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Should I use the username, or the user's ID to reference authenticated users in ASP.NET So in my simple learning website, I use the built in ASP.NET authentication system.
I am adding now a user table to save stuff like his zip, DOB etc. My question is:
*
*In the new table, should the key be the user name (the s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4911",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "33"
} |
Q: How to make a button appear as if it is pressed? Using VS2008, C#, .Net 2 and Winforms how can I make a regular Button look "pressed"?
Imagine this button is an on/off switch.
ToolStripButton has the Checked property, but the regular Button does not.
A: One method you can used to obtain this option is by placing a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4913",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "48"
} |
Q: Is this really widening vs autoboxing? I saw this in an answer to another question, in reference to shortcomings of the Java spec:
There are more shortcomings and this is a subtle topic. Check this out:
public class methodOverloading{
public static void hello(Integer x){
System.out.println("Integer")... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4922",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "31"
} |
Q: Wrapping lists into columns I'm using ColdFusion to populate a template that includes HTML unordered lists (<ul>s).
Most of these aren't that long, but a few have ridiculously long lengths and could really stand to be in 2-3 columns.
Is there an HTML, ColdFusion or perhaps JavaScript (I'm accepting jQuery solutions)... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4923",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "68"
} |
Q: How to reference to multiple version assembly I'm developing a Sharepoint application and use .NET AjaxControlToolkit library, we are adding a custom aspx page to the Sharepoint. Sharepoint 2007 run in quirks mode so I've made some modification to the AJAX library to make it behave like it normally should. The probl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4930",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: LINQ to SQL strings to enums LINQ to SQL allows table mappings to automatically convert back and forth to Enums by specifying the type for the column - this works for strings or integers.
Is there a way to make the conversion case insensitive or add a custom mapping class or extenstion method into the mix so that I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4939",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: How to sell Python to a client/boss/person When asked to create system XYZ and you ask to do it in Python over PHP or Ruby, what are the main features you can mention when they require you to explain it?
A: The best sell of Python I've ever seen was by a manager in our group who had a young daughter. He used a quo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4942",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Version control PHP Web Project We have a PHP project that we would like to version control. Right now there are three of us working on a development version of the project which resides in an external folder to which all of our Eclipse IDEs are linked, and thus no version control.
What is the right way and the best... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4949",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "36"
} |
Q: What are good regular expressions? I have worked for 5 years mainly in java desktop applications accessing Oracle databases and I have never used regular expressions. Now I enter Stack Overflow and I see a lot of questions about them; I feel like I missed something.
For what do you use regular expressions?
P.S. sor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4954",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Setting a div's height in HTML with CSS I am trying to lay out a table-like page with two columns. I want the rightmost column to dock to the right of the page, and this column should have a distinct background color. The content in the right side is almost always going to be smaller than that on the left. I woul... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4973",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "40"
} |
Q: How should I organize my master ddl script I am currently creating a master ddl for our database. Historically we have used backup/restore to version our database, and not maintained any ddl scripts. The schema is quite large.
My current thinking:
*
*Break script into parts (possibly in separate scripts):
*
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4994",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: What does this error mean SECJ0222E in WebSphere Application Server 5.1 I found this on the IBM support site:
ProblemA JAAS LoginContext could not be created due to the unexpected exception.
User responseThe problem could be due to a configuration error.
but I have no other indication and can't determine the fin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4995",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: .NET Remoting Speed and VPNs I'm working on a project which uses .NET Remoting for communication between the client application and an object server. For development, the client, server, and MSSQL database are all running on my local development machine.
When I'm working at the office, the responsiveness is just fi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5002",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Error ADMA5026E for WebSphere Application Server Network Deployment What I'm doing wrong that I get the ADMA5026E error when deployment an application with the NetworkDeployment Console?
A: Try
IBM Information Center
| {
"language": "en",
"url": "https://stackoverflow.com/questions/5013",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.