text stringlengths 8 267k | meta dict |
|---|---|
Q: Where can I find free WPF controls and control templates? I am looking for some recommendations on good places to find libraries of controls/templates/styles for WPF. I know about the usual places like Infragistics, but it seems to me that there should be some kind of community effort by now to share nice, clean, we... | {
"language": "en",
"url": "https://stackoverflow.com/questions/121724",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "87"
} |
Q: Server virtualization: how to avoid, locate and fix bottlenecks? Server virtualization is a big thing these days, so I'm tasked at work to install some of our software on a virtualized server and see what happens. Long story short: a rsync transfer promptly brings the virtualized server to its knees. The virtualizat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/121743",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Best practices for SQL Server development across differing versions Expanding on this question, what is the best way to develop against both SQL Server 2005 and SQL Server 2008?
I'd like to see if I could just use Orcas technology on my current Vista 64 machine and since SQL Server 2005 wants to install a stub versi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/121748",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do you implement Coroutines in C++ I doubt it can be done portably, but are there any solutions out there? I think it could be done by creating an alternate stack and reseting SP,BP, and IP on function entry, and having yield save IP and restore SP+BP. Destructors and exception safety seem tricky but solvable.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/121757",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "76"
} |
Q: Sleep a thread until an event is attended in another thread I have two threads in an Android application, one is the view thread, and the other is the worker thread. What I want to do is, sleep the worker thread until the view thread terminates the handling of the onDraw method.
How i can do this? is there any wait ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/121762",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "31"
} |
Q: What is the STL implementation with the lowest memory footprint? I am working on a very large scale computing library that is using STL heavily. The library is being built using MSVC2003 and it is using its STL implementation.
I am looking for an alternative STL implementation that would help the library lower its m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/121787",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Fix for fatal error C1083 We have a set of nightly builds that build of full suite of software using Embedded Visual C++ batch files. There is probably a total of 30 builds that are done. Every night at least one or two builds fail with something like the following error:
c:\lc\trunk\server\can\svcangettracedrive... | {
"language": "en",
"url": "https://stackoverflow.com/questions/121788",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What version numbering scheme do you recommend? My question is, which version-naming scheme should be used for what type of project.
Very common is major.minor.fix, but even this can lead to 4 number (i.e. Firefox 2.0.0.16). Some have a model that odd numbers indicate developer-versions and even numbers stable relea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/121795",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "41"
} |
Q: Behaviour-Driven or Test-Driven Development? I recently heard of BDD and found it very similar to TDD.
Which of these two do you use (if any)?
and which are the pros and cons of each?
A: BDD is similar to TDD but with a different mindset. In BDD you're trying to create executable specifications instead of tests. Th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/121806",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: How to tell if an Excel Workbook is protected I can use properties of an Excel Worksheet to tell if the worksheet is protected (Worksheet.Protection, Worksheet.ProtectContents etc).
How can I tell using VBA if the entire workbook has been protected?
A: Found the answer myself:
I need the Workbook.ProtectStructure a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/121808",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Remove Right Click Print Context Menu from Outlook 2007 Is there any way that I can remove the Print item from the context menu when you right-click on an email with VBA?
I am forever right-clicking to reply to an email, only to accidentally click Print and have Outlook send it directly to the printer quicker than I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/121810",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How do I use Inno Setup to optionally install a plugin/file in a folder based on a registry entry? Inno Setup is a nice easy to use installer. It is rated high in this stackoverflow question. I have a need to install a plugin to a folder relative to the installation folder of a 3rd Party application. It isn't obvi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/121812",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I redirect and modify extension-less URLs via ASP.NET? We have redesigned the structure to a website which has several business units. Now I want to redirect (301) to the new page.
IE:
was www.example.com/abc
now www.example.com/default.aspx?article=abc
I have tried to use Global.asax to do this, and it w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/121813",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How do I replace text inside a div element? I need to set the text within a DIV element dynamically. What is the best, browser safe approach? I have prototypejs and scriptaculous available.
<div id="panel">
<div id="field_name">TEXT GOES HERE</div>
</div>
Here's what the function will look like:
function showPane... | {
"language": "en",
"url": "https://stackoverflow.com/questions/121817",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "195"
} |
Q: Setting a key field on a view I am creating an SQL view for a file that strips out the spaces in a particular field. My question is if there is a why to set a key on that new view so a person can still CHAIN the file. We are on V5R3.
A: Okay found the answer at http://archive.midrange.com/midrange-l/200809/msg01062... | {
"language": "en",
"url": "https://stackoverflow.com/questions/121821",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Any issues using an IBM DataPower ESB w/ WCF development? I'm looking to implement an ESB and wanted to get thoughts related to "how" my web services might change (WCF) or -- how my client apps that consume these services might "need to be revised" (-- other than a new service ref to the ESB path --)
The device I'm ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/121827",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Problem with a gridview, paging and "object reference not set" error I'm stuck with the following problem. I'm trying to implement a basic GridView paged result set, which connects to an Oracle database. By itself, the GridView, and the paged results, work fine. The problem comes when I try to put it in page layout ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/121828",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: SQL Server 2005: Importing data from SQL Server 2000 In SQL Server 2000, you have the "All Tasks... - Export Data" option. Where is this option the SQL Server 2005 Management Studio?
Or, is there a SQL Server 2005 way of doing this?
EDIT: I am using the Express edition.
EDIT: Joel's response answers my question... | {
"language": "en",
"url": "https://stackoverflow.com/questions/121837",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What software development process do you use? I have always used the agile Feature Driven Development process for developing software. What does everyone else use, and why do you prefer it? I prefer FDD because that's what I started with fresh out of college. In college, everything was very free-form and my "cust... | {
"language": "en",
"url": "https://stackoverflow.com/questions/121839",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Where can I learn about logarithms? I hear logarithms mentioned quite a lot in the programming context. They seem to be the solution to many problems and yet I can't seem to find a real-world way of making use of them. I've read the Wikipedia entry and that, quite frankly, leaves me none the wiser.
So, where can I l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/121847",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: Pros and cons of using one file for entire webpage? I'm not sure how I should express this, but I'll give it a try.
I recently started coding my portfolio in object-oriented PHP and I'm wondering if it's according to best practices to use a single page where the content changes depending on SQL data and the $_GET v... | {
"language": "en",
"url": "https://stackoverflow.com/questions/121849",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Most efficient T-SQL way to pad a varchar on the left to a certain length? As compared to say:
REPLICATE(@padchar, @len - LEN(@str)) + @str
A: I'm not sure that the method that you give is really inefficient, but an alternate way, as long as it doesn't have to be flexible in the length or padding character, would ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/121864",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "217"
} |
Q: Why does Django generate HTTP 500 errors for static media when Debug is set to False? I'm preparing to deploy my Django app and I noticed that when I change the "DEBUG" setting to False, all references to static files (i.e., JavaScript, CSS, etc..) result in HTTP 500 errors.
Any idea what's causing that issue (and h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/121866",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Automatic casts I am currently suffering a brain fart. I've done this before but I can't remember the exact syntax and I can't look at the code I wrote because I was working at another company at the time. I have this arrangement:
class P
{
// stuff
};
class PW : public P
{
// more stuff
};
class PR : public P
{
/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/121922",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Sharepoint WebPart with AjaxToolkit's Accordion control Do you guys have any resources on creating a Sharepoint webpart that uses the AjaxToolkit controls? I need to create a webpart that uses the Accordion control and I can't find any complete tutorial or walkthrough. I prefer a tutorial/article that doesn't use ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/121935",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: RSS/ATOM feed reader for windows (or cross-platform) Looking for a good rss/feed reader for windows or if there are any good cross platforms one i would be really amazed, or good web services (dont like the google one).
I want something simplistic and minimalistic.
A: I wouldn't call it minimalistic, but FeedDemon ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/121937",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Assembly.GetCallingAssembly() and static constructors? Ok, so I just ran into the following problem that raised an eyebrow.
For various reasons I have a testing setup where Testing classes in a TestingAssembly.dll depend on the TestingBase class in a BaseTestingAssembly.dll.
One of the things the TestBase does in th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/121946",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: C# .NET 3.5 GUI design I'm looking for some programming guides to C# GUI design. I come from the Java camp (where I can happily hand-code Swing/AWT GUIs) and thus don't have a clue where to start :(
Also, what difference (if any) is there between the Windows Presentation Foundation and WinForms?
A: Chris Sells see... | {
"language": "en",
"url": "https://stackoverflow.com/questions/121947",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Determine site's absolute, fully-qualified url in asp.net How can I consistently get the absolute, fully-qualified root or base url of the site regardless of whether the site is in a virtual directory and regardless of where my code is in the directory structure? I've tried every variable and function I can think of... | {
"language": "en",
"url": "https://stackoverflow.com/questions/121962",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: How to detect screen resolution in (classic) ASP I want to detect users' screen size and pass this into a charting application (Chart Director by http://www.advsofteng.com) to control how big an image to display.
I have to use ASP, but I can only think to use JavaScript to detect screen-size and then pass this into ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/121979",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I add a REGEX match to my J2ME project? The question pretty much sums it up. Just want to run a regular expression match on a string in J2ME.
A: JRegex will not run on CLDC device. Try this one: code.google.com/p/regexp-me/.
A: Will JRegex run in J2ME?
UPDATE: Based on Rory's comment, I recommend JRegex, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/121988",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How do I write this in Ruby/Python? Or, can you translate my LINQ to Ruby/Python? Yesterday, I asked this question and never really got an answer I was really happy with. I really would like to know how to generate a list of N unique random numbers using a functional language such as Ruby without having to be extrem... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122033",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: How to find GridItem from click on PropertyGrid? I'm trying to do some custom UI behavior on a Windows Forms PropertyGrid control. I'd like to be able to respond to clicks and double-clicks on the GridItems to change the state. For example, to flip a binary or ternary variable through its states.
I can get at the un... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122036",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Has anyone already done the work to make STLPort build with VS2008 and/or an x64 build with VS2005? At present it seems that VS2008 still isn't supported either in the 5.1.5 release or in the STLPort CVS repository. If someone has already done this work then it would be useful to share, if possible :)
Likewise it wo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122057",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: favicon not working in IE I have a site using a custom favicon.ico. The favicon displays as expected in all browsers except IE. When trying to display the favicon in IE, I get the big red x; when displaying the favicon in another browser, it displays just fine. The page source includes
and it does work in other br... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122067",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "41"
} |
Q: Sql query to determine status? I have a table in a MSSQL database that looks like this:
Timestamp (datetime)
Message (varchar(20))
Once a day, a particular process inserts the current time and the message 'Started' when it starts. When it is finished it inserts the current time and the message 'Finished'.
What is a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122088",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Xsd to rnc (or rng) conversion (unix command line) A brief search shows that all available (uUnix command line) tools that convert from xsd (XML Schema) to rng (RelaxNG) or rnc (compact RelaxNG) have problems of some sort.
First, if I use rngconv:
$ wget https://msv.dev.java.net/files/documents/61/31333/rngconv.2006... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122089",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Apache Mod-Rewrite Primers? I am wondering what primers/guides/tutorials/etc. are out there for learning to rewrite URLs using Apache/.htaccess? Where is a good place to start?
My primary interest is learning how to point certain directories to others, and how to use portions of a URL as parameters to a script (i.e.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122097",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Best practice for parameterizing GWT app? I have a Google Web Toolkit (GWT) application and when I link to it, I want to pass some arguments/parameters that it can use to dynamically retrieve data. E.g. if it were a stock chart application, I would want my link to contain the symbol and then have the GWT app read t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122098",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: What GUI Framework would you recommend Management wants us to switch to Infragistics. But my boss says that any 3rd party is destined to fail, and at that point there won't be anything we can do about it.
Is he right, is he wrong? I don't know.
What are your opinions, is it better to use something developed inside ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122099",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What is the most efficient way to deep clone an object in JavaScript? What is the most efficient way to clone a JavaScript object? I've seen obj = eval(uneval(o)); being used, but that's non-standard and only supported by Firefox. I've done things like obj = JSON.parse(JSON.stringify(o)); but question the efficiency... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122102",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5171"
} |
Q: ASP.Net MVC Keeping action parameters between postbacks Say I have a page that display search results. I search for stackoverflow and it returns 5000 results, 10 per page. Now I find myself doing this when building links on that page:
<%=Html.ActionLink("Page 1", "Search", new { query=ViewData["query"], page etc..%>... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122104",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: How to filter a Java Collection (based on predicate)? I want to filter a java.util.Collection based on a predicate.
A: Use CollectionUtils.filter(Collection,Predicate), from Apache Commons.
A: Java 8 (2014) solves this problem using streams and lambdas in one line of code:
List<Person> beerDrinkers = persons.strea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122105",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "749"
} |
Q: Checkout one file from Subversion "It is not possible to check out a single file. The finest level of checkouts you can do is at the directory level."
How do I get around this issue when using Subversion?
We have this folder in Subversion where we keep all our images. I just want to check out one file (image) from t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122107",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "340"
} |
Q: How do you store the markdown using WMD in ASP.NET? I have implemented the WMD control that Stack Overflow uses into a project of mine, it almost works like a charm, but when I save the changes to the database it is saving the HTML version and not the Markdown version.
So where I have this in my text box:
**boldtext... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122108",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: How can I split up a PDF file into pages (preferably C#) My client has a multi-page PDF file. They need it split by page. Does anyone know of a way to do this - preferably in C#.
A: I did this using ITextSharp -- there are commercial options that may have a good API but this is open source and free, and not hard ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122109",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: Is there a way to get jadclipse working with Eclipse 3.4? I'm a big fan of the Jadclipse plugin and I'd really like to upgrade to Eclipse 3.4 but the plugin currently does not work. Are there any other programs out there that let you use jad to view source of code you navigate to from Eclipse? (Very useful when delv... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122110",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: What is the popen equivalent to read and write to a child process in Windows? Ruby's standard popen3 module does not work on Windows. Is there a maintained replacement that allows for separating stdin, stdout, and stderr?
A: POpen4 gem has a common interface between unix and Windows. The following example (from the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122115",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do you get the DataSource that a report uses in SQL Server Reporting Services 2005 In order to create the proper queries I need to be able to run a query against the same datasource that the report is using. How do I get that information programatically? Preferably the connection string or pieces of data used to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122127",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Calling WCF Service from Silverlight Im calling a locally hosted wcf service from silverlight and I get the exception below.
Iv created a clientaccesspolicy.xml, which is situated in the route of my host.
<?xml version="1.0" encoding="utf-8"?>
<access-policy>
<cross-domain-access>
<policy>
<allow-from ht... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122144",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How can I disable work item creation at the end of a failed Team Foundation Build? I'm using Team Foundation Build but we aren't yet using TFS for problem tracking, so I would like to disable the work item creation on a failed build. Is there any way to do this? I tried commenting out the work item info in the TFSBu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122154",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Is there an easy way to attach source in Eclipse? I'm a big fan of the way Visual Studio will give you the comment documentation / parameter names when completing code that you have written and ALSO code that you are referencing (various libraries/assemblies).
Is there an easy way to get inline javadoc/parameter nam... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122160",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "134"
} |
Q: What is the simplest way to handle images in Drupal? I am used to TYPO3 where I just can upload an image within the content element an then just determine the size an so on.
Is there a way to handle images in drupal somehow like this?
A: Image upload support for Drupal is a bit of a jungle.
The most basic way to d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122173",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Using ASP.Net 3.5 SP1 Routing with SharePoint 2007 I'm trying to setup some friendly URLs on a SharePoint website. I know that I can do the ASP.Net 2.0 friendly URLs using RewritePath, but I was wondering if it was possible to make use of the System.Web.Routing that comes with ASP.NET 3.5 SP1.
I think I've figured ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122175",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What is the best practice for an environment based configuration file in Ruby on Rails I have several properties that are dependent on the environment the application is running. For example, there are links to another application that is being developed concurrantly that get displayed in the header and footer. I wa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122178",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How best update a running application on a remote machine So my build machine spits out a new executable and I would like to update my test machine with the new build. In order to do this I would need to somehow kill the process on the remote machine, copy over the new binary and start it running.
And for some reaso... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122187",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: For list controls, should find-as-you-type match at the start of an entry, or anywhere in an entry? I have a list control in GTK+ (a gtk.TreeView with one column), with "find-as-you type" enabled (so typing any text will open a small search field for searching through the list entries). Now, if the user enters some ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122192",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Automated Test Framework - Windows CE Looking for a way to drive a Compact Framework app running on a CE device.
All we basically need is to be able to write little scripts that press buttons and click on things. Anyone know of such a tool or it best to just hack one up ourselves?
A: Unfortunately there are no nice... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122198",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: How can you hook a SharePoint 2007 feature into the Application_Start of a site? I was wondering if there is a good way to hook into the Application_Start of a SharePoint 2007 site when developing a feature? I know I can directly edit the Global.asax file in the site root, but is there a way to do this so that it ge... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122205",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How can I get the IP Address of a local computer? In C++, what's the easiest way to get the local computer's IP address and subnet mask?
I want to be able to detect the local machine's IP address in my local network. In my particular case, I have a network with a subnet mask of 255.255.255.0 and my computer's IP add... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122208",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "59"
} |
Q: How can I mock/fake/stub sealed OracleException with no public constructor? In my tests I need to test what happens when an OracleException is thrown (due to a stored procedure failure). I am trying to setup Rhino Mocks to
Expect.Call(....).Throw(new OracleException());
For whatever reason however, OracleExceptio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122215",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: PHP unserialize keeps throwing same error over 100 times part 2 So I have a large 2d array that i serialize, but when I attempt to unserialize the array it just throws the same error to the point of nearly crashing Firefox.
The error is:
Warning: unserialize() [function.unserialize]: Node no longer exists in /var/ww... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122216",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Invalid file descriptor problem with Git on Windows I've been using Git on Linux for about a year, and everything works fine. Since recently, a colleague has joined development and he's using Windows. Everything works fine there as well, but sometimes when he tries to push changes to a remote repository (bare) on Li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122226",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: .NET can't find the cookie that I created in classic asp in some cases I'm the only developer supporting a website that's a mix of classic asp and .NET. I had to add some .net pages to a classic asp application. This application requires users to login. The login page, written in classic asp, creates a cookie that .... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122229",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What is the comparative robustness of C++ Builder versions? Our development team work with Borland C++ Builder 6 and CodeGear C++ Builder 2007 (as well as Visual Studio). I hear a lot of comments that the Builder 2007 IDE crashes a lot more than BCB6 does. Does anyone out there have any experience of the C++ Builder... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122234",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Handling a colon in an element ID in a CSS selector JSF is setting the ID of an input field to search_form:expression. I need to specify some styling on that element, but that colon looks like the beginning of a pseudo-element to the browser so it gets marked invalid and ignored. Is there anyway to escape the colon ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122238",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "160"
} |
Q: Floated Divs Obeying/Not Obeying Vertical-Align Within a table cell that is vertical-align:bottom, I have one or two divs. Each div is floated right.
Supposedly, the divs should not align to the bottom, but they do (which I don't understand, but is good).
However, when I have two floated divs in the cell, they alig... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122239",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: VS2005 "Add New Item..." dialog - default item After installing a third-party SDK, it very discourteously makes one if its templates the default item in "Add New Item..." dialog in Visual Studio 2005. This is also the case for all other similar dialogs - "Add Class...", "Add User Control..." etc.
Is there a way to c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122253",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: accessing constants in JSP (without scriptlet) I have a class that defines the names of various session attributes, e.g.
class Constants {
public static final String ATTR_CURRENT_USER = "current.user";
}
I would like to use these constants within a JSP to test for the presence of these attributes, something lik... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122254",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "29"
} |
Q: IMAP: how to move a message from one folder to another (using the IMAP commands, not with the assistance of any other mail package)
A: I guess you COPY the message to the new folder and then delete (EXPUNGE) it in the old one.
RFC3501
HINT There's no DELETE command that does what you mean, you have to flag the mess... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122267",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "24"
} |
Q: WPF hosting windows forms elements inside a ScrollViewer when putting a ScrollViewer inside a window(not keeping all the window's size)
inside the ScrollViewer there's (with other stuff) a WinFormsHost and a control inside (let's say a DateTimePicker). when scrolling, the inner winforms control keeps being visible w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122271",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Constructor parameters for controllers without a DI container for ASP.NET MVC Does anyone have any code examples on how to create controllers that have parameters other than using a Dependency Injection Container?
I see plenty of samples with using containers like StructureMap, but nothing if you wanted to pass in ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122273",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Quickly check whether sudo permissions are available I want to be able to quickly check whether I both have sudo access and my password is already authenticated. I'm not worried about having sudo access specifically for the operation I'm about to perform, but that would be a nice bonus.
Specifically what I'm trying ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122276",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do you translate this regular-expression idiom from Perl into Python? I switched from Perl to Python about a year ago and haven't looked back. There is only one idiom that I've ever found I can do more easily in Perl than in Python:
if ($var =~ /foo(.+)/) {
# do something with $1
} elsif ($var =~ /bar(.+)/) {... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122277",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "48"
} |
Q: Silverlight development [Visual Studio 2008 vs Expression Blend] I'm a .Net developer and want to get into developing Silverlight applications. I have VS 2008 but wanted to know if I should/need expression blend. What are pros/cons of having blend along side VS?
A: I don't mean to push my own questions, but thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122278",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Can the Java File method "canWrite()" support locking? I have a Java application that monitors a folder for incoming XML files. When a new file is detected I need to test the file that it is not currently being updated and is closed. My thought is to use File.canWrite() to test this. Is there any issue with doing... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122282",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: How do you Schedule Index Updates in CouchDB As far as I understand, CouchDB indexes are updated when a view is queried. Assuming there are more reads than writes, isn't this bad for scaling? How would I configure CouchDB to update indexes on writes, or better yet, on a schedule?
A: You can't and also, why would ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122298",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: How can I get a summary of my cvs conflicts when doing a cvs update on the command line? Is there an easy way to get a conflict summary after running a cvs update?
I work on a large project and after doing some work I need to do an update. The list of changes coming back from the cvs update command is several pag... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122301",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: As System in Sqlplus, how do I query another user's table? According to select name from system_privilege_map System has been granted:
SELECT ANY TABLE
...and lots of other * ANY TABLES.
Plainly running
select * from the_table;
select * from the_table;
...nets the given response:
ERROR at line 1:
ORA-00942: ta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122302",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How do you include/exclude a certain type of files under Subversion? I'm getting confused with the include/exclude jargon, and my actual SVN client doesn't seem to have (or I've been unable to find it easily) a simple option to add or remove a certain type of files for version control.
Let's say for example I've add... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122313",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "50"
} |
Q: Template Constraints C++ In C# we can define a generic type that imposes constraints on the types that can be used as the generic parameter. The following example illustrates the usage of generic constraints:
interface IFoo
{
}
class Foo<T> where T : IFoo
{
}
class Bar : IFoo
{
}
class Simpson
{
}
class Program... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122316",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "83"
} |
Q: Why doesn't VB.NET 9 have Automatic Properties like C# 3? Would having a nice little feature that makes it quicker to write code like Automatic Properties fit very nicely with the mantra of VB.NET?
Something like this would work perfect:
Public Property FirstName() As String
Get
Set
End Property
UPDATE: VB.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122324",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: How do I find the location of my Python site-packages directory? How do I find the location of my site-packages directory?
A: There are two types of site-packages directories, global and per user.
*
*Global site-packages ("dist-packages") directories are listed in sys.path when you run:
python -m site
For a mor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122327",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1332"
} |
Q: Scale image down, but not up in latex I have a command which includes an includegraphics command - I can pass an image to my command, and it will do some standard formatting for me before actually including the image. Some of the images that I'm including via this command are smaller than \textwidth, while some are... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122348",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: how do I create an array or list of ASP.NET checkboxlists I know how to use the checkboxlist in ASP.NET to display options retrieved from a database. What I don't know how to do is to make this 2-dimensional. That is, I need a list of checkboxlists where I don't know how long the list is; both dimensions of the ch... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122359",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to empty/flush Windows READ disk cache in C#? If I am trying to determine the read speed of a drive, I can code a routine to write files to a filesystem and then read those files back. Unfortunately, this doesn't give an accurate read speed because Windows does disk read caching.
Is there a way to flush the dis... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122362",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Simulate Control-Alt-Delete key sequence in Vista and XP Can I simulate in C#/C++ code Control+Alt+Delete sequence in Vista?
When UAC enabled/disabled?
How it is done in XP?
Can you provide a code sample that works in Vista?
A: Existing code to simulate the Secure Attention Sequence (SAS), which most people refer ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122367",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How would you implement MVC in a Windows Forms application? I don't develop too many desktop / Windows Forms applications, but it had occurred to me that there may be some benefit to using the MVC (Model View Controller) pattern for Windows Forms .NET development.
Has anyone implemented MVC in Windows Forms? If so, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122388",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "68"
} |
Q: Router to handle multiple public IP addresses I am presently running several websites and a mail server from my home network. I have a business DSL account with 8 public IP addresses (1 by itself, and 7 in a block). To handle routing/firewall/gateway, I am presently using RRAS, DNS, & DHCP from Windows 2003 runnin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122394",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: What are reserved filenames for various platforms? I'm not asking about general syntactic rules for file names. I mean gotchas that jump out of nowhere and bite you. For example, trying to name a file "COM<n>" on Windows?
A: Full description of legal and illegal filenames on Windows: http://msdn.microsoft.com/en-us... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122400",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: Is there an Application to Create Regular Expression Out of Text by Selecting Wanted Area? I hope this is programmer-related question. I'm in the hobby business of C# programming. For my own purposes I need to parse html files and the best idea is..regular expression. As many found out, it's quite time consuming to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122402",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How to copy and paste code without rich text formatting? I used to often find myself coping a piece of code from a website/Word document etc only to discover that when doing Paste I would end up with the desired code plus some extra HTML tags/text, basically extra formatting information.
To get rid of that extra bal... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122404",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "76"
} |
Q: What's the nearest substitute for a function pointer in Java? I have a method that's about ten lines of code. I want to create more methods that do exactly the same thing, except for a small calculation that's going to change one line of code. This is a perfect application for passing in a function pointer to repl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122407",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "307"
} |
Q: Change datatype when importing Excel file into Access Is there any way to change the default datatype when importing an Excel file into Access? (I'm using Access 2003, by the way).
I know that I sometimes have the freedom to assign any datatype to each column that is being imported, but that could only be when I'm i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122422",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Build sequencing when using distributed version control Right now, we are using Perforce for version control. It has the handy feature of a strictly increasing change number that we can use to refer to builds, eg "you'll get the bugfix if your build is at least 44902".
I'd like to switch over to using a distributed ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122424",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "30"
} |
Q: How does theming for ziya charts work? I'm implementing charts using The Ziya Charts Gem. Unfortunately, the documentation isn't really helpful or I haven't had enough coffee to figure out theming. I know I can set a theme using
chart.add(:theme, 'whatever')
Problem: I haven't found any predefined themes, nor have ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122445",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Specifying a VC++ Redistributable version for ClickOnce prerequisite My ClickOnce application uses a third party tool that requires the Visual C++ 2005 redistributable. The third party tool will not work if only the VC++ 2008 redistributable is installed. However, in Visual Studio 2008, the ClickOnce prerequisites d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122451",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: What is the meaning and impication of one-element-too-large array/queue? just wondering what it is.
Edit: I know it's not a type of array but just a feature. So what does it mean by one-element-too-large ?
A: Misunderstanding of language specific indexing conventions?
A: Intent to use a "end of data" marker?
A: M... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122453",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Handling file paths cross platform Do any C++ GNU standalone classes exist which handle paths cross platform? My applications build on Windows and LInux. Our configuration files refer to another file in a seperate directory. I'd like to be able to read the path for the other configuration file into a class which ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122455",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: How to retrieve namespaces in XML files using Xpath I have an XML file that starts like this:
<Elements name="Entities" xmlns="XS-GenerationToolElements">
I'll have to open a lot of these files. Each of these have a different namespace but will only have one namespace at a time (I'll never find two namespaces defin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122463",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "40"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.