text stringlengths 8 267k | meta dict |
|---|---|
Q: Cross-thread operation not valid: Control accessed from a thread other than the thread it was created on I have a scenario. (Windows Forms, C#, .NET)
*
*There is a main form which hosts some user control.
*The user control does some heavy data operation, such that if I directly call the UserControl_Load method th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142003",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "662"
} |
Q: Server based syntax highlighting in Management Studio Why are some keywords highlighted blue and some gray in SQL Server Management Studio?
And why does the UNION keyword highlight as gray when connected to a SQL Server 2000 database, but blue when connected to a SQL Server 2005 database?
A: They are reserved words... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142005",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Force a Samba process to close a file Is there a way to force a Samba process to close a given file without killing it?
Samba opens a process for each client connection, and sometimes I see it holds open files far longer than needed. Usually i just kill the process, and the (windows) client will reopen it the next ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142007",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Can XPath do a foreign key lookup across two subtrees of an XML? Say I have the following XML...
<root>
<base>
<tent key="1" color="red"/>
<tent key="2" color="yellow"/>
<tent key="3" color="blue"/>
</base>
<bucket>
<tent key="1"/>
<tent key="3"/>
</bucket>
</root>
...what would the XPat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142010",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: What are the recommended learning material for SSIS? Okay, you don't need to be a guru, but if you happen to have a good working knowledge on SSIS and you used some tutorials around the web to get you there, then please share them. I have been trying to find some solid stuff (screencasts maybe), but I am having a ha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142015",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: C/C++ Structure offset I'm looking for a piece of code that can tell me the offset of a field within a structure without allocating an instance of the structure.
IE: given
struct mstct {
int myfield;
int myfield2;
};
I could write:
mstct thing;
printf("offset %lu\n", (unsigned long)(&thing.myfield2 - &thing... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142016",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "39"
} |
Q: Is classic ASP still a alternative adverse other languages for new projects? There are a lot of webs still using classic ASP instead of ASP.NET but that is not the question - "never change a running project".
The question is if it is still a first choice as a base for a new web-project or would it be worth to switch... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142041",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Create xml-stylesheet PI with Rails XMLBuilder I want to attach an xslt stylesheet to an XML document that I build with XMLBuilder. This is done with a Processing Instruction that looks like
<?xml-stylesheet type='text/xsl' href='/stylesheets/style.xslt' ?>
Normally, I'd use the instruct! method, but :xml-styleshe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142042",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Relative path for xsl:import or xsl:include I am trying to use VBScript to do an XSLT transform on an XML object.
The XSL file I'm translating includes the <xsl:import href="script.xsl"/> directive. If I use the absolute URL (http://localhost/mysite/script.xsl), it imports the style sheet fine; however, if I use the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142058",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Which database has the best support for replication I have a fairly good feel for what MySQL replication can do. I'm wondering what other databases support replication, and how they compare to MySQL and others?
Some questions I would have are:
*
*Is replication built in, or an add-on/plugin?
*How does the repli... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142068",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Symbian S60 Code Editor I am looking for an app that will let me type in code ON my cellphone. I don't need to compile or anything, and its not to program for the cellphone. Just something nice to have when an idea pops in my head.
Am I completely overlooking a simple code editor for Symbian S60v3 phones?
I am look... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142071",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there use for the Scroll Lock button anymore? The scroll lock button seems to be a reminder of the good old green terminal days. Does anyone still use it? Should the 101 button keyboard become the 100 button keyboard?
A: Microsoft Excel uses Scroll Lock to allow you to scroll the spreadsheet around with the arro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142076",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: C# Lambda Expressions or Delegates as a Properties or Arguments I'm looking to create an ValidationRule class that validates properties on an entity type object. I'd really like to set the name of the property to inspect, and then give the class a delegate or a lambda expression that will be evaluated at runtime wh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142090",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Can I use OpenId with the ASP MembershipProvider? I have a ASP.Net 2.0 website that is currently using a custom MembershipProvider and the standard login control. I would like to replace the login control with the one from DotNetOpenId.
I override the ValidateUser which checks the username and password, but I shoul... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142101",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: VBScript Excel Formatting .xlsx files Basically I want to know how to set center alignment for a cell using VBScript...
I've been googling it and can't seem to find anything that helps.
A: Set excel = CreateObject("Excel.Application")
excel.Workbooks.Add() ' create blank workbook
Set workbook = excel.Workbooks(1)... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142110",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Best (free) way to store data? How about updates to the file system? I have an idea for how to solve this problem, but I wanted to know if there's something easier and more extensible to my problem.
The program I'm working on has two basic forms of data: images, and the information associated with those images. The... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142114",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Unit Tests for comparing text files in NUnit I have a class that processes a 2 xml files and produces a text file.
I would like to write a bunch of unit / integration tests that can individually pass or fail for this class that do the following:
*
*For input A and B, generate the output.
*Compare the contents ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142121",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: What are the key differences between ASP.NET webforms and MVC I know what MVC is and I work in webforms but I don't know how MVC will be that much different. I guess the code behind model will be different. So will it be like webforms minus the code behind and instead having it in a controller?
I see there are other... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142132",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: SQL - Query to get server's IP address Is there a query in SQL Server 2005 I can use to get the server's IP or name?
A: It's in the @@SERVERNAME variable;
SELECT @@SERVERNAME;
A: select @@servername
A: you can use command line query and execute in mssql:
exec xp_cmdshell 'ipconfig'
A: Please use this query:
S... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142142",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "121"
} |
Q: Actionscript 2 functions I'm an experienced programmer but just starting out with Flash/Actionscript. I'm working on a project that for certain reasons requires me to use Actionscript 2 rather than 3.
When I run the following (I just put it in frame one of a new flash project), the output is a 3 rather than a 1 ? I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142147",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I locate resources on the classpath in java? Specifically stuff that ends in .hbm.xml How do I locate resources on the classpath in java?
Specifically stuff that ends in .hbm.xml.
My goal is to get a List of all resources on the classpath that end with ".hbm.xml".
A: You have to get a classloader, and test ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142151",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Which object should I mock? I am writing a repository. Fetching objects is done through a DAO. Creating and updating objects is done through a Request object, which is given to a RequestHandler object (a la Command pattern). I didn't write the DAO, Request, or RequestHandler, so I can't modify them.
I'm trying to wr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142179",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there an embeddable Webkit component for Windows / C# development? I've seen a few COM controls which wrap the Gecko rendering engine (GeckoFX, as well as the control shipped by Mozilla - mozctlx.dll). Is there a wrapper for Webkit that can be included in a .NET Winform application?
A:
There's a WebKit-Sharp co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142184",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "76"
} |
Q: Can I Install Visual Studio 2008 Express with VS 2005? I wonder if They can work perfectly together...
A: The simple answer is yes - I have both installed on the machine I'm replying to this question from. :=)
A: Yes VS'08 and VS'05 will work nicely when installed on the same machine.
Now, if only they made the .N... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142197",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Where do you store your misc project settings? Some projects have properties have miscellaneous settings such as: "AllowPayments", "ShowSideBar", "SectionTitle". Really things that don't necessarily fit in to other objects.
How do you guys store these kinds of values? ApplicationSettings? Flat File? Database table?... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142204",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: .NET unable to connect to Oracle DB using Oracle proxy user I am setting up a test version of my website against a new schema. I am trying to connect using the proxy connection and am getting the following error:
ORA-28150: proxy not authorized to connect as client
my connect string has the following form:
Data ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142211",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Under what circumstances are dynamic languages not appropriate? What factors indicate that a project's solution should not be coded in a dynamic language?
A: Familiarity and willingness of the programmers to work with the language.
Your dynamic language is probably my static language.
A: System level development i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142223",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Is there a dynamic language based .NET build tool? I might be starting a new project in .NET soon, and would prefer not to use an XML-based build tool like Nant or MSBuild. I like Rake, but I'm thinking it may be better to have something based on a .NET dynamic language (such as Boo), similar in spirit to gant or Bu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142225",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Integrating External Sources in a Build Where I work I have several projects in separate repositories. Each project shares a lot of common code that I want to pull out into a distinct project. I'm thinking of calling the project with the following scheme: Company.Department.Common or Company.Department.Utility.
I've... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142237",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How would you store and query hours of operation? We're building an app that stores "hours of operation" for various businesses. What is the easiest way to represent this data so you can easily check if an item is open?
Some options:
*
*Segment out blocks (every 15 minutes) that you can mark "open/closed". Checki... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142239",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Explicit code parallelism in c++ Out of order execution in CPUs means that a CPU can reorder instructions to gain better performance and it means the CPU is having to do some very nifty bookkeeping and such. There are other processor approaches too, such as hyper-threading.
Some fancy compilers understand the (un)i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142240",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What is the best way to pick a random row from a table in MySQL?
Possible Duplicate:
quick selection of a random row from a large table in mysql
I have seen random rows pulled using queries like this, which are quite inefficient for large data sets.
SELECT id FROM table ORDER BY RANDOM() LIMIT 1
I have also see... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142242",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Test if a floating point number is an integer This code works (C# 3)
double d;
if(d == (double)(int)d) ...;
*
*Is there a better way to do this?
*For extraneous reasons I want to avoid the double cast so; what nice ways exist other than this? (even if they aren't as good)
Note: Several people pointed out the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142252",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: Mangling __FILE__ and __LINE__ in code for quoting? Is there a way to get the C/C++ preprocessor or a template or such to mangle/hash the __FILE__ and __LINE__ and perhaps some other external input like a build-number into a single short number that can be quoted in logs or error messages?
(The intention would be to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142261",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Standard way to detect mobile browsers in a web application based on the http request We are beginning to go down the path of mobile browser support for an enterprise e-commerce webapp (Java/Servlet based). Of course there are many decisions to be made, but it seems to me the cornerstone is to be able to reliably d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142273",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "59"
} |
Q: How do I tell if a UIView is visible and on screen? If I have a UIView (or UIView subclass) that is visible, how can I tell if it's currently being shown on the screen (as opposed to, for example, being in a section of a scroll view that is currently off-screen)?
To maybe give you a better idea of what I mean, UITab... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142282",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Sending the same but modifed object over ObjectOutputStream I have the following code that shows either a bug or a misunderstanding on my part.
I sent the same list, but modified over an ObjectOutputStream. Once as [0] and other as [1]. But when I read it, I get [0] twice. I think this is caused by the fact that ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142317",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "23"
} |
Q: Can gmail's random-signatures-from-an-RSS-feed be used for truly dynamic signatures? This is a new gmail labs feature that lets you specify an RSS feed to grab random quotes from to append to your email signature. I'd like to use that to generate signatures programmatically based on parameters I pass in, the curren... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142319",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Setting up our new Dev server What is the easiest way to assign multiple IP addresses I'm setting up our new Dev server, what is the easiest way to assign multiple IP addresses to Windows 2008 Server Network Adapter?
I'm setting up our development machine, running IIS 7 and want to have the range between 192.168.1.2... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142320",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What URL do I post to for Live Search SOAP service? Its possible I am just really really thick. However, looking over the SDK for the live search (MSN search) that uses SOAP, doesn't tell me what URL the service is at?? I can download SDKs for C# or VB which probably encapsulate, but that doesn't help me (I am using... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142326",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Resources for high performance computing in C++ I'm looking for books or online resources that go in detail over programming techniques for high performance computing using C++.
A: Even though not FOSS, the Intel IPP and MKL libraries can really save you a lot of time (both in development and at runtime) if you nee... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142331",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: How do I remotely debug a stored procedure within the same domain? What are the steps needed to successfully be able to remotely debug a stored procedure (SQL Server 2005) from within VS 2005?
Both client and server machines are on the same domain. I have never done this so step by step instructions would greatly b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142339",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do you version your projects? I understand that Microsoft uses this template when versioning their products: Major.Minor.Build.Revision.
Major is changed when the "developers" want to show that there is a big change in the software and backward compatibility cannot be assumed. Maybe a major rewrite of the code ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142340",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Most efficient way to get default constructor of a Type What is the most efficient way to get the default constructor (i.e. instance constructor with no parameters) of a System.Type?
I was thinking something along the lines of the code below but it seems like there should be a simplier more efficient way to do it.
T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142356",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "79"
} |
Q: What are the best JVM settings for Eclipse? What are the best JVM settings you have found for running Eclipse?
A: If you are using Linux + Sun JDK/JRE 32bits, change the "-vm" to:
-vm
[your_jdk_folder]/jre/lib/i386/client/libjvm.so
If you are using Linux + Sun JDK/JRE 64bits, change the "-vm" to:
-vm
[your_jdk_fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142357",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "315"
} |
Q: Getting a boost::shared_ptr for this I am making extensive use of boost:shared_ptr in my code. In fact, most of the objects that are allocated on the heap are held by a shared_ptr. Unfortunately this means that I can't pass this into any function that takes a shared_ptr. Consider this code:
void bar(boost::shared_pt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142391",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "77"
} |
Q: What's the best way to format 24 hour time in XSLT 1.0? I've had a hard time finding good ways of taking a time format and easily determining if it's valid then producing a resulting element that has some formatting using XSLT 1.0.
Given the following xml:
<root>
<srcTime>2300</srcTime>
</root>
It would be grea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142400",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to stop Eclipse 3.4 losing reference to the JRE in projects Sometimes when using eclipse it loses references to the JRE.
i.e. It cannot find classes like Object or Arraylist.
Some projects report a problem while others don't and they both use the same JRE.
I have found that if you switch the installed JRE to ano... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142404",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What is the best way to start Unit and Functional testing of a Ruby Rails website? I am testing a Ruby Rails website and wanted to get started with Unit and Functional testing.
A: Cucumber and RSpec are worth a look. They encourage testing in a behaviour-driven, example-based style.
RSpec is a library for unit-lev... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142407",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Disable caching of errors when using Apache as a proxy When you use Apache proxying (using either ProxyPass or RewriteRule), if the destination returns an error (500 series status) then Apache won't proxy any more requests for 30 seconds.
I know there's a way to disable this by setting that value to 0 second, but I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142409",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Is there a way to determine the signature of a Lua function? Recently, Lee Baldwin showed how to write a generic, variable argument memoize function. I thought it would be better to return a simpler function where only one parameter is required. Here is my total bogus attempt:
local function memoize(f)
local ca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142417",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Java: Enum parameter in method I have a method lets say:
private static String drawCellValue(
int maxCellLength, String cellValue, String align) { }
and as you can notice, I have a parameter called align. Inside this method I'm going to have some if condition on whether the value is a 'left' or 'right'.. settin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142420",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "31"
} |
Q: App to Change Ldap Password for a JIRA/SVN server I'm setting up a server to offer JIRA and SVN. I figure, I'll use LDAP to keep the identity management simple.
So, before I write one.... is there a good app out there to let users change their ldap password? I want something that lets a user authenticate with l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142431",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do you establish context and call an WebSphere EJB from the Sun JRE (not IBM) Is there a way to call an EJB that is served through WebSphere (iiop://host:port/ejbName) from a vanilla JRE (like Sun). A lot of people have been telling me that this type of architecture relies in a homogenous environment. Thoughts?
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142445",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I call a Win32 Function in PowerShell 1.0 using P/Invoke? There are many scenarios where it would be useful to call a Win32 function or some other DLL from a PowerShell script. to Given the following function signature:
bool MyFunction( char* buffer, int* bufferSize )
I hear there is something that makes thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142452",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: WMI calls from WebService So I have made a webservice that interfaces with a set of data contained in a WMI namespace. It works fine when I run it with the ASP.net in built development web server, and returns the data as requested. However when I publish it to an IIS 6 server (win 2003), the webservice no longer all... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142453",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What are the main differences between the popular web frameworks? There are lots of web application frameworks available these days, for pretty much every language out there. In your experience, what are their strengths, weaknesses, and unique features? Assuming the luxury of choice, what factors would lead you to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142470",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: WM_GETMINMAXINFO, the ptMaxSize not having any effect In handling a WM_GETMINMAXINFO message, I attempt to alter the parameter MINMAXINFO structure by changing the ptMaxSize. It doesn't seem to have any effect. When I receive the WM_SIZE message, I always get the same value, no matter whether I increase or decreas... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142478",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Auto-generation of .NET unit tests Is there such a thing as unit test generation? If so...
...does it work well?
...What are the auto generation solutions that are available for .NET?
...are there examples of using a technology like this?
...is this only good for certain types of applications, or could it be used t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142481",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "50"
} |
Q: Eclipse: Dependency Management What are some methods of utilising Eclipse for Dependency Management?
A: A simpler way to go is the Maven Eclipse plugin (as opposed to a Maven plugin for Eclipse). It's simply a maven plugin that generates the .project and .classpath file based on the contents of the pom, you just ru... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142504",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: How much access do you give BA/PM's? Where I work we have a little bit of a dilemma... I work on a small team developing an application for internal use. We recently just received a new PM to the project. She would like to have access to our database and our sourcecode (stored in svn). Our previous PM did not see... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142507",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How do I check OS with a preprocessor directive? I need my code to do different things based on the operating system on which it gets compiled. I'm looking for something like this:
#ifdef OSisWindows
// do Windows-specific stuff
#else
// do Unix-specific stuff
#endif
Is there a way to do this? Is there a better way... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142508",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "292"
} |
Q: Tools to help with editing a remote web application I often have nothing more than an FTP access to a server on which the application is placed.
What I usually use now is "Keeping remote directory up to date" feature of WinSCP. Files of the local copy (in theory at least) keep being uploaded to a remote server as so... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142519",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: .dbc --> .csv I have a little utility that converts .dbc files to .csv files, trouble is, somewhere in the conversion some data is lost/destroyed/whatever. I input a.dbc into converter, it produces a.csv. I delete a.dbc,and then run a.csv back through the converter, and I come back with a "slightly" different .dbc f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142523",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Highlight text inside of a textarea Is it possible to highlight text inside of a textarea using javascript? Either changing the background of just a portion of the text area or making a portion of the text selected?
A: Easy script I wrote for this: Jsfiddle
OPTIONS:
*
*Optional char counter.
*Highlight several ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142527",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "45"
} |
Q: How to make a cross-module variable? The __debug__ variable is handy in part because it affects every module. If I want to create another variable that works the same way, how would I do it?
The variable (let's be original and call it 'foo') doesn't have to be truly global, in the sense that if I change foo in one m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142545",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "129"
} |
Q: Deployment of war file on Tomcat Is there a way to deploy a given war file on Tomcat server? I want to do this without using the web interface.
A: There are several ways to deploy a Tomcat webapp:
*
*Dropping into $CATALINA_HOME/webapps, as was already mentioned.
*Using your build scripts to deploy automaticall... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142548",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: Do you have to restart apache to make re-write rules in the .htaccess take effect? I have pushed my .htaccess files to the production severs, but they don't work. Would a restart be the next step, or should I check something else.
A: No:
Apache allows for decentralized management of configuration via special files... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142559",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "103"
} |
Q: Looking for doc on why IE "yellow bar" shows when opening a HTML file that contains JavaScript I have a site, from which you can download an HTML file. This HTML file contains a form with hidden fields, which is right away posted back to the site using JavaScript. This is a way of allowing users to download to their... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142573",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to revive C++ skills I was a C++ developer (mostly ATL/COM stuff) until, as many of us, I switched to C# in 2001. I didn't do much C++ programming since then.
Do you have any tips on how to revive my C++ skills? What has changed in C++ in the last years? Are there good books, articles or blogs covering the langu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142602",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: TraceRoute and Ping in C# Does anyone have C# code handy for doing a ping and traceroute to a target computer? I am looking for a pure code solution, not what I'm doing now, which is invoking the ping.exe and tracert.exe program and parsing the output. I would like something more robust.
A: For the ping part, tak... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142614",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "33"
} |
Q: ModalPopupExtender OK Button click event not firing? I have a Button inside an UpdatePanel. The button is being used as the OK button for a ModalPopupExtender. For some reason, the button click event is not firing. Any ideas? Am I missing something?
<asp:updatepanel id="UpdatePanel1" runat="server">
<Content... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142633",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "44"
} |
Q: Weird MSC 8.0 error: "The value of ESP was not properly saved across a function call..." We recently attempted to break apart some of our Visual Studio projects into libraries, and everything seemed to compile and build fine in a test project with one of the library projects as a dependency. However, attempting to r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142644",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "54"
} |
Q: Relational camp and "real-world" database development More than decade passed since first publication of Date's and Darwen's "The Third Manifesto" in 1995.
What is the place of relational school of thought in today's database world?
Is there any evidence that Manifesto's ideas changed mainstream software development... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142652",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: DocumentRoot in .htaccess is causing an error I have DocumentRoot /var/www/test in my .htaccess file. This is causing the apache server to give me a 500 internal server error.
The error log file shows:
alert] [client 127.0.0.1] /var/www/.htaccess: DocumentRoot not allowed here
AllowOveride All is set in my conf ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142653",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to most efficently handle large numbers of file descriptors? There appear to be several options available to programs that handle large numbers of socket connections (such as web services, p2p systems, etc).
*
*Spawn a separate thread to handle I/O for each socket.
*Use the select system call to multiplex th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142677",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Calling Reporting services rdl in Java application I have developed my reports in SQL REporting services and deployed in my server. I need to display the reports in my java application page. I want to know is there any control (like .net report viewer control) to display this
Thanks
balaweblog
A: I don't know about... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142690",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Unit testing in flex Are there any unit testing solutions for Flex? or actionscript 3?
If so, what are their features? Any UI testing abilities? Functional testing? Any pointers, examples, libraries or tools that you can share?
A: FlexUnit is pretty awesome - http://opensource.adobe.com/wiki/display/flexunit/FlexUn... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142692",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: How can I write software that does bank account transfers? You know those websites that let you type in your checking account number and the routing number, and then they can transfer money to and from your account?
How does that work? Any good services or APIs for doing that? Any gotchas?
A: If you want to be a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142693",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: High-level languages for out-of-the-box GUI desktop application programming After I discontinued programming in C++ while entering into web authoring I was spoilt by PHP's high level constructs like hash tables or its dynamic, weak typing. I remembered the angst of C/C++ pointers and the maze of low-level Win32 API ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142695",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Why does a VB.Net function that returns string only actually return a single character? I'm calling a function that returns a string, but it's only actually returning the first character of the string it's supposed to be returning.
Here's a sample piece of code to recreate the issue I'm experiencing:
Public Function... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142697",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "33"
} |
Q: What do 'Delimiter' and 'InheritsFromParent' attributes mean in .vsprops files? I can't seem to find any useful documentation from Microsoft about how one would use the Delimiter and InheritsFromParent attributes in the UserMacro element when defining user Macros in .vsprops property sheet files for Visual Studio.
H... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142708",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Can I implement a cooperative multi-tasking system in VxWorks? A legacy embedded system is implemented using a cooperative multi-tasking scheduler.
The system essentially works along the following lines:
*
*Task A does work
*When Task A is done, it yields the processor.
*Task B gets the processor and does wor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142710",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Coding for high reliability/availability/security - what standards do I read? I've heard that the automotive industry has something called MISRA C.
What are the relevant standards for other high reliability/availability/security industries, such as
*
*Space
*Aircraft
*Banking/financial
*Automotive
*Medical
*... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142722",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: How do you acess a property of a bean for reading in a spring xml config file? I want to do something like the following in spring:
<beans>
...
<bean id="bean1" ... />
<bean id="bean2">
<property name="propName" value="bean1.foo" />
...
I would think that this would access the getFoo() method of... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142740",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: What software would you recommend for image enhancement prior to OCR (Optical Character Recognition)? We are currently researching ways of enhancing image quality prior to submission to OCR. The OCR engine we are currently utilizing is the Scansoft API from Nuance (v15). We were researching the Lead Tools but have... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142743",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to get CreateProcess/CreateProcessW to execute a process in a path > MAX_PATH characters I'm trying to get either CreateProcess or CreateProcessW to execute a process with a name < MAX_PATH characters but in a path that's greater than MAX_PATH characters. According to the docs at: http://msdn.microsoft.com/en-u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142750",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Automatically set list item permission, after new item is created We have a SharePoint Team Site (WSS 3.0 not MOSS), that includes Tasks list to records every tasks related to a project. Here's the scenario.
Users :
*
*List item
*Supervisor1
*TeamMember1
*TeamMember2
*TeamMember3
How do we set the permissio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142756",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a DataContext in LINQ-to-Entities (NOT Linq-to-SQL)? I recently asked a question about tracing Linq-to-Entities
I think that one of the answers was not right, as they refer to using the DataContext. Is there a DataContext for LINQ-to-Entities? If so, how do I get it?
A: Apparently, LinqToEntities uses an O... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142762",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: How do I upgrade python 2.5.2 to python 2.6rc2 on ubuntu linux 8.04? I'd like to how to upgrade the default python installation(2.5.2) supplied with ubuntu 8.04 to python 2.6rc2. I'd like to make 2.6 the default python version on the system and migrate all the other useful installed python libraries installed on 2.5... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142764",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: What is the difference between the Project and SVN workingDirectory config Blocks in CruiseControl.NET What is the difference between the Project and SVN workingDirectory Config Blocks in CruiseControl.NET?
I setup Subversion and now I'm working on CruiseControl.NET and noticed there are two workingDirectory blocks ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142772",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Visual Studio 2008 Express MFC Support As may be known by many, the Express versions of Visual Studio 2008 don't include support for MFC and a few other packages required to compile a lot of windows programs.
So, here's my problem:
I have the full version of Visual Studio 2005. I've been using this to compile a pro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142781",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: What is a "callback" in C and how are they implemented? From the reading that I have done, Core Audio relies heavily on callbacks (and C++, but that's another story).
I understand the concept (sort of) of setting up a function that is called by another function repeatedly to accomplish a task. I just don't unders... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142789",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "178"
} |
Q: Network Multithreading I'm programming an online game for two reasons, one to familiarize myself with server/client requests in a realtime environment (as opposed to something like a typical web browser, which is not realtime) and to actually get my hands wet in that area, so I can proceed to actually properly desig... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142804",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Does Python have a bitfield type? I need a compact representation of an array of booleans, does Python have a builtin bitfield type or will I need to find an alternate solution?
A: Represent each of your values as a power of two:
testA = 2**0
testB = 2**1
testC = 2**3
Then to set a value true:
table = table | test... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142812",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "54"
} |
Q: How do I convert a 12-bit integer to a hexadecimal string in C#? I want to convert a number between 0 and 4096 ( 12-bits ) to its 3 character hexadecimal string representation in C#.
Example:
2748 to "ABC"
A: try
2748.ToString("X")
A: If you want exactly 3 characters and are sure the number is in range, use:
i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142813",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to get started with game programming on the Zune My zune just updated to 3.0 (didn't even realize they were releasing something new!) and the update came with two games, but the Zune marketplace does not have games.
Where do I go to get started, and what are the capabilities of the Zune in terms of games/apps?... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142816",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Design Time viewing for User Control events I've create a WinForms control that inherits from System.Windows.Forms.UserControl...I've got some custom events on the control that I would like the consumer of my control to be able to see. I'm unable to actually get my events to show up in the Events tab of the Properti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142820",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: Is there a way to indefinitely pause a thread? I've been working on a web crawling .NET app in my free time, and one of the features of this app that I wanted to included was a pause button to pause a specific thread.
I'm relatively new to multi-threading and I haven't been able to figure out a way to pause a thread... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142826",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "34"
} |
Q: What are your "hard rules" about commenting your code? I have seen the other questions but I am still not satisfied with the way this subject is covered.
I would like to extract a distiled list of things to check on comments at a code inspection.
I am sure people will say things that will just cancel each other. Bu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/142830",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.