PostId int64 4 11.8M | PostCreationDate stringlengths 19 19 | OwnerUserId int64 1 1.57M | OwnerCreationDate stringlengths 10 19 | ReputationAtPostCreation int64 -55 461k | OwnerUndeletedAnswerCountAtPostTime int64 0 21.5k | Title stringlengths 3 250 | BodyMarkdown stringlengths 5 30k ⌀ | Tag1 stringlengths 1 25 ⌀ | Tag2 stringlengths 1 25 ⌀ | Tag3 stringlengths 1 25 ⌀ | Tag4 stringlengths 1 25 ⌀ | Tag5 stringlengths 1 25 ⌀ | PostClosedDate stringlengths 19 19 ⌀ | OpenStatus stringclasses 5
values | unified_texts stringlengths 32 30.1k | OpenStatus_id int64 0 4 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
27,482 | 08/26/2008 06:24:16 | 2,450 | 08/22/2008 11:13:30 | 36 | 4 | Latex=>PDF Rightsmanagement | Im currently writing my bachelor thesis with latex and using TexnicCenter. I want to be able to send my generated pdf file to people and they should be able to write comments.
It seems like commenting is not allowed by default, how do I change this? | latex | pdf | rightsmanagement | texniccenter | comments | null | open | Latex=>PDF Rightsmanagement
===
Im currently writing my bachelor thesis with latex and using TexnicCenter. I want to be able to send my generated pdf file to people and they should be able to write comments.
It seems like commenting is not allowed by default, how do I change this? | 0 |
27,492 | 08/26/2008 06:50:32 | 2,450 | 08/22/2008 11:13:30 | 36 | 4 | C++ Memory management | I've learned in College that you always have to free your unused Objects but not how you actually do it. For example structuring your code right and so on.
Are there any general rules on how to handle pointers in C++?
| c++ | memory | management | pointers | null | null | open | C++ Memory management
===
I've learned in College that you always have to free your unused Objects but not how you actually do it. For example structuring your code right and so on.
Are there any general rules on how to handle pointers in C++?
| 0 |
27,499 | 08/26/2008 07:04:21 | 116 | 08/02/2008 05:51:57 | 3,887 | 205 | Database: What is Multiversion Concurrency Control (MVCC) and which databases support it? | Recently Jeff has [posted][1] regarding his trouble with database deadlocks related to reading. Multiversion Concurrency Control claims to solve this problem. What is it, and what databases support it?
[1]: http://www.codinghorror.com/blog/archives/001166 | database | deadlock | null | null | null | null | open | Database: What is Multiversion Concurrency Control (MVCC) and which databases support it?
===
Recently Jeff has [posted][1] regarding his trouble with database deadlocks related to reading. Multiversion Concurrency Control claims to solve this problem. What is it, and what databases support it?
[1]: http://ww... | 0 |
27,506 | 08/26/2008 07:17:43 | 1,695 | 08/18/2008 02:49:06 | 116 | 17 | What motivates you more - individual rewards or team rewards? | There is a school of thought which says that any sort of individual rewarding promotes competition among team members at the expense of the team losing sight of the overall team focus/goal.
Although it sounds right.. I am curious as to how traditional organizations that have this in their DNA so to speak can adapt t... | management | 8 | null | null | null | 03/01/2012 06:11:54 | not constructive | What motivates you more - individual rewards or team rewards?
===
There is a school of thought which says that any sort of individual rewarding promotes competition among team members at the expense of the team losing sight of the overall team focus/goal.
Although it sounds right.. I am curious as to how traditiona... | 4 |
27,509 | 08/26/2008 07:25:08 | 797 | 08/09/2008 02:14:04 | 323 | 16 | Detecting undefined variable in JavaScript | What's the best way of checking if a variable or object property in JavaScript is undefined? | javascript | null | null | null | null | null | open | Detecting undefined variable in JavaScript
===
What's the best way of checking if a variable or object property in JavaScript is undefined? | 0 |
27,532 | 08/26/2008 07:57:06 | 85 | 08/01/2008 16:38:08 | 66 | 0 | Generating gradients programatically? | Given 2 rgb colors and a rectangular area, I'd like to generate a basic linear gradient between the colors. I've done a quick search and the only thing I've been able to find is [this blog entry][1], but the example code seems to be missing, or at least it was as of this posting. Anything helps, algorithms, code exampl... | rgb | colors | gradient | null | null | null | open | Generating gradients programatically?
===
Given 2 rgb colors and a rectangular area, I'd like to generate a basic linear gradient between the colors. I've done a quick search and the only thing I've been able to find is [this blog entry][1], but the example code seems to be missing, or at least it was as of this post... | 0 |
27,535 | 08/26/2008 07:59:57 | 1,865 | 08/19/2008 00:17:22 | 36 | 10 | ASP.Net AJAX and PageRequestManagerParserErrorException | Has anyone run into this error message before when using a timer on an ASP.Net page to update a datagrid every x seconds? Searching google yielded this [blog entry][1]
[1]: http://weblogs.asp.net/leftslipper/archive/2007/02/26/sys-webforms-pagerequestmanagerparsererrorexception-what-it-is-and-how-to-avoid-it.as... | ajaxtoolkit | asp.net | null | null | null | null | open | ASP.Net AJAX and PageRequestManagerParserErrorException
===
Has anyone run into this error message before when using a timer on an ASP.Net page to update a datagrid every x seconds? Searching google yielded this [blog entry][1]
[1]: http://weblogs.asp.net/leftslipper/archive/2007/02/26/sys-webforms-pagerequest... | 0 |
27,559 | 08/26/2008 08:31:18 | 2,936 | 08/26/2008 08:25:14 | 1 | 0 | Do you have any recommended File templates for resharper for VB.Net | The ones that stick out and make life usefull.
| vb.net | resharper | template | null | null | null | open | Do you have any recommended File templates for resharper for VB.Net
===
The ones that stick out and make life usefull.
| 0 |
27,567 | 08/26/2008 08:40:28 | 1,662 | 08/17/2008 20:30:20 | 298 | 15 | Where can I learn more about PyPy's translation function? | I've been having a hard time trying to understand PyPy's translation. It looks like something absolutely revolutionary from simply reading the description, however I'm hard-pressed to find good documentation on actually translating a real world piece of code to something such as LLVM. Does such a thing exist? The of... | python | translation | pypy | null | null | null | open | Where can I learn more about PyPy's translation function?
===
I've been having a hard time trying to understand PyPy's translation. It looks like something absolutely revolutionary from simply reading the description, however I'm hard-pressed to find good documentation on actually translating a real world piece of co... | 0 |
27,568 | 08/26/2008 08:40:39 | 1,912 | 08/19/2008 14:07:17 | 400 | 24 | Assembler IDE/Simulator for beginner | I'd like to learn how to program in Assembler. I've done a bit of assembly before (during my A-Level Computing course) but that was very definitely a simplified 'pseudo-assembler'. I've borrowed my Dad's old Z80 Assembler reference manual, and that seems quite interesting so if possible I'd like to have a go with Z80 a... | assembler | simulator | null | null | null | null | open | Assembler IDE/Simulator for beginner
===
I'd like to learn how to program in Assembler. I've done a bit of assembly before (during my A-Level Computing course) but that was very definitely a simplified 'pseudo-assembler'. I've borrowed my Dad's old Z80 Assembler reference manual, and that seems quite interesting so if... | 0 |
27,570 | 08/26/2008 08:42:25 | 2,257 | 08/21/2008 11:26:12 | 549 | 51 | Find number of files in all subdirectories | Is there a way to find the number of files of a specific type without having to loop through all results inn a Directory.GetFiles() or similar method? I am looking for something like this:
int ComponentCount = MagicFindFileCount(@"c:\windows\system32", "*.dll");
I know that I can make a recursive function to ... | c# | recursion | file | null | null | null | open | Find number of files in all subdirectories
===
Is there a way to find the number of files of a specific type without having to loop through all results inn a Directory.GetFiles() or similar method? I am looking for something like this:
int ComponentCount = MagicFindFileCount(@"c:\windows\system32", "*.dll");
... | 0 |
27,572 | 08/26/2008 08:43:37 | 2,844 | 08/25/2008 14:00:09 | 51 | 2 | JavaServiceWrapper on 64bit linux, any problems? | We've been using the 32bit linux version of the [JavaServiceWrapper](http://wrapper.tanukisoftware.org/) for quite a while now and it's working perfectly. We are now considering also using it on 64bit linux systems. There are downloads for 64bit binaries on the website, but looking into Makefile for the 64bit version I... | java | daemon | null | null | null | null | open | JavaServiceWrapper on 64bit linux, any problems?
===
We've been using the 32bit linux version of the [JavaServiceWrapper](http://wrapper.tanukisoftware.org/) for quite a while now and it's working perfectly. We are now considering also using it on 64bit linux systems. There are downloads for 64bit binaries on the webs... | 0 |
27,578 | 08/26/2008 08:45:56 | 797 | 08/09/2008 02:14:04 | 340 | 17 | When to choose checked and unchecked exceptions | In Java (or any other language with checked exceptions), when creating your own exception class, how do you decide whether it should be checked or unchecked?
My instinct is to say that a checked exception would be called for in cases where the caller might be able to recover in some productive way, where as an unche... | java | exception | null | null | null | null | open | When to choose checked and unchecked exceptions
===
In Java (or any other language with checked exceptions), when creating your own exception class, how do you decide whether it should be checked or unchecked?
My instinct is to say that a checked exception would be called for in cases where the caller might be able... | 0 |
27,581 | 08/26/2008 08:50:26 | 797 | 08/09/2008 02:14:04 | 340 | 17 | Overriding equals and hashCode in Java | What issues / pitfalls do I need to consider when overriding equals and hashCode in a java class? | java | null | null | null | null | null | open | Overriding equals and hashCode in Java
===
What issues / pitfalls do I need to consider when overriding equals and hashCode in a java class? | 0 |
27,598 | 08/26/2008 09:03:21 | 2,937 | 08/26/2008 08:25:36 | 1 | 1 | How can I make "jconsole" to work on Websphere 6.1? | I've deployed some Managed Beans on WebSphere 6.1 and I've managed to invoke them through a standalone client, but when I try to use the application "jconsole" distributed with the standard JDK can can't make it works.
Has anyone achieved to connect the jconsole with WAS 6.1? | java | jmx | mbeans | websphere | null | null | open | How can I make "jconsole" to work on Websphere 6.1?
===
I've deployed some Managed Beans on WebSphere 6.1 and I've managed to invoke them through a standalone client, but when I try to use the application "jconsole" distributed with the standard JDK can can't make it works.
Has anyone achieved to connect the jconso... | 0 |
27,599 | 08/26/2008 09:04:19 | 2,951 | 08/26/2008 08:47:13 | 1 | 0 | 'Reliable' SMS Unicode Encoding in PHP | I'm not very experienced with internationalisation using PHP, it must be said, and a deal of searching didn't really provide the answers I was looking for.
I'm in need of working out a reliable way to convert only 'relevant' text to Unicode to send in an SMS message, using PHP (just temporarily, whilst a service is ... | php | unicode | internationalization | sms | gsm | null | open | 'Reliable' SMS Unicode Encoding in PHP
===
I'm not very experienced with internationalisation using PHP, it must be said, and a deal of searching didn't really provide the answers I was looking for.
I'm in need of working out a reliable way to convert only 'relevant' text to Unicode to send in an SMS message, using... | 0 |
27,607 | 08/26/2008 09:10:27 | 2,150 | 08/20/2008 15:43:55 | 109 | 11 | Is this code an abuse of STL's find_if? | Let's say I have a list of server names stored in a vector, and I would like to contact them one at a time until one has successfully responded. I was thinking about using STL's find_if algorithm in the following way:
find_if(serverNames.begin(), serverNames.end(), ContactServer());
Where ContactServer is a pre... | c++ | stl | null | null | null | null | open | Is this code an abuse of STL's find_if?
===
Let's say I have a list of server names stored in a vector, and I would like to contact them one at a time until one has successfully responded. I was thinking about using STL's find_if algorithm in the following way:
find_if(serverNames.begin(), serverNames.end(), Co... | 0 |
27,610 | 08/26/2008 09:12:56 | 2,260 | 08/21/2008 11:39:22 | 102 | 9 | What is the recomended tutorial on tracing in C#? | I want to introduce some tracing to a C# application I am writing. Sadly, I can never really remember how it works and would like a tutorial with reference qualities to check up on every now and then. It should include:
- App.config / Web.config stuff to add for registering TraceListeners
- how to set it up in ... | c# | trace | null | null | null | null | open | What is the recomended tutorial on tracing in C#?
===
I want to introduce some tracing to a C# application I am writing. Sadly, I can never really remember how it works and would like a tutorial with reference qualities to check up on every now and then. It should include:
- App.config / Web.config stuff to add f... | 0 |
27,621 | 08/26/2008 09:22:34 | 2,954 | 08/26/2008 08:53:06 | 1 | 1 | Unix shell file copy flattening folder structure | On the UNIX bash shell (specifically Mac OS X Leopard) what would be the simplest way to copy every file having a specific extension from a folder hierarchy (including subdirectories) to the same destination folder (without subfolders)?
Obviously there is the problem of having duplicates in the source hierarchy. I w... | shell | unix | macos | null | null | null | open | Unix shell file copy flattening folder structure
===
On the UNIX bash shell (specifically Mac OS X Leopard) what would be the simplest way to copy every file having a specific extension from a folder hierarchy (including subdirectories) to the same destination folder (without subfolders)?
Obviously there is the pro... | 0 |
27,622 | 08/26/2008 09:22:40 | 1,630 | 08/17/2008 17:03:19 | 475 | 40 | How to enable the TRACE macro in Release mode? | The **[TRACE macro][1]** can be used to output diagnostic messages to the debugger when the code is compiled in **Debug** mode. I need the same messages while in **Release** mode. Is there a way to achieve this?
(Please do **not** waste your time discussing why I should not be using TRACE in Release mode :-)
... | mfc | macros | trace | null | null | null | open | How to enable the TRACE macro in Release mode?
===
The **[TRACE macro][1]** can be used to output diagnostic messages to the debugger when the code is compiled in **Debug** mode. I need the same messages while in **Release** mode. Is there a way to achieve this?
(Please do **not** waste your time discussing why I s... | 0 |
27,640 | 08/26/2008 09:37:52 | 2,958 | 08/26/2008 08:58:45 | 1 | 0 | Integrating Qt into legacy MFC applications | We currently maintain a suit of MFC applications that are fairly well designed, however the user interface is beginning to look tired and a lot of the code is in need quite a bit of refactoring to tidy up some duplication and/or performance problems. We make use of quite a few custom controls that handle all their own... | c++ | mfc | qt | null | null | null | open | Integrating Qt into legacy MFC applications
===
We currently maintain a suit of MFC applications that are fairly well designed, however the user interface is beginning to look tired and a lot of the code is in need quite a bit of refactoring to tidy up some duplication and/or performance problems. We make use of quit... | 0 |
27,643 | 08/26/2008 09:39:34 | 2,966 | 08/26/2008 09:13:05 | 1 | 0 | Is there a library for rendering basic flow diagrams in Javascript? | On a web page I want to dynamically render very basic flow diagrams, i.e. a few boxes joined by lines. Ideally the user could then click on one of these boxes (DIVs?) and be taken to a different page. Resorting to Flash seems like an overkill and the quality of Javascript graphing libraries suggests such a feat could b... | javascript | null | null | null | null | null | open | Is there a library for rendering basic flow diagrams in Javascript?
===
On a web page I want to dynamically render very basic flow diagrams, i.e. a few boxes joined by lines. Ideally the user could then click on one of these boxes (DIVs?) and be taken to a different page. Resorting to Flash seems like an overkill and ... | 0 |
27,655 | 08/26/2008 09:50:51 | 2,025 | 08/19/2008 20:59:50 | 802 | 99 | Cannot delete, a file with that name may already exist. | This is starting to vex me. I recently decided to clear out my FTP, and stumbled across an old Wordpress install I forgot I had (oh yes, very security conscious me). Anyway, for some reason deleting the directory failed so I investigated to see what was causing the blockage and I've narrowed it down to a file in wp-con... | ftp | symlink | file | null | null | null | open | Cannot delete, a file with that name may already exist.
===
This is starting to vex me. I recently decided to clear out my FTP, and stumbled across an old Wordpress install I forgot I had (oh yes, very security conscious me). Anyway, for some reason deleting the directory failed so I investigated to see what was causi... | 0 |
27,663 | 08/26/2008 09:55:44 | 2,976 | 08/26/2008 09:42:25 | 1 | 0 | What kind of database refactoring tools are there? | I am looking for something to integrate to my CI workflow.
I've heard of dbdeploy (<http://dbdeploy.com/>) but I'm looking for something else. The reason I don't like dbdeploy is I don't want to install java on my server.
I would prefer of course that the solution doesn't involve stringing some shell scripts toge... | databaserefactoring | refactoring | null | null | null | null | open | What kind of database refactoring tools are there?
===
I am looking for something to integrate to my CI workflow.
I've heard of dbdeploy (<http://dbdeploy.com/>) but I'm looking for something else. The reason I don't like dbdeploy is I don't want to install java on my server.
I would prefer of course that the so... | 0 |
27,670 | 08/26/2008 10:01:56 | 1,178 | 08/13/2008 11:15:35 | 120 | 13 | Microsoft .Net framework 3.5 SP1 Setup Fails | On my Vista machine I cannot install the .Net framework 3.5 SP1. Setup ends few moments after ending the download of the required files, stating in the log that:
[08/26/08,09:46:11] Microsoft .NET Framework 2.0SP1 (CBS): [2] Error: Installation failed for component Microsoft .NET Framework 2.0SP1 (CBS). MSI ret... | .net | framework | setup | null | null | null | open | Microsoft .Net framework 3.5 SP1 Setup Fails
===
On my Vista machine I cannot install the .Net framework 3.5 SP1. Setup ends few moments after ending the download of the required files, stating in the log that:
[08/26/08,09:46:11] Microsoft .NET Framework 2.0SP1 (CBS): [2] Error: Installation failed for compon... | 0 |
27,674 | 08/26/2008 10:03:24 | 2,457 | 08/22/2008 11:36:41 | 1 | 0 | Dynamic top down list of controls in WindowsForms and C#? | In our project, [SharpWired][1], we're trying to create a download component similar to the download windows in Firefox or Safari. That is, one single top down list of downloads which are custom controls containing progress bars, buttons and what not.
The requirements are that there should be one single list, with o... | c# | windowsforms | gui | windows | usercontrols | null | open | Dynamic top down list of controls in WindowsForms and C#?
===
In our project, [SharpWired][1], we're trying to create a download component similar to the download windows in Firefox or Safari. That is, one single top down list of downloads which are custom controls containing progress bars, buttons and what not.
Th... | 0 |
27,695 | 08/26/2008 10:20:41 | 1,870 | 08/19/2008 00:42:51 | 643 | 23 | How to "unversion" a file in either svn and/or git | It happens to me all the time. I accidentally version a file, I do not want to be versioned (i.e. developer/machine specific config-files).
If I commit this file, I will mess up the paths on all the other developer machines - they will be unhappy.
If I do delete the file from versioning, it will be deleted from t... | svn | git | version-control | versioning | null | null | open | How to "unversion" a file in either svn and/or git
===
It happens to me all the time. I accidentally version a file, I do not want to be versioned (i.e. developer/machine specific config-files).
If I commit this file, I will mess up the paths on all the other developer machines - they will be unhappy.
If I do de... | 0 |
27,697 | 08/26/2008 10:22:40 | 2,987 | 08/26/2008 10:22:40 | 1 | 0 | Starting out with Exchange Server development | We've written several Outlook Add-ins for various projects and have now been asked to look at writing a Exchange server add-in. We will need to inspect all incoming / outgoing msgs and tag / file them into a document management system. If it's a message that we are interested in we would ideally like to change the de... | vb.net | exchange | null | null | null | 04/18/2012 14:26:11 | not constructive | Starting out with Exchange Server development
===
We've written several Outlook Add-ins for various projects and have now been asked to look at writing a Exchange server add-in. We will need to inspect all incoming / outgoing msgs and tag / file them into a document management system. If it's a message that we are i... | 4 |
27,700 | 08/26/2008 10:24:10 | 1,578 | 08/16/2008 20:25:25 | 31 | 4 | C++ : Opening a file in non exclusive mode | I have to develop an application which parse a log file and send specific data to a server. It has to run on Linux and windows.
The problem appears when I want to test the log rolling system (which rename the log file in .1 and create a new one with the same name). On windows (not yet try on Linux) I can't rename a... | c++ | windows | linux | filesystems | null | null | open | C++ : Opening a file in non exclusive mode
===
I have to develop an application which parse a log file and send specific data to a server. It has to run on Linux and windows.
The problem appears when I want to test the log rolling system (which rename the log file in .1 and create a new one with the same name). On... | 0 |
27,711 | 08/26/2008 10:31:46 | 2,841 | 08/25/2008 13:38:48 | 6 | 0 | Total row count in Gridview using LinqDataSource and paging | I'm having a problem obtaining the total row count for items displayed in a Gridview using Paging and with a LinqDataSource as the source of data.
I've tried several approaches:
`
protected void GridDataSource_Selected(object sender, LinqDataSourceStatusEventArgs e)
{
totalLabel.Text = e.TotalRowCount.... | c# | asp.net | linq | gridview | null | null | open | Total row count in Gridview using LinqDataSource and paging
===
I'm having a problem obtaining the total row count for items displayed in a Gridview using Paging and with a LinqDataSource as the source of data.
I've tried several approaches:
`
protected void GridDataSource_Selected(object sender, LinqDataSource... | 0 |
27,712 | 08/26/2008 10:31:53 | 214 | 08/03/2008 15:12:30 | 247 | 24 | What to charge for a simple website | A friend of a friend has asked me to build a very simple site (a few static pages and a forum which would be setting up and theming an existing forum technology) but I'm not sure what to charge. What do people think would be appropriate? | website | charges | null | null | null | 05/06/2012 23:06:41 | not constructive | What to charge for a simple website
===
A friend of a friend has asked me to build a very simple site (a few static pages and a forum which would be setting up and theming an existing forum technology) but I'm not sure what to charge. What do people think would be appropriate? | 4 |
27,726 | 08/26/2008 10:45:59 | 2,993 | 08/26/2008 10:45:59 | 1 | 0 | What are some instances in which expression trees are useful? | I completely understand the concept of expression trees but am having a hard time trying to find situations in which they are useful. Is there a specific instance in which expression trees can be applied? Or is it only useful as a transport mechanism for code? I feel like I am missing something here. Thanks! | c# | expression | null | null | null | null | open | What are some instances in which expression trees are useful?
===
I completely understand the concept of expression trees but am having a hard time trying to find situations in which they are useful. Is there a specific instance in which expression trees can be applied? Or is it only useful as a transport mechanism fo... | 0 |
27,729 | 08/26/2008 10:48:04 | 2,937 | 08/26/2008 08:25:36 | 11 | 2 | Flex tools for Mac | I'm starting developing with Flex on my Mac but i don't find good tools to ease the development.
¿Any good recommendation for Flex Tools on a Mac? | osx | flex | null | null | null | null | open | Flex tools for Mac
===
I'm starting developing with Flex on my Mac but i don't find good tools to ease the development.
¿Any good recommendation for Flex Tools on a Mac? | 0 |
27,731 | 08/26/2008 10:50:35 | 1,693 | 08/18/2008 02:25:37 | 812 | 34 | What's wrong with C#? | <a href="http://stackoverflow.com/questions/15528/whats-wrong-with-java">Asking the same of Java</a> yielded some very interesting responses, so I thought it would be only fair to ask the same thing of C#, probably Java's closest rival.
I actually like this sort of question because it's a lot less subjective than "w... | c# | language | null | null | null | null | open | What's wrong with C#?
===
<a href="http://stackoverflow.com/questions/15528/whats-wrong-with-java">Asking the same of Java</a> yielded some very interesting responses, so I thought it would be only fair to ask the same thing of C#, probably Java's closest rival.
I actually like this sort of question because it's a ... | 0 |
27,733 | 08/26/2008 10:51:34 | 2,131 | 08/20/2008 13:45:48 | 650 | 50 | So what am I missing with this here WPF? | Background: I have a little video playing app with a UI inspired by the venerable Sasami2k, just updated to use VMR9 (i.e. Direct3D9 with DirectShow) and be less unstable. Currently, it's a C++ app using raw Win32, through necessity: none of the various toolkits are worth a damn. WPF, in particular, was not possible,... | wpf | winapi | null | null | null | null | open | So what am I missing with this here WPF?
===
Background: I have a little video playing app with a UI inspired by the venerable Sasami2k, just updated to use VMR9 (i.e. Direct3D9 with DirectShow) and be less unstable. Currently, it's a C++ app using raw Win32, through necessity: none of the various toolkits are worth ... | 0 |
27,742 | 08/26/2008 10:56:37 | 2,973 | 08/26/2008 09:28:53 | 1 | 0 | Finding the crash dump files for a C# app | An app I'm writing always crashes on a clients computer, but I don't get an exception description, or a stack trace. The only thing I get is a crash report that windows wants to send to Microsoft. I would like to get that dump file and investigate it myself, but I cannot find it.
When I "View the contents of the err... | c# | crash | memory-dump | null | null | null | open | Finding the crash dump files for a C# app
===
An app I'm writing always crashes on a clients computer, but I don't get an exception description, or a stack trace. The only thing I get is a crash report that windows wants to send to Microsoft. I would like to get that dump file and investigate it myself, but I cannot f... | 0 |
27,743 | 08/26/2008 10:59:50 | 2,994 | 08/26/2008 10:47:23 | 1 | 0 | How do I gracefully shut down a Mongrel web server | My RubyOnRails app is set up with the usual pack of mongrels behind Apache configuration. We've noticed that our Mongrel web server memory usage can grow quite large on certain operations and we'd really like to be able to dynamically do a graceful restart of selected Mongrel processes at any time.
However, for reas... | ruby | ruby-on-rails | mongrel | null | null | null | open | How do I gracefully shut down a Mongrel web server
===
My RubyOnRails app is set up with the usual pack of mongrels behind Apache configuration. We've noticed that our Mongrel web server memory usage can grow quite large on certain operations and we'd really like to be able to dynamically do a graceful restart of sele... | 0 |
27,745 | 08/26/2008 11:01:37 | 2,644 | 08/23/2008 21:56:47 | 194 | 16 | Getting parts of a URL (Regex) | Given the URL (single line):
http://test.example.com/dir/subdir/file.html
How can I extract the following parts using regular expressions:
- The Subdomain (test)
- The Domain (example.com)
- The path without the file (/dir/subdir/)
- The file (file.html)
- The path with the file (/dir/subdir/file... | url | regex | regular-expression | null | null | null | open | Getting parts of a URL (Regex)
===
Given the URL (single line):
http://test.example.com/dir/subdir/file.html
How can I extract the following parts using regular expressions:
- The Subdomain (test)
- The Domain (example.com)
- The path without the file (/dir/subdir/)
- The file (file.html)
- The ... | 0 |
27,774 | 08/26/2008 11:21:52 | 2,492 | 08/22/2008 14:03:41 | 1 | 0 | Using VLOOKUP in an array formula on Google Spreadsheets | Effectively I want to give numeric scores to alphabetic grades and sum them. In Excel, putting the `LOOKUP` function into an array formula works:
{=SUM(LOOKUP(grades, scoringarray))}
With the `VLOOKUP` function this does not work (only gets the score for the first grade). Google Spreadsheets does not appear t... | google | spreadsheet | excel | formula | null | null | open | Using VLOOKUP in an array formula on Google Spreadsheets
===
Effectively I want to give numeric scores to alphabetic grades and sum them. In Excel, putting the `LOOKUP` function into an array formula works:
{=SUM(LOOKUP(grades, scoringarray))}
With the `VLOOKUP` function this does not work (only gets the sco... | 0 |
27,779 | 08/26/2008 11:28:43 | 1,075 | 08/12/2008 10:13:30 | 815 | 59 | MFC resources / links | I am about to reenter the MFC world after years away for a new job. What resources to people recommend for refreshing the memory? I have been doing mainly C# recently.
Also any MFC centric websites or blogs that people recommend?
| c++ | c | mfc | null | null | null | open | MFC resources / links
===
I am about to reenter the MFC world after years away for a new job. What resources to people recommend for refreshing the memory? I have been doing mainly C# recently.
Also any MFC centric websites or blogs that people recommend?
| 0 |
27,784 | 08/26/2008 11:32:57 | 2,313 | 08/21/2008 15:27:23 | 13 | 2 | Web server statics repository -or- ZFS vs. NTFS | My goal is to maintain web file server separately from main ASP.NET application server for better scalability. Web file server will store a lot of files downloaded by users.
So the question is: Is it worth to adopt FreeBSD + Apache + ZFS, or good old IIS will be сonvinient enough? | windows | bsd | null | null | null | null | open | Web server statics repository -or- ZFS vs. NTFS
===
My goal is to maintain web file server separately from main ASP.NET application server for better scalability. Web file server will store a lot of files downloaded by users.
So the question is: Is it worth to adopt FreeBSD + Apache + ZFS, or good old IIS will be сo... | 0 |
27,793 | 08/26/2008 11:39:18 | 3,006 | 08/26/2008 11:39:18 | 1 | 0 | which are well written open source softwares(for learning)? | We learn programming by writing programs and learning from other programs.
Which open source code repositories/programs you suggest for learning/improving programming? | hacking | null | null | null | null | 11/22/2011 16:40:34 | not constructive | which are well written open source softwares(for learning)?
===
We learn programming by writing programs and learning from other programs.
Which open source code repositories/programs you suggest for learning/improving programming? | 4 |
27,818 | 08/26/2008 11:54:35 | 287 | 08/04/2008 12:43:38 | 237 | 18 | How can I manage OSGi build dependencies? | We've embedded an OSGi runtime (Equinox) into out custom client-server application to facilitate plugin development and so far things are going great. We've been using Eclipse to build plugins due to the built-in manifest editor, dependency management, and export wizard. Using Eclipse to manager builds isn't very condu... | osgi | dependencies | null | null | null | null | open | How can I manage OSGi build dependencies?
===
We've embedded an OSGi runtime (Equinox) into out custom client-server application to facilitate plugin development and so far things are going great. We've been using Eclipse to build plugins due to the built-in manifest editor, dependency management, and export wizard. U... | 0 |
27,827 | 08/26/2008 12:00:00 | 572 | 08/06/2008 20:56:54 | 1,511 | 142 | What are good books about security and white-hat hacking? | I'm looking at [Writing Secure Code, Second Edition][1], but I was wondering what other good books were out there on this subject. A quick search turns up plenty, but I'm not sure where to begin.
For the record, I am a software engineering undergraduate student, so I would like books that aren't all that complex, bu... | security | hacking | white-hat | null | null | 12/06/2011 02:47:33 | not constructive | What are good books about security and white-hat hacking?
===
I'm looking at [Writing Secure Code, Second Edition][1], but I was wondering what other good books were out there on this subject. A quick search turns up plenty, but I'm not sure where to begin.
For the record, I am a software engineering undergraduate ... | 4 |
27,832 | 08/26/2008 12:02:08 | 3,011 | 08/26/2008 11:50:32 | 1 | 0 | How can I reverse engineer a DirectShow graph? | I have a DirectShow graph to render MPEG2/4 movies from a network stream. When I assemble the graph by connecting the pins manually it doesn't render. But when I call Render on the GraphBuilder it renders fine.
Obviously there is some setup step that I'm not performing on some filter in the graph that GraphBuilder ... | video | directx | directshow | mpeg | null | null | open | How can I reverse engineer a DirectShow graph?
===
I have a DirectShow graph to render MPEG2/4 movies from a network stream. When I assemble the graph by connecting the pins manually it doesn't render. But when I call Render on the GraphBuilder it renders fine.
Obviously there is some setup step that I'm not perfo... | 0 |
27,835 | 08/26/2008 12:03:44 | 2,077 | 08/20/2008 07:26:21 | 103 | 3 | Does MS-SQL know in-memory tables? | I've grown up as a programmer using MySQL all the way. Recently, I started changing some of our applications to support MS SQL Server as an alternative backend. One of the compatibility issues I ran into is the use of MySQL's CREATE TEMPORARY TABLE to create in-memory tables that hold data for very fast access during a... | rdbms | portability | mysql | mssql | null | null | open | Does MS-SQL know in-memory tables?
===
I've grown up as a programmer using MySQL all the way. Recently, I started changing some of our applications to support MS SQL Server as an alternative backend. One of the compatibility issues I ran into is the use of MySQL's CREATE TEMPORARY TABLE to create in-memory tables that... | 0 |
27,836 | 08/26/2008 12:04:15 | 1,185 | 08/13/2008 12:02:03 | 841 | 61 | Is there a Box Plot graph avalible for Reporting Services 2005? | Is there a [Box Plot][1] graph, or box and whisker graph available for Reporting Services 2005? From the looks of the documentation there doesn't seem to be one out of the box; so I am wondering if there is a third party that has the graph, or a way to build my own?
[1]: http://en.wikipedia.org/wiki/Box_plot | sql | reporting-services | graph | null | null | null | open | Is there a Box Plot graph avalible for Reporting Services 2005?
===
Is there a [Box Plot][1] graph, or box and whisker graph available for Reporting Services 2005? From the looks of the documentation there doesn't seem to be one out of the box; so I am wondering if there is a third party that has the graph, or a way t... | 0 |
27,846 | 08/26/2008 12:10:00 | 3,014 | 08/26/2008 11:58:43 | 1 | 0 | How do you change the default homepage in a Grails application? | What is the configuration setting for modifying the default homepage in a Grails application to no longer be appName/index.gsp? Of course you can set that page to be a redirect but there must be a better way. | grails | null | null | null | null | null | open | How do you change the default homepage in a Grails application?
===
What is the configuration setting for modifying the default homepage in a Grails application to no longer be appName/index.gsp? Of course you can set that page to be a redirect but there must be a better way. | 0 |
27,850 | 08/26/2008 12:11:05 | 2,077 | 08/20/2008 07:26:21 | 118 | 3 | What are models for storing tree structures and what are their charcteristics? | So far I have encountered adjacency list, nested sets and nested intervals as models for storing tree structures in a database. I know these well enough and have migrated trees from one to another.
What are other popular models? What are their characteristics? What are good resources (books, web, etc) on this topic?... | data-structures | modeling | null | null | null | null | open | What are models for storing tree structures and what are their charcteristics?
===
So far I have encountered adjacency list, nested sets and nested intervals as models for storing tree structures in a database. I know these well enough and have migrated trees from one to another.
What are other popular models? What... | 0 |
27,853 | 08/26/2008 12:12:23 | 3,018 | 08/26/2008 12:12:23 | 1 | 0 | ModalPopupExtender and SharePoint | Whenever I show a ModalPopupExtender on my Sharepoint site, the popup shown creates both horizontal and vertical scrollbars. If you scroll all the way to the end of the page, the scrollbar refreshes, and there is more page to scroll through. Basically, I think the popup is setting its bounds beyond the end of the pag... | modalpopupextender | sharepoint | null | null | null | null | open | ModalPopupExtender and SharePoint
===
Whenever I show a ModalPopupExtender on my Sharepoint site, the popup shown creates both horizontal and vertical scrollbars. If you scroll all the way to the end of the page, the scrollbar refreshes, and there is more page to scroll through. Basically, I think the popup is setti... | 0 |
27,889 | 08/26/2008 12:26:10 | 2,993 | 08/26/2008 10:45:59 | 13 | 0 | How to get SpecUnit to run within a TeamCity CI build | I am trying to get SpecUnit to run in a continuous integration build using Nant. At the moment the files are in the correct place but no output is generated from SpecUnit.Report.exe. Here is the relevant task from the nant build script:
<echo message="**** Starting SpecUnit report generation ****" />
<copy fil... | c# | nant | teamcity | null | null | null | open | How to get SpecUnit to run within a TeamCity CI build
===
I am trying to get SpecUnit to run in a continuous integration build using Nant. At the moment the files are in the correct place but no output is generated from SpecUnit.Report.exe. Here is the relevant task from the nant build script:
<echo message="**... | 0 |
27,894 | 08/26/2008 12:27:30 | 1,219 | 08/13/2008 13:44:47 | 1,114 | 84 | What's the difference between a temp table and table variable in MSSQL? | In Sql Server 2005, we can create temp tables on of two ways:
declare @tmp table (Col1 int, Col2 int);
or
create table #tmp (Col1 int, Col2 int);
What are the differences between the two? I have read conflicting opinions on whether @tmp still uses tempdb, or if everything happens in memory.
In... | mssql | null | null | null | null | null | open | What's the difference between a temp table and table variable in MSSQL?
===
In Sql Server 2005, we can create temp tables on of two ways:
declare @tmp table (Col1 int, Col2 int);
or
create table #tmp (Col1 int, Col2 int);
What are the differences between the two? I have read conflicting opinions o... | 0 |
27,899 | 08/26/2008 12:30:19 | 2,961 | 08/26/2008 09:02:24 | 1 | 2 | Is there a way to have index.html functionallity with content hosted on S3? | Is there a way to make S3 default to an index.html page? E.g.: My bucket object listing:
/index.html
/index.htm
/favicon.ico
/images/logo.gif
A call to **www.mysite.com/*index.html*** works great! But if one were to call **www.mysite.com/** we'd either get a 403 or a REST object listing XML d... | amazon | amazon-s3 | amazon-web-services | null | null | null | open | Is there a way to have index.html functionallity with content hosted on S3?
===
Is there a way to make S3 default to an index.html page? E.g.: My bucket object listing:
/index.html
/index.htm
/favicon.ico
/images/logo.gif
A call to **www.mysite.com/*index.html*** works great! But if one were... | 0 |
27,910 | 08/26/2008 12:37:33 | 2,963 | 08/26/2008 09:03:50 | 21 | 2 | Finding a DOI in a document or page | The [DOI][1] system places basically no useful limitations on what constitutes [a reasonable identifier][2]. However, being able to pull DOIs out of PDFs, web pages, etc. is quite useful for citation information, etc.
Is there a reliable way to identify a DOI in a block of text without assuming the 'doi:' prefix? (a... | regex | doi | null | null | null | null | open | Finding a DOI in a document or page
===
The [DOI][1] system places basically no useful limitations on what constitutes [a reasonable identifier][2]. However, being able to pull DOIs out of PDFs, web pages, etc. is quite useful for citation information, etc.
Is there a reliable way to identify a DOI in a block of te... | 0 |
27,916 | 08/26/2008 12:42:12 | 2,342 | 08/21/2008 18:03:04 | 1 | 1 | SQL Server - testing the database | What tools are people using for testing SQL Server databases? TSQLUnit? | sql-server | unit-testing | null | null | null | null | open | SQL Server - testing the database
===
What tools are people using for testing SQL Server databases? TSQLUnit? | 0 |
27,921 | 08/26/2008 12:47:35 | 308 | 08/04/2008 14:34:46 | 703 | 29 | What is the "best" way to create a thumbnail using ASP.NET? | Story: The user uploads an image that will be added to a photo gallery. As part of the upload process, we need to A) store the image on the web server's hard drive and B) store a thumbnail of the image on the web server's hard drive.
"Best" here is defined as
* Relatively easy to implement, understand, and mai... | asp.net | image | thumbnail | null | null | null | open | What is the "best" way to create a thumbnail using ASP.NET?
===
Story: The user uploads an image that will be added to a photo gallery. As part of the upload process, we need to A) store the image on the web server's hard drive and B) store a thumbnail of the image on the web server's hard drive.
"Best" here is d... | 0 |
27,928 | 08/26/2008 12:50:45 | 1,456 | 08/15/2008 17:03:51 | 3 | 0 | How do I calculate distance between two latitude longitude points? | Here's an easy one for you:
How do I calculate the distance between two points points specified by latitude and longitude? | math | map | mapping | latitude | longitude | null | open | How do I calculate distance between two latitude longitude points?
===
Here's an easy one for you:
How do I calculate the distance between two points points specified by latitude and longitude? | 0 |
27,942 | 08/26/2008 12:54:57 | 572 | 08/06/2008 20:56:54 | 1,531 | 145 | Is it worth it to learn a dialect of assembly? | My goals are focused on software application development, and maybe web application development, but most likely desktop applications. I'm embarking on a path to becoming more familiar with C/C++, but should I go much lower than that, into assembly? Or would I not have a benefit for my long-term goals? | education | null | null | null | null | null | open | Is it worth it to learn a dialect of assembly?
===
My goals are focused on software application development, and maybe web application development, but most likely desktop applications. I'm embarking on a path to becoming more familiar with C/C++, but should I go much lower than that, into assembly? Or would I not hav... | 0 |
27,948 | 08/26/2008 12:57:42 | 370,899 | 08/22/2008 12:32:04 | 28 | 5 | Which resolution to target for a Mobile App? | When desinging UI for mobile apps in general which resolution could be considered safe as a general rule of thumb. My interest lies specifically in web based apps. The iPhone has a pretty high resolution for a hand held, and the Nokia E Series seem to oriented differently. Is 240×320 still considered safe? | mobile | null | null | null | null | null | open | Which resolution to target for a Mobile App?
===
When desinging UI for mobile apps in general which resolution could be considered safe as a general rule of thumb. My interest lies specifically in web based apps. The iPhone has a pretty high resolution for a hand held, and the Nokia E Series seem to oriented different... | 0 |
27,952 | 08/26/2008 12:58:31 | 2,822 | 08/25/2008 11:42:23 | 79 | 6 | How do I change the locations of source files in a symbols file (pdb) | Basically what I want to do it this: a pdb file contains a location of source files (e.g. <code>C:\dev\proj1\helloworld.cs</code>). Is it possible to modify that pdb file so that it contains a different location (e.g. <code>\\more\differenter\location\proj1\helloworld.cs</code>)? | debugging | pdb | symbols | null | null | null | open | How do I change the locations of source files in a symbols file (pdb)
===
Basically what I want to do it this: a pdb file contains a location of source files (e.g. <code>C:\dev\proj1\helloworld.cs</code>). Is it possible to modify that pdb file so that it contains a different location (e.g. <code>\\more\differenter\lo... | 0 |
27,972 | 08/26/2008 13:06:14 | 26 | 08/01/2008 12:18:14 | 1,895 | 113 | Are Http-Only cookies a viable option for an AJAX website? | Does JavaScript need access to cookies if AJAX is used? | ajax | cookies | null | null | null | null | open | Are Http-Only cookies a viable option for an AJAX website?
===
Does JavaScript need access to cookies if AJAX is used? | 0 |
27,983 | 08/26/2008 13:09:15 | 1,477 | 08/15/2008 19:28:36 | 96 | 5 | SQL Group By with an Order By | I have a table of tags and want to get the highest count tags from the list.
Sample data looks like this
id (1) tag ('night')
id (2) tag ('awesome')
id (3) tag ('night')
using
SELECT COUNT(*), `Tag` from `images-tags`
GROUP BY `Tag`
gets me back the data I'm looking for perfectly. ... | sql | mysql | null | null | null | null | open | SQL Group By with an Order By
===
I have a table of tags and want to get the highest count tags from the list.
Sample data looks like this
id (1) tag ('night')
id (2) tag ('awesome')
id (3) tag ('night')
using
SELECT COUNT(*), `Tag` from `images-tags`
GROUP BY `Tag`
gets me back t... | 0 |
27,998 | 08/26/2008 13:18:30 | 194 | 08/03/2008 10:56:49 | 1,923 | 113 | Exporting a C++ DLL | Most of my C/C++ development involves monolithic module files and absolutely no classes whatsoever, so usually when I need to make a DLL with accessible functions I just export them using the standard __declspec(dllexport) directive. Then access them either dynamically via LoadLibrary() or at compile time with a heade... | c++ | dll | windows | null | null | null | open | Exporting a C++ DLL
===
Most of my C/C++ development involves monolithic module files and absolutely no classes whatsoever, so usually when I need to make a DLL with accessible functions I just export them using the standard __declspec(dllexport) directive. Then access them either dynamically via LoadLibrary() or at ... | 0 |
28,002 | 08/26/2008 13:20:55 | 1,821 | 08/18/2008 18:11:48 | 176 | 18 | Regular cast vs. static_cast vs. dynamic_cast | I've been writing C and C++ code for almost twenty years, but there's one aspect of these languages that I've never really understood. I've obviously used regular casts (i.e.
MyClass *m = (MyClass *)ptr;
all over the place, but there seem to be two other types of casts, and I don't know the difference. What's... | c++ | c | pointers | casting | null | null | open | Regular cast vs. static_cast vs. dynamic_cast
===
I've been writing C and C++ code for almost twenty years, but there's one aspect of these languages that I've never really understood. I've obviously used regular casts (i.e.
MyClass *m = (MyClass *)ptr;
all over the place, but there seem to be two other type... | 0 |
28,003 | 08/26/2008 13:20:57 | 1,638 | 08/17/2008 17:58:57 | 199 | 21 | MSSQL: use table metadata for select stament? | I have a large database and would like to select table names that have a certain column name. I have done something like this in MySQL, but can't find any info on MSSQL.
I want to do something like:
<pre><code>
select [table] from [db] where table [has column 'classtypeid']
</code></pre>
how can I do somethi... | mssql | query | null | null | null | null | open | MSSQL: use table metadata for select stament?
===
I have a large database and would like to select table names that have a certain column name. I have done something like this in MySQL, but can't find any info on MSSQL.
I want to do something like:
<pre><code>
select [table] from [db] where table [has column 'c... | 0 |
28,009 | 08/26/2008 13:23:37 | 290 | 08/04/2008 12:57:50 | 536 | 54 | When do you use table clusters? | How do you determine when to use [table clusters][1]? There are two types, index and hash, to use for different cases. In your experience, have the introduction and use of table clusters paid off?
If none of your tables are set up this way, modifying them to use table clusters would add to the complexity of the set ... | database | performance | oracle | null | null | null | open | When do you use table clusters?
===
How do you determine when to use [table clusters][1]? There are two types, index and hash, to use for different cases. In your experience, have the introduction and use of table clusters paid off?
If none of your tables are set up this way, modifying them to use table clusters wo... | 0 |
28,011 | 08/26/2008 13:23:50 | 3,041 | 08/26/2008 13:18:26 | 1 | 0 | Ruby / Rails pre-epoch dates on windows | Working with dates in ruby and rails on windows, having problems with pre-epoch dates (before 1970) throwing out of range exceptions. Tried using both Time and DateTime objects but continuing to have the same problems. | ruby | ruby-on-rails | date | exceptions | null | null | open | Ruby / Rails pre-epoch dates on windows
===
Working with dates in ruby and rails on windows, having problems with pre-epoch dates (before 1970) throwing out of range exceptions. Tried using both Time and DateTime objects but continuing to have the same problems. | 0 |
28,029 | 08/26/2008 13:30:27 | 2,993 | 08/26/2008 10:45:59 | 13 | 2 | How to get rid of VSMacros80 folder from project root? | How can I have it so Visual Studio doesn't keep re-creating this folder that I never use. It's annoying ot keep looking and unnecessary. | visual-studio | null | null | null | null | null | open | How to get rid of VSMacros80 folder from project root?
===
How can I have it so Visual Studio doesn't keep re-creating this folder that I never use. It's annoying ot keep looking and unnecessary. | 0 |
28,033 | 08/26/2008 13:31:55 | 1,025 | 08/11/2008 14:56:52 | 193 | 22 | MSSQL to MySQL | I have a backup of an MSSQL DB in .bak format which I've successfully managed to restore to a local instance of SQL Server Express. I now want to export both the structure and data in a format that MySQL will accept. The tools that I use for MySQL management typically allow me to import/export .sql files, but unfortuna... | database | mysql | mssql | null | null | null | open | MSSQL to MySQL
===
I have a backup of an MSSQL DB in .bak format which I've successfully managed to restore to a local instance of SQL Server Express. I now want to export both the structure and data in a format that MySQL will accept. The tools that I use for MySQL management typically allow me to import/export .sql ... | 0 |
28,042 | 08/26/2008 13:34:19 | 3,030 | 08/26/2008 12:41:34 | 1 | 0 | Never Committed | So I've been programming for 5 years+ and I've never committed any code to an open source project. I used and looked under the hood of many (mostly in the Java community). I want to get involved in something but I can't really decide which direction to go.
For those of you who have committed to open source, what h... | opensource | null | null | null | null | 06/13/2012 17:09:23 | not constructive | Never Committed
===
So I've been programming for 5 years+ and I've never committed any code to an open source project. I used and looked under the hood of many (mostly in the Java community). I want to get involved in something but I can't really decide which direction to go.
For those of you who have committed t... | 4 |
28,051 | 08/26/2008 13:38:04 | 2,868 | 08/25/2008 16:43:06 | 11 | 2 | Best way to share ASP.NET .ascx controls across different website applications? | Suppose you have 2 different ASP.NET applications in IIS. Also, you have some ASCX controls that you want to share across these 2 applications.
What's the best way to create a "user control library", so that you can use the same control implementation in the 2 applications, withuot having to duplicate code?
Contr... | asp.net | null | null | null | null | null | open | Best way to share ASP.NET .ascx controls across different website applications?
===
Suppose you have 2 different ASP.NET applications in IIS. Also, you have some ASCX controls that you want to share across these 2 applications.
What's the best way to create a "user control library", so that you can use the same con... | 0 |
28,072 | 08/26/2008 13:46:53 | 572 | 08/06/2008 20:56:54 | 1,563 | 145 | What languages have the best/worst documentation and support communities? | This is more to satisfy my curiousity than anything else, but what languages have the best (or worst) documentation and support communities (including IRC, mailing lists, USENET groups, websites, forums, etc)? | programming-languages | documentation | support | communities | null | null | open | What languages have the best/worst documentation and support communities?
===
This is more to satisfy my curiousity than anything else, but what languages have the best (or worst) documentation and support communities (including IRC, mailing lists, USENET groups, websites, forums, etc)? | 0 |
28,080 | 08/26/2008 13:49:47 | 2,638 | 08/23/2008 20:10:14 | 239 | 12 | How bad is dynamic casting? | We often hear/read that one should avoid dynamic casting. I was wondering what would be 'good use' examples of it, according to you? | c++ | casting | rtti | dynamic-cast | null | null | open | How bad is dynamic casting?
===
We often hear/read that one should avoid dynamic casting. I was wondering what would be 'good use' examples of it, according to you? | 0 |
28,092 | 08/26/2008 13:54:45 | 3,047 | 08/26/2008 13:36:37 | 1 | 0 | WPF Listbox style with a button | I have a ListBox that has a style defined for ListBoxItems. Inside this style, I have some labels and a button. One that button, I want to define a click event that can be handled on my page (or any page that uses that style). How do I create an event handler on my WPF page to handle the event from my ListBoxItems s... | c# | wpf | null | null | null | null | open | WPF Listbox style with a button
===
I have a ListBox that has a style defined for ListBoxItems. Inside this style, I have some labels and a button. One that button, I want to define a click event that can be handled on my page (or any page that uses that style). How do I create an event handler on my WPF page to ha... | 0 |
28,098 | 08/26/2008 13:56:49 | 2,680 | 08/24/2008 14:33:15 | 73 | 2 | PHP ToString() equivalent | How do I convert the value of a PHP variable to string? I was looking for something better than concatenating with an empty string works:
$myText = $myVar . '';
like the ToString() method in Java or .NET. | php | string | null | null | null | null | open | PHP ToString() equivalent
===
How do I convert the value of a PHP variable to string? I was looking for something better than concatenating with an empty string works:
$myText = $myVar . '';
like the ToString() method in Java or .NET. | 0 |
28,110 | 08/26/2008 14:01:43 | 357 | 08/05/2008 01:29:23 | 970 | 56 | MS SQL DateTime conversion failure | I have a large table with 1 million+ records. Unfortunately, the person who created the table decided to put dates in a varchar(50) field.
I need to do a simple date comparison -
datediff(dd, convert(datetime, lastUpdate), getDate()) < 31
But it fails on the convert():
Conversion failed when convert... | sql | datetime | null | null | null | null | open | MS SQL DateTime conversion failure
===
I have a large table with 1 million+ records. Unfortunately, the person who created the table decided to put dates in a varchar(50) field.
I need to do a simple date comparison -
datediff(dd, convert(datetime, lastUpdate), getDate()) < 31
But it fails on the convert(... | 0 |
28,124 | 08/26/2008 14:07:18 | 3,056 | 08/26/2008 13:54:57 | 1 | 0 | calculating user defined formulas (with c++) | We would like to have user defined formulas in our c++ program.
e.g. The value *v = x + ( y - (z - 2)) / 2*. Later in the program the user would define x,y and z -> the program should return the result of the calculation. <br />Somewhen later the formula may get changed, so the next time the program should parse the f... | c++ | null | null | null | null | null | open | calculating user defined formulas (with c++)
===
We would like to have user defined formulas in our c++ program.
e.g. The value *v = x + ( y - (z - 2)) / 2*. Later in the program the user would define x,y and z -> the program should return the result of the calculation. <br />Somewhen later the formula may get change... | 0 |
28,147 | 08/26/2008 14:14:10 | 2,501 | 08/22/2008 15:02:11 | 1 | 0 | Feasability of GPU as a CPU? | What do you think the future of GPU as a CPU initiatives like CUDA are? Do you think they are going to become mainstream and be the next adopted fad in the industry? Apple is building a new framework for using the GPU to do CPU tasks and there has been alot of success in the Nvidias CUDA project in the sciences. Would ... | cuda | gpuascpu | null | null | null | null | open | Feasability of GPU as a CPU?
===
What do you think the future of GPU as a CPU initiatives like CUDA are? Do you think they are going to become mainstream and be the next adopted fad in the industry? Apple is building a new framework for using the GPU to do CPU tasks and there has been alot of success in the Nvidias CU... | 0 |
28,150 | 08/26/2008 14:15:08 | 832 | 08/09/2008 06:51:40 | 1,806 | 143 | Create an Attribute to Break the Build | OK, this kind of follows on from [my previous question](http://stackoverflow.com/questions/27758/notify-developer-of-a-do-not-use-method).
What I would really like to do is create some sort of attribute which allows me to decorate a method that will **break the build**. Much like the _Obsolete("reason", false)_ attr... | .net | attributes | null | null | null | null | open | Create an Attribute to Break the Build
===
OK, this kind of follows on from [my previous question](http://stackoverflow.com/questions/27758/notify-developer-of-a-do-not-use-method).
What I would really like to do is create some sort of attribute which allows me to decorate a method that will **break the build**. Mu... | 0 |
28,160 | 08/26/2008 14:19:34 | 1,881 | 08/19/2008 03:16:05 | 36 | 4 | Multiple classes in a header file vs. a single header file per class | For whatever reason, our company has a coding guideline that states:
`Each class shall have it's own header and implementation file.`
So if we wrote a class called MyString we would need an associated MyStringh.h & MyString.cxx.
Does anyone else do this? Has anyone seen any compiling performance repercussions... | c++ | performance | file-organization | null | null | null | open | Multiple classes in a header file vs. a single header file per class
===
For whatever reason, our company has a coding guideline that states:
`Each class shall have it's own header and implementation file.`
So if we wrote a class called MyString we would need an associated MyStringh.h & MyString.cxx.
Does any... | 0 |
28,165 | 08/26/2008 14:20:48 | 305 | 08/04/2008 14:04:19 | 870 | 55 | Does PHP have an equivalent to this type of Python string substitution? | Python has this wonderful way of handling string substitutions using dictionaries
>>> 'The %(site)s site %(adj)s because it %(adj)s' % {'site':'Stackoverflow', 'adj':'rocks'}
'The Stackoverflow site rocks because it rocks'
I love this because you can specify a value once in the dictionary and then replac... | php | python | string | null | null | null | open | Does PHP have an equivalent to this type of Python string substitution?
===
Python has this wonderful way of handling string substitutions using dictionaries
>>> 'The %(site)s site %(adj)s because it %(adj)s' % {'site':'Stackoverflow', 'adj':'rocks'}
'The Stackoverflow site rocks because it rocks'
I lov... | 0 |
28,171 | 08/26/2008 14:22:42 | 1,463 | 08/15/2008 17:26:44 | 222 | 16 | Why does Visual Studio create a new .vsmdi file? | If I open a solution in Visual Studio 2008 and run a unit test then VS creates a new .vsmdi file in the Solution Items folder and gives it the next number available e.g. My Solution2.vsmdi.
Any idea why VS is doing this and how I can get it to stop doing this? | visual-studio-2008 | null | null | null | null | null | open | Why does Visual Studio create a new .vsmdi file?
===
If I open a solution in Visual Studio 2008 and run a unit test then VS creates a new .vsmdi file in the Solution Items folder and gives it the next number available e.g. My Solution2.vsmdi.
Any idea why VS is doing this and how I can get it to stop doing this? | 0 |
28,178 | 08/26/2008 14:24:56 | 1,912 | 08/19/2008 14:07:17 | 400 | 25 | 8086 Assembler Tutorial | Following on from [http://stackoverflow.com/questions/27568/][1], I have decided to try and focus on x86 assembler rather than Z80 assembler. To that end, I'd like suggestions of good tutorials to follow. Suggestions of other useful information (such as reference works on x86 assembler) are also very welcome.
[1... | assembler | x86 | null | null | null | null | open | 8086 Assembler Tutorial
===
Following on from [http://stackoverflow.com/questions/27568/][1], I have decided to try and focus on x86 assembler rather than Z80 assembler. To that end, I'd like suggestions of good tutorials to follow. Suggestions of other useful information (such as reference works on x86 assembler) are... | 0 |
28,196 | 08/26/2008 14:29:38 | 1,011 | 08/11/2008 13:05:01 | 38 | 4 | Mysql: Using "AND" Operation on tags and categories tables in Wordpress | This is a very specific question regarding **mysql** as implemented in **WordPress**.
I'm trying to develop a plugin which will show (select) posts that have specific '**tags**' and belong to specific '**categories**' (both multiple)
I was told it's impossible because the way categories and tags are stored:
1.... | mysql | wordpress | query | null | null | null | open | Mysql: Using "AND" Operation on tags and categories tables in Wordpress
===
This is a very specific question regarding **mysql** as implemented in **WordPress**.
I'm trying to develop a plugin which will show (select) posts that have specific '**tags**' and belong to specific '**categories**' (both multiple)
I w... | 0 |
28,197 | 08/26/2008 14:29:56 | 572 | 08/06/2008 20:56:54 | 1,576 | 146 | Do you follow the Personal Software Process? Does your organization/team follow the Team Software Process? | For more information - [Personal Software Process on Wikipedia][1] and [Team Software Process on Wikipedia][2].
I have two questions:
1. What benefits have you seen from
these processes?
2. What tools and/or
methods do you use to follow these
processes?
[1]: http://en.wikipedia.org/wiki... | process | psp | tsp | null | null | null | open | Do you follow the Personal Software Process? Does your organization/team follow the Team Software Process?
===
For more information - [Personal Software Process on Wikipedia][1] and [Team Software Process on Wikipedia][2].
I have two questions:
1. What benefits have you seen from
these processes?
2. Wh... | 0 |
28,202 | 08/26/2008 14:31:28 | 2,644 | 08/23/2008 21:56:47 | 222 | 25 | Best Apache Ant Template | Every time I create a new project I copy the last project's ant file to the new one and make the appropriate changes (trying at the same time to make it more flexible for the next project). But since I didn't really thought about it at the begging, the file started to look really ugly.
Do you have an Ant template th... | java | ant | null | null | null | 12/16/2011 15:21:16 | not constructive | Best Apache Ant Template
===
Every time I create a new project I copy the last project's ant file to the new one and make the appropriate changes (trying at the same time to make it more flexible for the next project). But since I didn't really thought about it at the begging, the file started to look really ugly.
... | 4 |
28,212 | 08/26/2008 14:33:17 | 1,421 | 08/15/2008 15:19:04 | 208 | 17 | How can I convert types in C++ ? | I'm using two different libraries in my project, and both of them supply a basic rectangle struct. The problem with this is that there seems to be no way to insert a conversion between the types, so I can't call a function in one library with the result from a function in the other. If I was the author of either of the... | c++ | types | oop | null | null | null | open | How can I convert types in C++ ?
===
I'm using two different libraries in my project, and both of them supply a basic rectangle struct. The problem with this is that there seems to be no way to insert a conversion between the types, so I can't call a function in one library with the result from a function in the other... | 0 |
28,219 | 08/26/2008 14:35:45 | 1,293 | 08/14/2008 12:38:08 | 257 | 33 | In ASP.NET what are the differant ways to inline code in the .aspx? | Can I get a when to use for these and others?
<% %>
<%# EVAL() %>
Thanks | asp.net | null | null | null | null | null | open | In ASP.NET what are the differant ways to inline code in the .aspx?
===
Can I get a when to use for these and others?
<% %>
<%# EVAL() %>
Thanks | 0 |
28,224 | 08/26/2008 14:37:31 | 1,870 | 08/19/2008 00:42:51 | 680 | 25 | Bash reg-exp substitution | Is there a way to run a regexp-string replace on the current line in the bash?
I find myself rather often in the situation, where I have typed a long commandline and then realize, that I would like to change a word somewhere in the line.
My current approach is to finish the line, press Ctrl-A (to get to the start... | bash | null | null | null | null | null | open | Bash reg-exp substitution
===
Is there a way to run a regexp-string replace on the current line in the bash?
I find myself rather often in the situation, where I have typed a long commandline and then realize, that I would like to change a word somewhere in the line.
My current approach is to finish the line, pr... | 0 |
28,235 | 08/26/2008 14:41:55 | 290 | 08/04/2008 12:57:50 | 541 | 54 | Should I be doing JSPX instead of JSP? | Using [JDeveloper][1], I started developing a set of web pages for a project at work. Since I didn't know much about JDev at the time, I ran over to Oracle to follow some tutorials. The JDev tutorials recommended doing [JSPX][2] instead of [JSP][3], but didn't really explain why. Are you developing JSPX pages? Why did ... | jsp | jspx | null | null | null | null | open | Should I be doing JSPX instead of JSP?
===
Using [JDeveloper][1], I started developing a set of web pages for a project at work. Since I didn't know much about JDev at the time, I ran over to Oracle to follow some tutorials. The JDev tutorials recommended doing [JSPX][2] instead of [JSP][3], but didn't really explain ... | 0 |
28,256 | 08/26/2008 14:52:05 | 2,915 | 08/25/2008 23:15:12 | 211 | 6 | Equation (expression) parser with precedence? | I've developed an equation parser using a simple stack algorithm that will handle binary (+, -, |, &, *, /, etc) operators, unary (!) operators, and parenthesis.
Using this method, however, leaves me with everything having the same precedence - it's evaluated left to right regardless of operator, although precedence... | algorithm | parsing | equation | precedence | calculation | null | open | Equation (expression) parser with precedence?
===
I've developed an equation parser using a simple stack algorithm that will handle binary (+, -, |, &, *, /, etc) operators, unary (!) operators, and parenthesis.
Using this method, however, leaves me with everything having the same precedence - it's evaluated left t... | 0 |
28,268 | 08/26/2008 14:57:47 | 2,858 | 08/25/2008 15:42:32 | 1 | 0 | Any pitfalls developing C#/.NET code in a Virtual Machine running on a MAC? | I am considering buying an Apple MAC book Pro, are than any pitfalls developing C#/.NET code in a Virtual Machine running on a MAC?
For this purpose, is it better to run Vista or XPPro? | osx | .net | vmware | vista | null | null | open | Any pitfalls developing C#/.NET code in a Virtual Machine running on a MAC?
===
I am considering buying an Apple MAC book Pro, are than any pitfalls developing C#/.NET code in a Virtual Machine running on a MAC?
For this purpose, is it better to run Vista or XPPro? | 0 |
28,280 | 08/26/2008 15:01:50 | 2,187 | 08/20/2008 20:30:43 | 1 | 0 | Can I maintain state between calls to a SQL Server UDF? | I have a SQL script that inserts data (via INSERT statements currently numbering in the thousands) One of the columns contains a unique identifier (though not an IDENTITY type, just a plain ol' int) that's actually unique across a few different tables.
I'd like to add a scalar function to my script that gets the ne... | sql | sql-server | sql-server-2005 | null | null | null | open | Can I maintain state between calls to a SQL Server UDF?
===
I have a SQL script that inserts data (via INSERT statements currently numbering in the thousands) One of the columns contains a unique identifier (though not an IDENTITY type, just a plain ol' int) that's actually unique across a few different tables.
I'... | 0 |
28,293 | 08/26/2008 15:08:39 | 722 | 08/08/2008 11:37:05 | 624 | 34 | Generating an object model in Ruby from an XML DTD | I have an XML document with a DTD, and would love to be able to access the XML model, something like this:
title = Thing.Items[0].Title
Is there a way, in Ruby, to generate this kind of object model based on a DTD? Or am I stuck using REXML?
Thanks! | ruby | xml | dtd | null | null | null | open | Generating an object model in Ruby from an XML DTD
===
I have an XML document with a DTD, and would love to be able to access the XML model, something like this:
title = Thing.Items[0].Title
Is there a way, in Ruby, to generate this kind of object model based on a DTD? Or am I stuck using REXML?
Thanks! | 0 |
28,301 | 08/26/2008 15:11:27 | 3,071 | 08/26/2008 14:30:11 | 1 | 0 | Impose a total ordering on all instances of *any* class in Java | I'm unsure whether the following code would ensure all conditions given in Comparator's Javadoc.
class TotalOrder<T> implements Comparator<T> {
public boolean compare(T o1, T o2) {
if (o1 == o2 || equal(o1, o2)) return 0;
int h1 = System.identityHashCod... | java | algorithm | null | null | null | null | open | Impose a total ordering on all instances of *any* class in Java
===
I'm unsure whether the following code would ensure all conditions given in Comparator's Javadoc.
class TotalOrder<T> implements Comparator<T> {
public boolean compare(T o1, T o2) {
if (o1 == o2 || equal(o1, o2))... | 0 |
28,302 | 08/26/2008 15:12:18 | 342 | 08/04/2008 19:59:52 | 441 | 60 | Free Network Monitor | I am having trouble integrating two products, one of which is mine and they appear not to be talking. So I want to make sure they are communicating correctly. I had a look around for network monitor and found TCP Spy. This works but only shows 1 side of the conversation at a time (it has to run locally) I would ideally... | windows | sockets | network-monitoring | null | null | null | open | Free Network Monitor
===
I am having trouble integrating two products, one of which is mine and they appear not to be talking. So I want to make sure they are communicating correctly. I had a look around for network monitor and found TCP Spy. This works but only shows 1 side of the conversation at a time (it has to ru... | 0 |
28,303 | 08/26/2008 15:13:03 | 2,141 | 08/20/2008 14:38:34 | 210 | 4 | Web 2.0 CSS Color Combinations | What are the most user-friendly color combinations for Web 2.0 websites, such as background, button colors, etc.? | web-2.0 | null | null | null | null | null | open | Web 2.0 CSS Color Combinations
===
What are the most user-friendly color combinations for Web 2.0 websites, such as background, button colors, etc.? | 0 |
28,353 | 08/26/2008 15:22:38 | 1,070 | 08/12/2008 09:39:23 | 1 | 0 | How can I get notification when a mirrored SQL Server database has failed over | We have a couple of mirrored SQL Server databases.
My first problem - the key problem - is to get a notification when the db fails over. I don't *need* to know because, erm, its mirrored and so it (almost) all carries on working automagically but it would useful to be advised and I'm currently getting failovers when... | sql-server | null | null | null | null | null | open | How can I get notification when a mirrored SQL Server database has failed over
===
We have a couple of mirrored SQL Server databases.
My first problem - the key problem - is to get a notification when the db fails over. I don't *need* to know because, erm, its mirrored and so it (almost) all carries on working auto... | 0 |
28,360 | 08/26/2008 15:24:42 | 2,894 | 08/25/2008 20:06:55 | 23 | 6 | Moving SQL based reports to Data cubes | I am about to migrate a bunch of seriously over-complex Reports (MS SQL report server over some horrible stored procedures) to something more BI based. I was wondering if anybody had any pointers, gotchas, or general advice on the best way to do this. Thanks. | sql-server | report | bi | null | null | 09/11/2008 16:13:15 | off topic | Moving SQL based reports to Data cubes
===
I am about to migrate a bunch of seriously over-complex Reports (MS SQL report server over some horrible stored procedures) to something more BI based. I was wondering if anybody had any pointers, gotchas, or general advice on the best way to do this. Thanks. | 2 |
28,363 | 08/26/2008 15:25:16 | 1,254 | 08/13/2008 22:34:57 | 298 | 24 | Database compare tools | My company has a number of relatively small Access databases (2-5MB) that control our user assisted design tools. Naturally these databases evolve over time as data bugs are found and fixed and as the schema changes to support new features in the tools. Can anyone recommend a database diff tool to compare both the da... | database | diff | null | null | null | null | open | Database compare tools
===
My company has a number of relatively small Access databases (2-5MB) that control our user assisted design tools. Naturally these databases evolve over time as data bugs are found and fixed and as the schema changes to support new features in the tools. Can anyone recommend a database diff... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.