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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
15,716 | 08/19/2008 04:42:31 | 788 | 08/09/2008 00:17:36 | 38 | 4 | Design problems with .Net UserControl | I have created a UserControl that has a ListView in it. The ListView is publicly accessible though a property. When I put the UserControl in a form and try to design the ListView though the property, the ListView stays that way until I compile again and it reverts back to the default state.
How do I get my design c... | c# | vs2005 | .net-2.0 | usercontrols | null | null | open | Design problems with .Net UserControl
===
I have created a UserControl that has a ListView in it. The ListView is publicly accessible though a property. When I put the UserControl in a form and try to design the ListView though the property, the ListView stays that way until I compile again and it reverts back to the ... | 0 |
15,729 | 08/19/2008 04:57:38 | 1,693 | 08/18/2008 02:25:37 | 143 | 6 | Programming Glossary | As I browse through the site, I find a lot of terms that many developers just starting out (and even some advanced developers) may be unfamiliar with.
It would be great if people could post here with a term and definition that might be unknown to beginners or those from different programming backgrounds.
Some no... | language-agnostic | glossary | terms | null | null | null | open | Programming Glossary
===
As I browse through the site, I find a lot of terms that many developers just starting out (and even some advanced developers) may be unfamiliar with.
It would be great if people could post here with a term and definition that might be unknown to beginners or those from different programmin... | 0 |
15,731 | 08/19/2008 04:59:03 | 26 | 08/01/2008 12:18:14 | 624 | 87 | Looking for a specific FireFox extension / program for Form posting | I am looking for either a FireFox extension, or a similar program, that allows you to craft GET and POST requests. The user would put in a form action, and as many form key/value pairs as desired. It would also send any cookie information (or send the current cookies from any domain the user chooses.) The Web Developer... | javascript | html | hacking | null | null | null | open | Looking for a specific FireFox extension / program for Form posting
===
I am looking for either a FireFox extension, or a similar program, that allows you to craft GET and POST requests. The user would put in a form action, and as many form key/value pairs as desired. It would also send any cookie information (or send... | 0 |
15,732 | 08/19/2008 04:59:04 | 1,650 | 08/17/2008 19:07:22 | 6 | 3 | What's the best way to validate an XML file against an XSD file? | I'm generating xml files that need to conform to an xsd that was given to me. What's the best way to do this? | java | xml | xsd | null | null | null | open | What's the best way to validate an XML file against an XSD file?
===
I'm generating xml files that need to conform to an xsd that was given to me. What's the best way to do this? | 0 |
15,734 | 08/19/2008 05:01:52 | 1,890 | 08/19/2008 05:01:52 | 1 | 0 | Google Analytics Access with C# | I know that there is no official API for Google Analytics but maybe someone has figured out a way to access Google Analytics Reports with C#?
Thank you in advance! | c# | api | google | analytics | null | null | open | Google Analytics Access with C#
===
I know that there is no official API for Google Analytics but maybe someone has figured out a way to access Google Analytics Reports with C#?
Thank you in advance! | 0 |
15,735 | 08/19/2008 05:02:35 | 1,693 | 08/18/2008 02:25:37 | 143 | 6 | Firefox extension for website interaction recording and repetition | Does anyone know of a firefox extension, or some other tool, that enables you to 'record' the interactions with a website, and then play them back, as a way of testing a website? | testing | firefox | null | null | null | null | open | Firefox extension for website interaction recording and repetition
===
Does anyone know of a firefox extension, or some other tool, that enables you to 'record' the interactions with a website, and then play them back, as a way of testing a website? | 0 |
15,744 | 08/19/2008 05:16:34 | 1,888 | 08/19/2008 04:52:17 | 1 | 0 | How do you use #define? | I'm wondering about instances when it makes sent to use #define and #if statements. I've known about it for a while, but never incorporated it into my way of coding. How exactly does this affect the compilation? | c# | .net | null | null | null | null | open | How do you use #define?
===
I'm wondering about instances when it makes sent to use #define and #if statements. I've known about it for a while, but never incorporated it into my way of coding. How exactly does this affect the compilation? | 0 |
15,747 | 08/19/2008 05:17:05 | 1,588 | 08/17/2008 01:05:22 | 11 | 2 | What are your favorite "learning" projects, and why? | When learning a new language/framework, are there any projects you find particularly useful to get to know it in depth? How do the different language paradigms affect your choice of project? Maybe you have a pet project which is '10 lines in functional language x" that you like to implement as a much larger imperative ... | language-agnostic | language | null | null | null | 10/26/2011 12:35:58 | not constructive | What are your favorite "learning" projects, and why?
===
When learning a new language/framework, are there any projects you find particularly useful to get to know it in depth? How do the different language paradigms affect your choice of project? Maybe you have a pet project which is '10 lines in functional language ... | 4 |
15,774 | 08/19/2008 05:54:18 | 1,888 | 08/19/2008 04:52:17 | 6 | 1 | How do I automate repeatative tasks post-build? | I run an ASP.NET website solution with a few other projects in it. I've known that MSBuild projects are capable of this, but is it the best way? Are they easy to create? Is nAnt, CruiseControl.NET or any other solution better?
When I build the site (using [Web Deployment Projects](http://msdn.microsoft.com/en-us/asp... | asp.net | c# | msbuild | vs2005 | webdeploymentproject | null | open | How do I automate repeatative tasks post-build?
===
I run an ASP.NET website solution with a few other projects in it. I've known that MSBuild projects are capable of this, but is it the best way? Are they easy to create? Is nAnt, CruiseControl.NET or any other solution better?
When I build the site (using [Web Dep... | 0 |
15,784 | 08/19/2008 06:06:42 | 718 | 08/08/2008 07:07:38 | 527 | 25 | What Visual Studio add-ins do you use? | I have the following installed:
- [Imports Sorter][1] (for VS 2005)
- [GhostDoc][2]
- [Regex Find and Replace][3] (.Net regex compatible find and replace, because VS has its own regex syntax)
- [rockscroll][4]
- [Smart Paster][5]
- [Sonic File Finder][6]
- [Cool Commands][7]
[1]: http://... | visual-studio | add-in | null | null | null | null | open | What Visual Studio add-ins do you use?
===
I have the following installed:
- [Imports Sorter][1] (for VS 2005)
- [GhostDoc][2]
- [Regex Find and Replace][3] (.Net regex compatible find and replace, because VS has its own regex syntax)
- [rockscroll][4]
- [Smart Paster][5]
- [Sonic File Finder][6]
... | 0 |
15,788 | 08/19/2008 06:14:42 | 1,888 | 08/19/2008 04:52:17 | 6 | 1 | Minimize javascript HTTP calls from AjaxControlToolkit controls? | I love the ease that the ASP.NET Ajax control Toolkit provides to ASP.NET developers. However, I've not found it to be a scalable solution at all. I have a page with 2 date input fields. By putting a TextBox and an CalendarExtendar control attached to it for each date field, I get several (11, in fact) external Javascr... | asp.net | ajax | ajaxtoolkit | frontend | null | null | open | Minimize javascript HTTP calls from AjaxControlToolkit controls?
===
I love the ease that the ASP.NET Ajax control Toolkit provides to ASP.NET developers. However, I've not found it to be a scalable solution at all. I have a page with 2 date input fields. By putting a TextBox and an CalendarExtendar control attached t... | 0 |
15,798 | 08/19/2008 06:24:54 | 446,497 | 08/18/2008 01:08:53 | 41 | 5 | How do I validate xml against a DTD file in Python | I need to validate an XML string against a DTD
description file.
How can that be done in python? | xml | python | dtd | validation | null | null | open | How do I validate xml against a DTD file in Python
===
I need to validate an XML string against a DTD
description file.
How can that be done in python? | 0 |
15,805 | 08/19/2008 06:36:13 | 1,596 | 08/17/2008 09:24:01 | 13 | 0 | Why are my auto-run applications acting weird on Vista? | The product we are working on allows the user to easily set it up to run automatically whenever the computer is started. This is helpful because the product is part of the basic work environment of most of our users.
This feature was implemented not so long ago and for a while all was well, but when we started testing... | windows-vista | null | null | null | null | null | open | Why are my auto-run applications acting weird on Vista?
===
The product we are working on allows the user to easily set it up to run automatically whenever the computer is started. This is helpful because the product is part of the basic work environment of most of our users.
This feature was implemented not so long ... | 0 |
15,815 | 08/19/2008 06:56:29 | 1,580 | 08/16/2008 20:34:26 | 11 | 1 | SSRS - Post Publishing Tasks | As part of the publishing "best practices" i came up with my own, i tend to archive report groups and republish the "updated" reports. However, with this stratedgy, I lose users associated with each report, or have to rehide reports.
Is there an automated process I can use to hide reports, or add users, after deplo... | reporting-services | automation | null | null | null | null | open | SSRS - Post Publishing Tasks
===
As part of the publishing "best practices" i came up with my own, i tend to archive report groups and republish the "updated" reports. However, with this stratedgy, I lose users associated with each report, or have to rehide reports.
Is there an automated process I can use to hide ... | 0 |
15,816 | 08/19/2008 06:56:39 | 1,084 | 08/12/2008 11:01:49 | 90 | 14 | Changing the resolution of a VNC session in linux | I use VNC to connect to a Linux workstation at work. At work I have a 20" monitor that runs at 1600x1200, while at home I use my laptop with its resolution of 1440x900.
If I set the vncserver to run at 1440x900 I miss out on a lot of space on my monitor, whereas if I set it to run at 1600x1200 it doesn't fit on the l... | linux | vnc | null | null | null | null | open | Changing the resolution of a VNC session in linux
===
I use VNC to connect to a Linux workstation at work. At work I have a 20" monitor that runs at 1600x1200, while at home I use my laptop with its resolution of 1440x900.
If I set the vncserver to run at 1440x900 I miss out on a lot of space on my monitor, whereas ... | 0 |
15,822 | 08/19/2008 07:09:04 | 1,006 | 08/11/2008 12:49:59 | 38 | 2 | What tools (free or otherwise) do you find useful for developing and debugging C#/C++? | Here are some that I use (all freely available):
Hex Editor: Hexplorer <http://sourceforge.net/projects/hexplorer/>
Debugger: WinDbg <http://www.microsoft.com/whdc/resources/downloads.mspx>
Documentation Compiler: SandCastle <http://www.sandcastledocs.com/Wiki%20Pages/Home.aspx>
Automatic Build: Cruise Cont... | c# | c++ | null | null | null | null | open | What tools (free or otherwise) do you find useful for developing and debugging C#/C++?
===
Here are some that I use (all freely available):
Hex Editor: Hexplorer <http://sourceforge.net/projects/hexplorer/>
Debugger: WinDbg <http://www.microsoft.com/whdc/resources/downloads.mspx>
Documentation Compiler: SandC... | 0 |
15,838 | 08/19/2008 07:28:31 | 381 | 08/05/2008 10:39:26 | 953 | 17 | Optimizing a search algorithm in C | Can the performance of this sequential search algorithm (taken from
[The Practice of Programming](http://books.google.co.uk/books?id=to6M9_dbjosC&dq=the+practice+of+programming&pg=PP1&ots=3YH6Ggq0_a&sig=F2-ajdO37xA4iRec2sCyQF55Jjc&hl=en&sa=X&oi=book_result&resnum=1&ct=result)) be improved using any of C's native util... | c | perfornance | optimization | algorithm | null | null | open | Optimizing a search algorithm in C
===
Can the performance of this sequential search algorithm (taken from
[The Practice of Programming](http://books.google.co.uk/books?id=to6M9_dbjosC&dq=the+practice+of+programming&pg=PP1&ots=3YH6Ggq0_a&sig=F2-ajdO37xA4iRec2sCyQF55Jjc&hl=en&sa=X&oi=book_result&resnum=1&ct=result)) ... | 0 |
15,841 | 08/19/2008 07:30:56 | 1,703 | 08/18/2008 05:41:49 | 33 | 6 | Visual Studio color theme | What Visual Studio color theme do you use?
Or just the default?
| visual-studio | themes | color-scheme | null | null | 08/09/2011 11:28:42 | not constructive | Visual Studio color theme
===
What Visual Studio color theme do you use?
Or just the default?
| 4 |
15,857 | 08/19/2008 07:48:24 | 192 | 08/03/2008 10:15:38 | 235 | 25 | CSS Drop-Down Menus - "Best"? Most feature-rich? | I'm in the unfortunate position of having to implement a drop-down cascading menu on a site I'm building. I'm looking for a Suckerfish-style solution that is primarily CSS-based and works on a simple set of nested ULs and LIs.
[Son of Suckerfish][1] seems like the way to go, but I don't like the way it just disappe... | navigation | css-menu | suckerfish | null | null | null | open | CSS Drop-Down Menus - "Best"? Most feature-rich?
===
I'm in the unfortunate position of having to implement a drop-down cascading menu on a site I'm building. I'm looking for a Suckerfish-style solution that is primarily CSS-based and works on a simple set of nested ULs and LIs.
[Son of Suckerfish][1] seems like ... | 0 |
15,880 | 08/19/2008 08:07:28 | 39 | 08/01/2008 12:44:55 | 1,019 | 25 | Read from .msg files | I need to read from Outlook .MSG file in .NET *without* using COM API for Outlook (cos it will not be installed on the machines that my app will run). Are there any free 3rd party libraries to do that? I want to extract From, To, CC and BCC fields. Sent/Receive date fields would be good if they are also stored in MSG f... | email | c# | outlook | msg | message | null | open | Read from .msg files
===
I need to read from Outlook .MSG file in .NET *without* using COM API for Outlook (cos it will not be installed on the machines that my app will run). Are there any free 3rd party libraries to do that? I want to extract From, To, CC and BCC fields. Sent/Receive date fields would be good if the... | 0 |
15,899 | 08/19/2008 08:46:08 | 86 | 08/01/2008 16:45:58 | 192 | 21 | insert/replace XML tag in XmlDocument | I have a XmlDocument in java, created with the Weblogic XmlDocument parser.
I want to replace the content of a tag in this xmldocument with my own data, or insert the tag if it isnt there.
<customdata>
<tag1 />
<tag2>mfkdslmlfkm</tag2>
<location />
<tag3 />
</customdata>
... | java | xml | xquery | null | null | null | open | insert/replace XML tag in XmlDocument
===
I have a XmlDocument in java, created with the Weblogic XmlDocument parser.
I want to replace the content of a tag in this xmldocument with my own data, or insert the tag if it isnt there.
<customdata>
<tag1 />
<tag2>mfkdslmlfkm</tag2>
<locati... | 0 |
15,900 | 08/19/2008 08:46:08 | 1,122 | 08/12/2008 14:00:43 | 261 | 27 | Entity diagrams in ASP.NET MVC | What's the best way/tool to display nice diagrams with entity relationships in ASP MVC views? I.e. servers and and applications, or servers with other servers.
Are there any third party tools out there that can do this? I've been searching around things like Telerik, but it's really hard to google for this! | .net-3.5 | asp.net-mvc | graphics | diagram | null | null | open | Entity diagrams in ASP.NET MVC
===
What's the best way/tool to display nice diagrams with entity relationships in ASP MVC views? I.e. servers and and applications, or servers with other servers.
Are there any third party tools out there that can do this? I've been searching around things like Telerik, but it's re... | 0 |
15,917 | 08/19/2008 09:24:08 | 1,122 | 08/12/2008 14:00:43 | 261 | 27 | Data Auditing in NHibernate and SqlServer | I'm using NHibernate on a project and I need to do data auditing. I found [this article][1] on codeproject which discussed the IInterceptor interface.
What is your preferred way of auditing data? Do you use database triggers? Do you use something similar to what's dicussed in the article?
[1]: http://www.cod... | nhibernate | sql-server | data | audit | null | null | open | Data Auditing in NHibernate and SqlServer
===
I'm using NHibernate on a project and I need to do data auditing. I found [this article][1] on codeproject which discussed the IInterceptor interface.
What is your preferred way of auditing data? Do you use database triggers? Do you use something similar to what's di... | 0 |
15,949 | 08/19/2008 10:17:24 | 22 | 08/01/2008 12:11:11 | 200 | 19 | Java+Tomcat, Dying databse connection? | I have a tomcat instance setup but the database connection I have configured in context.xml keeps dying after periods of inactivity.
When I check the logs I get the following error:
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException:
The last packet successfully received from the server was68051 seconds
... | java | mysql | tomcat | null | null | null | open | Java+Tomcat, Dying databse connection?
===
I have a tomcat instance setup but the database connection I have configured in context.xml keeps dying after periods of inactivity.
When I check the logs I get the following error:
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException:
The last packet successfully ... | 0 |
15,954 | 08/19/2008 10:33:21 | 1,658 | 08/17/2008 20:12:50 | 1 | 0 | How would a sdbm hash function be implemented in C#? | How will a sdbm hash function (such as http://www.cse.yorku.ca/~oz/hash.html) be implemented in C# ? | c# | hash | null | null | null | null | open | How would a sdbm hash function be implemented in C#?
===
How will a sdbm hash function (such as http://www.cse.yorku.ca/~oz/hash.html) be implemented in C# ? | 0 |
15,979 | 08/19/2008 10:59:17 | 1,448 | 08/15/2008 16:16:35 | 58 | 11 | WildcardQuery error in Solr | I use solr to search for documents and when trying to search for documents using this query "<code>id:*</code>", I get this query parser exception telling that it cannot parse the query with * or ? as the first character.
HTTP Status 400 - org.apache.lucene.queryParser.ParseException: Cannot parse 'id:*': '*' o... | search | lucene | solr | null | null | null | open | WildcardQuery error in Solr
===
I use solr to search for documents and when trying to search for documents using this query "<code>id:*</code>", I get this query parser exception telling that it cannot parse the query with * or ? as the first character.
HTTP Status 400 - org.apache.lucene.queryParser.ParseExce... | 0 |
15,995 | 08/19/2008 11:16:58 | 1,448 | 08/15/2008 16:16:35 | 58 | 11 | Useful code which uses reduce() in python | Do anyone here have any useful code which uses reduce() function of python? Is there any code other than the usual + and * that we see in the examples?
Refer [Fate of reduce() in Python 3000][1] by GvR
[1]: http://www.artima.com/weblogs/viewpost.jsp?thread=98196 | python | functionalprogramming | null | null | null | null | open | Useful code which uses reduce() in python
===
Do anyone here have any useful code which uses reduce() function of python? Is there any code other than the usual + and * that we see in the examples?
Refer [Fate of reduce() in Python 3000][1] by GvR
[1]: http://www.artima.com/weblogs/viewpost.jsp?thread=98196 | 0 |
16,003 | 08/19/2008 11:22:00 | 1,738 | 08/18/2008 11:32:29 | 1 | 1 | ASP.NET LocationProvider | We need to replace the menu system in our main ASP.NET application. So naturally we're looking at the ASP.NET SiteMapProvider and Menu controls. However we also need enough security to prevent users from directly entering URLs that they shouldn't have access to. We can do this by putting <location> entries in web.confi... | asp.net | security | sitemap | provider | null | null | open | ASP.NET LocationProvider
===
We need to replace the menu system in our main ASP.NET application. So naturally we're looking at the ASP.NET SiteMapProvider and Menu controls. However we also need enough security to prevent users from directly entering URLs that they shouldn't have access to. We can do this by putting <... | 0 |
16,007 | 08/19/2008 11:24:55 | 1,762 | 08/18/2008 13:12:06 | 1 | 1 | How do I convert a file path to a URL in ASP.NET | Basically I have some code to check a specific directory to see if an image is there and if so I want to assign a URL to the image to an ImageControl.
if (System.IO.Directory.Exists(photosLocation))
{
string[] files = System.IO.Directory.GetFiles(photosLocation, "*.jpg");
i... | asp.net | image | url | null | null | null | open | How do I convert a file path to a URL in ASP.NET
===
Basically I have some code to check a specific directory to see if an image is there and if so I want to assign a URL to the image to an ImageControl.
if (System.IO.Directory.Exists(photosLocation))
{
string[] files = System.IO.Direc... | 0 |
16,064 | 08/19/2008 12:30:25 | 1,721 | 08/18/2008 09:58:47 | 1 | 0 | What IDE to use for developing in Ruby on Rails on windows? | I've generally been doing stuff on Microsoft .Net out of college almost 2 years ago. I just started looking at Ruby on rails. So what editor should I use? I'm using Notepad++ right now but can I get debugging etc. somehow? | ruby | ruby-on-rails | ide | editor | null | null | open | What IDE to use for developing in Ruby on Rails on windows?
===
I've generally been doing stuff on Microsoft .Net out of college almost 2 years ago. I just started looking at Ruby on rails. So what editor should I use? I'm using Notepad++ right now but can I get debugging etc. somehow? | 0 |
16,067 | 08/19/2008 12:32:38 | 199 | 08/03/2008 12:26:21 | 512 | 24 | Prototyping hybrid Python code | I have been mulling over writing a peak fitting library for a while. I know Python fairly well and plan on implementing everything in Python to begin with but envisage that I may have to re-implement some core routines in a compiled language eventually.
Python is pretty liberal in allowing functions, functors, objec... | python | fortran | prototyping | swig | ctypes | null | open | Prototyping hybrid Python code
===
I have been mulling over writing a peak fitting library for a while. I know Python fairly well and plan on implementing everything in Python to begin with but envisage that I may have to re-implement some core routines in a compiled language eventually.
Python is pretty liberal in... | 0 |
16,073 | 08/19/2008 12:33:34 | 1,744 | 08/18/2008 12:04:57 | 1 | 0 | Alternatives to Visual Sourcesafe that integrate with Visual Studio | I am interested in dropping Visual Sourcesafe in favor of a version control application that offers branching. Sourcesafe's integration into Visual Studio makes checkins/outs a breeze. Can anyone suggest some other programs that offer the same functionality? I would prefer open source but it is not a requirement. | version-control | visual | visual-studio | opensource | null | null | open | Alternatives to Visual Sourcesafe that integrate with Visual Studio
===
I am interested in dropping Visual Sourcesafe in favor of a version control application that offers branching. Sourcesafe's integration into Visual Studio makes checkins/outs a breeze. Can anyone suggest some other programs that offer the same f... | 0 |
16,074 | 08/19/2008 12:34:33 | 1,749 | 08/18/2008 12:17:04 | 6 | 2 | Visual Studio open files question | Is it possible to open a project in Visual Studio 2008 without opening all the files that were previously opened last time I had the project open. I have a habit of keeping many files open as I am working on them, so next time I open the project, it (very slowly) loads up a bunch of files into the editor that I may no... | visual-studio | settings | null | null | null | null | open | Visual Studio open files question
===
Is it possible to open a project in Visual Studio 2008 without opening all the files that were previously opened last time I had the project open. I have a habit of keeping many files open as I am working on them, so next time I open the project, it (very slowly) loads up a bunch... | 0 |
16,096 | 08/19/2008 12:47:44 | 93 | 08/01/2008 18:23:58 | 250 | 10 | How to apply multiple styles in WPF | In WPF, how would I apply multiple styles to a `FrameworkElement`? For instance, I have a control which already has a style. I also have a separate style which I would like to add to it without blowing away the first one. The styles have different TargetTypes, so I can't just extend one with the other. | .net | wpf | styles | null | null | null | open | How to apply multiple styles in WPF
===
In WPF, how would I apply multiple styles to a `FrameworkElement`? For instance, I have a control which already has a style. I also have a separate style which I would like to add to it without blowing away the first one. The styles have different TargetTypes, so I can't just... | 0 |
16,097 | 08/19/2008 12:48:21 | 1,353 | 08/14/2008 17:39:48 | 7 | 8 | What is the best way to replicate a version control repository? | Here is the scenario that I have. I have a cvs repository in one location (A) and I want to replicate it and keep it in sync with a repository in another location(B). This would be a single directional sync from A to B. What is the best way to do this? If it is not really feasible in CVS then which source code control ... | version-control | cvs | null | null | null | null | open | What is the best way to replicate a version control repository?
===
Here is the scenario that I have. I have a cvs repository in one location (A) and I want to replicate it and keep it in sync with a repository in another location(B). This would be a single directional sync from A to B. What is the best way to do this... | 0 |
16,100 | 08/19/2008 12:51:55 | 203 | 08/03/2008 13:26:47 | 105 | 5 | Converting a string to an enumeration value in C# | What's the best way to convert a string to an enumeration value in C#?
I have an HTML select tag containing the values of an enumeration. When the page is posted, I want to pick up the value (which will be in the form of a string) and convert it to the enumeration value.
In an ideal world, I could do something l... | c# | null | null | null | null | null | open | Converting a string to an enumeration value in C#
===
What's the best way to convert a string to an enumeration value in C#?
I have an HTML select tag containing the values of an enumeration. When the page is posted, I want to pick up the value (which will be in the form of a string) and convert it to the enumerat... | 0 |
16,110 | 08/19/2008 12:55:46 | 1,629 | 08/17/2008 17:00:03 | 18 | 6 | C# Auto Clearing Winform Textbox | I have a user that want to be able to select a textbox and have the current text selected so that he doesn't have to highlight it all in order to change the contents. The contents need to be handle when enter is pushed. That part I think I have figured out but any suggections would be welcome. The part I need help wi... | c# | winforms | textbox | null | null | null | open | C# Auto Clearing Winform Textbox
===
I have a user that want to be able to select a textbox and have the current text selected so that he doesn't have to highlight it all in order to change the contents. The contents need to be handle when enter is pushed. That part I think I have figured out but any suggections wou... | 0 |
16,113 | 08/19/2008 12:59:40 | 277 | 08/04/2008 10:55:22 | 120 | 6 | Webserver Log Analysis | Can I get some recommendations (prefereably with some reasons) for good log analysis software for Apache 2.2 access log files?
I have heard of Webalizer and AWStats, but have never really used any of them, and would like to know:
- What they can do
- Why they are useful
- Interesting uses for them
Any ... | apache | logfileanalysis | null | null | null | null | open | Webserver Log Analysis
===
Can I get some recommendations (prefereably with some reasons) for good log analysis software for Apache 2.2 access log files?
I have heard of Webalizer and AWStats, but have never really used any of them, and would like to know:
- What they can do
- Why they are useful
- Inter... | 0 |
16,114 | 08/19/2008 12:59:41 | 1,629 | 08/17/2008 17:00:03 | 18 | 6 | C# Include Derived Control in Toolbox | This is in reference to my other question [Auto Clearing Textbox][1]. If I choose to derive a new TextBox control from TextBox instead of implement a user control just containing my Textbox, how would I include that in the toolbox.
[1]: http://stackoverflow.com/questions/16110/c-auto-clearing-winform-textbox | c# | visual-studio | winforms | textbox | null | null | open | C# Include Derived Control in Toolbox
===
This is in reference to my other question [Auto Clearing Textbox][1]. If I choose to derive a new TextBox control from TextBox instead of implement a user control just containing my Textbox, how would I include that in the toolbox.
[1]: http://stackoverflow.com/questio... | 0 |
16,140 | 08/19/2008 13:20:49 | 765 | 08/08/2008 16:55:41 | 61 | 9 | What's the best way to get started with OSGI? | I'm interested in using [OSGi][1] in my applications. We're a Java shop and we use Spring pretty extensively, so I'm leaning toward using [Spring Dynamic Modules for OSGi(tm) Service Platforms][2]. I'm looking for a good way to incorporate a little bit of OSGi into an application as a trial. What makes a module/service... | osgi | java | spring | null | null | null | open | What's the best way to get started with OSGI?
===
I'm interested in using [OSGi][1] in my applications. We're a Java shop and we use Spring pretty extensively, so I'm leaning toward using [Spring Dynamic Modules for OSGi(tm) Service Platforms][2]. I'm looking for a good way to incorporate a little bit of OSGi into an ... | 0 |
16,142 | 08/19/2008 13:22:03 | 914 | 08/10/2008 10:32:48 | 17 | 9 | What does branch, tag and trunk really mean? | I've seen these words a lot around subversion (and I guess general repository) discussions.
Myself I have been using svn for my projects the last few years, but I've never grasped the complete concept of these directories.
What do they mean? | subversion | svn | tag | branch | trunk | 08/04/2011 15:15:32 | not constructive | What does branch, tag and trunk really mean?
===
I've seen these words a lot around subversion (and I guess general repository) discussions.
Myself I have been using svn for my projects the last few years, but I've never grasped the complete concept of these directories.
What do they mean? | 4 |
16,145 | 08/19/2008 13:24:19 | 1,533 | 08/16/2008 12:20:13 | 21 | 1 | What's the best way to report errors from a SharePoint workflow? | I have a custom action in a workflow and would like to report an error to the user when something goes wrong. What's the best way of doing that? | sharepoint | workflows | error-handling | null | null | null | open | What's the best way to report errors from a SharePoint workflow?
===
I have a custom action in a workflow and would like to report an error to the user when something goes wrong. What's the best way of doing that? | 0 |
16,155 | 08/19/2008 13:32:12 | 58 | 08/01/2008 13:56:33 | 2,206 | 82 | Making one interface overwrite a method it inherits from another interface in PHP | *The "Question":*
**Is there a way in PHP to overwrite a method declared by one interface in an interface extending that interface?**
*The "Example":*
I'm probably doing something wrong, but here is what I have:
interface iVendor{
public function __construct($vendors_no = null);
public funct... | php | oop | interface | extends | null | null | open | Making one interface overwrite a method it inherits from another interface in PHP
===
*The "Question":*
**Is there a way in PHP to overwrite a method declared by one interface in an interface extending that interface?**
*The "Example":*
I'm probably doing something wrong, but here is what I have:
inter... | 0 |
16,159 | 08/19/2008 13:33:54 | 1,772 | 08/18/2008 14:05:29 | 11 | 5 | Taking the SCJD exam | I asked the [same question about SCJP][1]. What about the Sun Certified Java Developer exam (SCJD)? I haven't taken it, but am thinking about doing so. Is it worth the effort?
[1]: http://stackoverflow.com/questions/14810/taking-the-scjp-exam | java | null | null | null | null | null | open | Taking the SCJD exam
===
I asked the [same question about SCJP][1]. What about the Sun Certified Java Developer exam (SCJD)? I haven't taken it, but am thinking about doing so. Is it worth the effort?
[1]: http://stackoverflow.com/questions/14810/taking-the-scjp-exam | 0 |
16,161 | 08/19/2008 13:34:24 | 259 | 08/04/2008 08:10:58 | 221 | 19 | cvs checkin: Identifying the filename in cvsnt postcommand | The [cvsnt manual][1] provides a detailed list of parameters than can be passed to the postcommand module, but none of them specify the file name.
Is anybody aware of an option not listed here that would provide the name of the file being checked in?
[1]: http://www.cvsnt.org/manual/html/commit-files.html#syn... | cvs | cvsnt | null | null | null | null | open | cvs checkin: Identifying the filename in cvsnt postcommand
===
The [cvsnt manual][1] provides a detailed list of parameters than can be passed to the postcommand module, but none of them specify the file name.
Is anybody aware of an option not listed here that would provide the name of the file being checked in?
... | 0 |
16,164 | 08/19/2008 13:36:19 | 834 | 08/09/2008 07:29:24 | 85 | 10 | RSS/Atom for professional use | I wondered if anyone can give an example of a professional use of RSS/Atom feeds in a company product. Does anyone use feeds for other things than updating news?
For example, did you create a product that gives results as RSS/Atom feeds? Like price listings or current inventory, or maybe dates of training lessons?
... | rss | atom | feeds | use-case | null | null | open | RSS/Atom for professional use
===
I wondered if anyone can give an example of a professional use of RSS/Atom feeds in a company product. Does anyone use feeds for other things than updating news?
For example, did you create a product that gives results as RSS/Atom feeds? Like price listings or current inventory, or... | 0 |
16,167 | 08/19/2008 13:39:29 | 1,830 | 08/18/2008 18:49:16 | 51 | 7 | Good refactoring support for C++ | The Visual Studio refactoring support for C# is quite good nowadays (though not half as good as some Java IDE's I've seen already) but I'm really missing C++ support.
I have seen [Refactor!][1] and am currently trying it out, but maybe one of you guys know a better tool or plugin?
[1]:http://www.devexpress.com/P... | c++ | visual-studio | refactoring | null | null | null | open | Good refactoring support for C++
===
The Visual Studio refactoring support for C# is quite good nowadays (though not half as good as some Java IDE's I've seen already) but I'm really missing C++ support.
I have seen [Refactor!][1] and am currently trying it out, but maybe one of you guys know a better tool or plug... | 0 |
16,178 | 08/19/2008 13:45:03 | 285 | 08/04/2008 12:34:49 | 160 | 17 | Best Way To Determine If .NET 3.5 Is Installed | I need to programatically determine whether .NET 3.5 is installed. I thought it would be easy:
<% Response.Write(Environment.Version.ToString()); %>
Which returns "2.0.50727.1434" so no such luck...
In my research I have that there are some rather obscure registry keys I can look at but I'm not sure if tha... | .net-3.5 | installer | registry | .net-framework | null | null | open | Best Way To Determine If .NET 3.5 Is Installed
===
I need to programatically determine whether .NET 3.5 is installed. I thought it would be easy:
<% Response.Write(Environment.Version.ToString()); %>
Which returns "2.0.50727.1434" so no such luck...
In my research I have that there are some rather obscure... | 0 |
16,192 | 08/19/2008 13:52:46 | 1,075 | 08/12/2008 10:13:30 | 385 | 33 | Interesting coding exercises for noobs | I am running a series of workshops for colleagues cross training to C#. The theory content is fine, but I am finding it hard to come up with interesting exercises for them to do.
Anyone have an ideas or links to exercies that are simple enough for noobs, but interesting enough to keep their interest?
| homework | null | null | null | null | 12/10/2011 05:59:34 | not constructive | Interesting coding exercises for noobs
===
I am running a series of workshops for colleagues cross training to C#. The theory content is fine, but I am finding it hard to come up with interesting exercises for them to do.
Anyone have an ideas or links to exercies that are simple enough for noobs, but interesting e... | 4 |
16,199 | 08/19/2008 13:57:33 | 1,491,425 | 08/13/2008 13:49:51 | 1 | 0 | Web App - Dashboard Type GUI - Interface | I'm looking to create a dashboard type gui for a web application. I'm looking for the user to be able to drag and drop different elements (probably either image buttons, anchor tags, or maybe just divs) to different (defined) places and be able to save their setup (in a cookie or on the server). I'm working with c# i... | c# | asp.net | javascript | gui | null | 02/04/2012 14:53:57 | not constructive | Web App - Dashboard Type GUI - Interface
===
I'm looking to create a dashboard type gui for a web application. I'm looking for the user to be able to drag and drop different elements (probably either image buttons, anchor tags, or maybe just divs) to different (defined) places and be able to save their setup (in a co... | 4 |
16,209 | 08/19/2008 14:02:01 | 982 | 08/11/2008 12:08:33 | 59 | 10 | Displaying Version Information in a Web Service | Can anyone suggest a way of getting version information into a Web Service. (VB.NET)
I would like to dynamically use the assembly version in the title or description, but the attributes require constants.
Is manually writing the version info as a string the only way of displaying the information on the .asmx pag... | vb.net | webservices | version | null | null | null | open | Displaying Version Information in a Web Service
===
Can anyone suggest a way of getting version information into a Web Service. (VB.NET)
I would like to dynamically use the assembly version in the title or description, but the attributes require constants.
Is manually writing the version info as a string the on... | 0 |
16,233 | 08/19/2008 14:13:18 | 1,000 | 08/11/2008 12:41:19 | 206 | 8 | Fonts on the Web | The collection of fonts available to a web developer is depressingly limited. I remember reading long ago about TrueDoc, as a way of shipping fonts alongside a website - but it seems to have languished. Has anybody used this, or something similar? Is it supported by enough browsers? Am I missing a good solution?
Not... | fonts | html | null | null | null | null | open | Fonts on the Web
===
The collection of fonts available to a web developer is depressingly limited. I remember reading long ago about TrueDoc, as a way of shipping fonts alongside a website - but it seems to have languished. Has anybody used this, or something similar? Is it supported by enough browsers? Am I missing a... | 0 |
16,248 | 08/19/2008 14:19:06 | 1,169 | 08/13/2008 09:39:24 | 105 | 10 | Getting the subversion repository number into code... | I'd like to implement a way of recording the version of a project within code, so that it can be used when testing and to help track bugs.
It seems the best version number to use would just be the current revision number from Subversion. Is there an easy way to hook this number into a (C++ in my case) header file or ... | testing | subversion | debugging | version | revision | null | open | Getting the subversion repository number into code...
===
I'd like to implement a way of recording the version of a project within code, so that it can be used when testing and to help track bugs.
It seems the best version number to use would just be the current revision number from Subversion. Is there an easy way ... | 0 |
16,298 | 08/19/2008 14:42:29 | 117 | 08/02/2008 05:54:20 | 546 | 25 | How to redirect siteA to siteB with A or CNAME records | I have 2 hosts and I would like to point a subdomain on host one to a subdomain on host two:
subdomain.hostone.com --> subdomain.hosttwo.com
I added a CNAME record to host one that points to subdomain.hosttwo.com but all I get is a '**400 Bad Request**' Error.
Can anyone see what I'm doing wrong? | dns | cname | webhosting | null | null | 06/20/2012 14:43:22 | off topic | How to redirect siteA to siteB with A or CNAME records
===
I have 2 hosts and I would like to point a subdomain on host one to a subdomain on host two:
subdomain.hostone.com --> subdomain.hosttwo.com
I added a CNAME record to host one that points to subdomain.hosttwo.com but all I get is a '**400 Bad Request... | 2 |
16,306 | 08/19/2008 14:44:59 | 41 | 08/01/2008 12:56:51 | 53 | 4 | C# Save Dialogs | What would be the easiest way to separate the directory name from the file name when dealing with SaveFileDialog.FileName in C#?
| c# | stringparsing | null | null | null | null | open | C# Save Dialogs
===
What would be the easiest way to separate the directory name from the file name when dealing with SaveFileDialog.FileName in C#?
| 0 |
16,326 | 08/19/2008 14:51:53 | 1,414 | 08/15/2008 15:07:31 | 89 | 14 | How can in install VS 2008 without using ~6.5GB of space on my C drive? | When I launch the [VS 2008 SP1 installer][1] it says that it needs 6,366MB, and my C drive only has 2,452MB free space. Is there a way to install it that doesn't require so much free space? I've tried [downloading the ISO image][2] and mounting that, but it still requires 5,864MB free. Am I missing any obvious command ... | vs2008 | installer | sp1 | null | null | null | open | How can in install VS 2008 without using ~6.5GB of space on my C drive?
===
When I launch the [VS 2008 SP1 installer][1] it says that it needs 6,366MB, and my C drive only has 2,452MB free space. Is there a way to install it that doesn't require so much free space? I've tried [downloading the ISO image][2] and mountin... | 0 |
16,330 | 08/19/2008 14:53:06 | 1,946 | 08/19/2008 14:53:06 | 1 | 0 | How do I handle page flow in MVC (particularly asp.net) | If you had to provide a wizard like form entry experience in mvc how would you abstract the page flow?
Thanks | mvc | asp.net-mvc | null | null | null | null | open | How do I handle page flow in MVC (particularly asp.net)
===
If you had to provide a wizard like form entry experience in mvc how would you abstract the page flow?
Thanks | 0 |
16,340 | 08/19/2008 14:55:33 | 1,948 | 08/19/2008 14:55:33 | 1 | 0 | How do I generate a hashcode from a byte array in c# | Say I have an object that stores a byte array and I want to be able to efficiently generate a hashcode for it. I've used the cryptographic hash functions for this in the past because they are easy to implement, but they are doing a lot more work than they should to be cryptographically oneway and I don't care about th... | c# | hash | null | null | null | null | open | How do I generate a hashcode from a byte array in c#
===
Say I have an object that stores a byte array and I want to be able to efficiently generate a hashcode for it. I've used the cryptographic hash functions for this in the past because they are easy to implement, but they are doing a lot more work than they shoul... | 0 |
16,363 | 08/19/2008 15:09:30 | 1,940 | 08/19/2008 14:38:08 | 1 | 0 | How do you configure VS2008 to only open one webserver in a solution with multiple projects? | Starting with 2005, VS started this behavior of when starting debugging session it spawns up a webserver for every project in a solution. I have a solution with 15 projects so it takes a while and is a waste of resources. Is there a way to configure it differently besides just using IIS? | visual-studio | debugging | null | null | null | null | open | How do you configure VS2008 to only open one webserver in a solution with multiple projects?
===
Starting with 2005, VS started this behavior of when starting debugging session it spawns up a webserver for every project in a solution. I have a solution with 15 projects so it takes a while and is a waste of resources.... | 0 |
16,396 | 08/19/2008 15:23:17 | 1,165,587 | 08/19/2008 14:42:46 | 1 | 0 | Easy way for Crystal Reports to MS Reporting Services conversion | Is there a way to easily convert Crystal Reports reports to Reporting Services RDL format?
We have quite a few reports that will be needing conversion soon.
I know about the manual process (which is basically rebuilding all your reports from scratch in RS), but my searches pointed to a few possibilities with autom... | crystal-reports | reporting-services | sqlreportingservices | migration | null | null | open | Easy way for Crystal Reports to MS Reporting Services conversion
===
Is there a way to easily convert Crystal Reports reports to Reporting Services RDL format?
We have quite a few reports that will be needing conversion soon.
I know about the manual process (which is basically rebuilding all your reports from sc... | 0 |
16,402 | 08/19/2008 15:26:40 | 652 | 08/07/2008 14:14:43 | 21 | 1 | Easy installation method for windows/ Batch Reference needed? | I have a bunch of files that I need to be able to transport and install quickly. My current method for doing so is moving a flash drive with a readme file of where stuff goes whenever I need to move stuff, which is rather inelegant and cumbersome.
My idea for a solution would be to write up a quick script to move fi... | windows | installation | batch | ms-dos | batch-file | null | open | Easy installation method for windows/ Batch Reference needed?
===
I have a bunch of files that I need to be able to transport and install quickly. My current method for doing so is moving a flash drive with a readme file of where stuff goes whenever I need to move stuff, which is rather inelegant and cumbersome.
My... | 0 |
16,403 | 08/19/2008 15:27:31 | 1,948 | 08/19/2008 14:55:33 | 1 | 0 | How do you handle white space in your HTML | One of my biggest typographical frustrations about HTML is the way that it mangles conjoined whitespace. For example if I have:
<span>Following punctuation rules. With two spaces after the period. </span>
One of the two spaces following the period will be considered to be insignificant whitespace and be re... | html | null | null | null | null | 08/01/2012 16:20:19 | not constructive | How do you handle white space in your HTML
===
One of my biggest typographical frustrations about HTML is the way that it mangles conjoined whitespace. For example if I have:
<span>Following punctuation rules. With two spaces after the period. </span>
One of the two spaces following the period will be con... | 4 |
16,406 | 08/19/2008 15:30:48 | 1,956 | 08/19/2008 15:27:25 | 1 | 0 | Best way to implement a dirty flag in EF | You can easily use the PropertyChanges events to set the flag but how do you easily reset it after a save to the ObjectContext? | framework | entity | null | null | null | null | open | Best way to implement a dirty flag in EF
===
You can easily use the PropertyChanges events to set the flag but how do you easily reset it after a save to the ObjectContext? | 0 |
16,413 | 08/19/2008 15:34:41 | 149 | 08/02/2008 15:03:56 | 343 | 20 | Parse usable Street Address, City, State, Zip from a string | Problem: I have an address field from an Access database which has been converted to Sql Server 2005. This field has everything all in one field. I need to parse out the individual sections of the address into their appropriate fields in a normalized table. I need to do this for approximately 4,000 records and it needs... | parse | string | address | null | null | null | open | Parse usable Street Address, City, State, Zip from a string
===
Problem: I have an address field from an Access database which has been converted to Sql Server 2005. This field has everything all in one field. I need to parse out the individual sections of the address into their appropriate fields in a normalized tabl... | 0 |
16,432 | 08/19/2008 15:46:53 | 920 | 08/10/2008 12:52:43 | 1 | 1 | C# String output: format or concat? | Let's say that you want to output or concat strings, what style do you prefer:
var p = new { FirstName = "Bill", LastName = "Gates" };
Console.WriteLine("{0} {1}", p.FirstName, p.LastName);
Console.WriteLine(p.FirstName + " " + p.LastName);
Do you rather use format or do ... | string | c# | codingstyle | religion | null | null | open | C# String output: format or concat?
===
Let's say that you want to output or concat strings, what style do you prefer:
var p = new { FirstName = "Bill", LastName = "Gates" };
Console.WriteLine("{0} {1}", p.FirstName, p.LastName);
Console.WriteLine(p.FirstName + " " + p.Last... | 0 |
16,434 | 08/19/2008 15:48:07 | 277 | 08/04/2008 10:55:22 | 145 | 6 | How to Test Numerical Analysis Routines? | Are there any good online resources for how to create, maintain and think about writing test routines for numerical analysis code?
One of the limitations I can see for something like testing matrix multiplication is that the obvious tests (like having one matrix being the identity) may not fully test the functionali... | testing | numerical | null | null | null | null | open | How to Test Numerical Analysis Routines?
===
Are there any good online resources for how to create, maintain and think about writing test routines for numerical analysis code?
One of the limitations I can see for something like testing matrix multiplication is that the obvious tests (like having one matrix being th... | 0 |
16,443 | 08/19/2008 15:51:34 | 1,936 | 08/19/2008 14:32:48 | 1 | 1 | Create DB table from dataset table | Is it possible (in Vb.Net 2005), without manually parsing the dataset table properties, to create the table and add it to the database?
We have old versions of our program on some machines, which obviously has our old database, and we are looking for a way to detect if there is a missing table and then generate the ... | vb.net | vs2005 | null | null | null | null | open | Create DB table from dataset table
===
Is it possible (in Vb.Net 2005), without manually parsing the dataset table properties, to create the table and add it to the database?
We have old versions of our program on some machines, which obviously has our old database, and we are looking for a way to detect if there i... | 0 |
16,447 | 08/19/2008 15:53:19 | 1,311 | 08/14/2008 13:43:09 | 151 | 19 | Select Query on 2 tables, on different database servers | I am trying to generate a report by querying 2 databases (Sybase) in classic ASP.
I have created 2 connection strings:<br>
> connA for databaseA<br>
connB for databaseB
Both databases are present on the same server (don't know if this matters)<br>
Queries:
> q1 = SELECT column1 INTO #temp FROM databaseA..... | sql | asp | vbscript | sybase | null | null | open | Select Query on 2 tables, on different database servers
===
I am trying to generate a report by querying 2 databases (Sybase) in classic ASP.
I have created 2 connection strings:<br>
> connA for databaseA<br>
connB for databaseB
Both databases are present on the same server (don't know if this matters)<br>
... | 0 |
16,451 | 08/19/2008 15:54:59 | 1,958 | 08/19/2008 15:28:47 | 1 | 0 | Calling .NET Web Service (WSE 2/3, WS-Security) from Java | I need to call a web service written in .NET from Java. The web service implements the WS-Security stack (either WSE 2 or WSE 3, it's not clear from the information I have).
The information that I received from the service provider included WSDL, a policyCache.config file, some sample C# code, and a sample applic... | .net | java | ws-security | wse | axis2 | null | open | Calling .NET Web Service (WSE 2/3, WS-Security) from Java
===
I need to call a web service written in .NET from Java. The web service implements the WS-Security stack (either WSE 2 or WSE 3, it's not clear from the information I have).
The information that I received from the service provider included WSDL, a po... | 0 |
16,458 | 08/19/2008 15:57:33 | 666 | 08/07/2008 15:47:58 | 91 | 8 | Dynamic Alphabetical Navigation | I'm using ColdFusion to return a result set from a SQL database and turn it into a list. I need some way to generate an Alphabetical Navigation bar for that list. I have ColdFusion and the jQuery library available. I'm looking to generate something like this:
A | B | C | ...
- A
- A
- B
- B
-... | javascript | sql | html | jquery | coldfusion | null | open | Dynamic Alphabetical Navigation
===
I'm using ColdFusion to return a result set from a SQL database and turn it into a list. I need some way to generate an Alphabetical Navigation bar for that list. I have ColdFusion and the jQuery library available. I'm looking to generate something like this:
A | B | C | ... ... | 0 |
16,460 | 08/19/2008 15:57:51 | 1,801 | 08/18/2008 16:01:48 | 1 | 1 | Removing N items from a list conditionally | I was writing some ASP.NET control when I came to the scenario where I needed to remove items from a list, only when they matched a certain condition.
The RemoveAll method of the generic List class does a good job, but removes _all_ items that match the condition, specified by the predicate. What if I want to only r... | .net | bestpractices | null | null | null | null | open | Removing N items from a list conditionally
===
I was writing some ASP.NET control when I came to the scenario where I needed to remove items from a list, only when they matched a certain condition.
The RemoveAll method of the generic List class does a good job, but removes _all_ items that match the condition, spec... | 0 |
16,473 | 08/19/2008 16:03:46 | 1,228 | 08/13/2008 13:58:55 | 380 | 31 | Can using lambdas as event handlers cause a memory leak? | Say we have the following method:
private MyObject foo = new MyObject();
// and later in the class
public void PotentialMemoryLeaker(){
int firedCount = 0;
foo.AnEvent += (o,e) => { firedCount++;Console.Write(firedCount);};
foo.MethodThatFiresAnEvent();
}
If the... | memory | leak | lambda | event | handler | null | open | Can using lambdas as event handlers cause a memory leak?
===
Say we have the following method:
private MyObject foo = new MyObject();
// and later in the class
public void PotentialMemoryLeaker(){
int firedCount = 0;
foo.AnEvent += (o,e) => { firedCount++;Console.Write(firedC... | 0 |
16,483 | 08/19/2008 16:07:50 | 164 | 08/02/2008 20:59:47 | 253 | 9 | Convince Firefox to send an If-Modified-Since header over HTTPS | How can I convince Firefox (3.0.1, if it matters) to send an If-Modified-Since header in an HTTPS request? It sends the header if the request uses plain HTTP and my server dutifully honors it. But when I request the same resource from the same server using HTTPS instead (i.e., simply changing the http:// in the URL t... | http | firefox | webdevelopment | null | null | null | open | Convince Firefox to send an If-Modified-Since header over HTTPS
===
How can I convince Firefox (3.0.1, if it matters) to send an If-Modified-Since header in an HTTPS request? It sends the header if the request uses plain HTTP and my server dutifully honors it. But when I request the same resource from the same serve... | 0 |
16,487 | 08/19/2008 16:11:16 | 1,969 | 08/19/2008 16:03:19 | 1 | 0 | How can I deploy artifacts from a Maven build to the SourceForge File Release System? | I am using SourceForge for some Open Source projects and I want to automate the deployment of releases to the SourceForge File Release System. I use Maven for my builds and the standard SFTP deployment mechanism doesn't seem to work unless you do some manual preparation work. I have come across some old postings on oth... | java | maven-2 | sourceforge | null | null | null | open | How can I deploy artifacts from a Maven build to the SourceForge File Release System?
===
I am using SourceForge for some Open Source projects and I want to automate the deployment of releases to the SourceForge File Release System. I use Maven for my builds and the standard SFTP deployment mechanism doesn't seem to w... | 0 |
16,491 | 08/19/2008 16:13:31 | 1,545 | 08/16/2008 14:28:42 | 83 | 15 | Restore database backup over the network. | How do you restore a database backup using SQL Server 2005 over the network? I recall doing this before but there was something odd about the way you had to do it. | database | mssql | null | null | null | null | open | Restore database backup over the network.
===
How do you restore a database backup using SQL Server 2005 over the network? I recall doing this before but there was something odd about the way you had to do it. | 0 |
16,501 | 08/19/2008 16:20:37 | 1,344 | 08/14/2008 16:03:00 | 480 | 41 | What is a lambda (function)? | Hey guys, I see this term being used a bit, and a Google search didn't quite yield the most clarity, so help me out: for a person without a comp-sci background, what is a lambda in the world of Computer Science? | lambda | computerscience | theory | null | null | null | open | What is a lambda (function)?
===
Hey guys, I see this term being used a bit, and a Google search didn't quite yield the most clarity, so help me out: for a person without a comp-sci background, what is a lambda in the world of Computer Science? | 0 |
16,517 | 08/19/2008 16:32:01 | 1,683 | 08/18/2008 00:30:32 | 28 | 0 | Image size for BannerBitmap property in Windows Installer | I'm working on a quick setup program in VS2005 and wanted to change the banner bitmap. Anyone know off-hand what the ideal (or req'ed) dimensions are for the new banner image? Thanks. | windows-installer | null | null | null | null | null | open | Image size for BannerBitmap property in Windows Installer
===
I'm working on a quick setup program in VS2005 and wanted to change the banner bitmap. Anyone know off-hand what the ideal (or req'ed) dimensions are for the new banner image? Thanks. | 0 |
16,529 | 08/19/2008 16:49:30 | 1,951 | 08/19/2008 15:06:09 | 61 | 4 | Communication between Javascript and the server | I've been developing a "Form Builder" in Javascript, and coming up to the part where I'll be sending the spec for the form back to the server to be stored. The builder maintains an internal data structure that represents the fields, label, options (for select/checkbox/radio), mandatory status, and the general sorting o... | javascript | bestpractices | null | null | null | null | open | Communication between Javascript and the server
===
I've been developing a "Form Builder" in Javascript, and coming up to the part where I'll be sending the spec for the form back to the server to be stored. The builder maintains an internal data structure that represents the fields, label, options (for select/checkbo... | 0 |
16,556 | 08/19/2008 17:05:21 | 1,782 | 08/18/2008 14:30:58 | 1 | 3 | VS.NET Application Diagrams | Have you used VS.NET Architect Edition's Application and System diagrams to start designing a solution?
If so, did you find it useful?
Did the "automatic implementation" feature worked ok? | c# | visual-studio | .net | null | null | null | open | VS.NET Application Diagrams
===
Have you used VS.NET Architect Edition's Application and System diagrams to start designing a solution?
If so, did you find it useful?
Did the "automatic implementation" feature worked ok? | 0 |
16,557 | 08/19/2008 17:05:26 | 1,104 | 08/12/2008 12:02:17 | 91 | 16 | Overiding the equals method vs creating a new method | I have always thought that the .equals() method in java should be overridden to be made specific to the class you have created. In other words to look for equivalence of two different instances rather than two references to the same instance. However I have encountered other programmers who seem to think that the defau... | java | oodesign | null | null | null | null | open | Overiding the equals method vs creating a new method
===
I have always thought that the .equals() method in java should be overridden to be made specific to the class you have created. In other words to look for equivalence of two different instances rather than two references to the same instance. However I have enco... | 0 |
16,563 | 08/19/2008 17:09:18 | 428,190 | 08/09/2008 23:23:13 | 94 | 26 | Need help writing a regex statement. [PHP] | So I'm working on a project that will allow users to enter poker hand histories from sites like PokerStars and then display the hand to them.
It seems that regex would be a great tool for this, however I rank my regex knowledge at "slim to none".
So I'm using PHP and looping through this block of text line by lin... | php | regex | regularexpression | regular-expression | null | null | open | Need help writing a regex statement. [PHP]
===
So I'm working on a project that will allow users to enter poker hand histories from sites like PokerStars and then display the hand to them.
It seems that regex would be a great tool for this, however I rank my regex knowledge at "slim to none".
So I'm using PHP an... | 0 |
16,568 | 08/19/2008 17:13:11 | 1,944 | 08/19/2008 14:49:14 | 18 | 0 | How to select the nth row in a SQL database table? | I'm interested in learning some (ideally) database agnostic ways of selecting the *n*th row from a database table. It would also be interesting to see how this can be achieved using the native functionality of the following databases:
- SQL Server
- MySQL
- PostgreSQL
- SQLite
- Oracle
I am current... | sql | database | null | null | null | null | open | How to select the nth row in a SQL database table?
===
I'm interested in learning some (ideally) database agnostic ways of selecting the *n*th row from a database table. It would also be interesting to see how this can be achieved using the native functionality of the following databases:
- SQL Server
- MySQL... | 0 |
16,610 | 08/19/2008 17:36:05 | 1,219 | 08/13/2008 13:44:47 | 598 | 42 | How do you deal with transport-level errors in SqlConnection? | Every now and then in a high volume .NET application, you might see this exception when you try to execute a query:
System.Data.SqlClient.SqlException:
A transport-level error has occurred when sending the request to the server.
According to my research, this is something that "just happens" and not much can be... | c# | .net | sql | database | mssql | null | open | How do you deal with transport-level errors in SqlConnection?
===
Every now and then in a high volume .NET application, you might see this exception when you try to execute a query:
System.Data.SqlClient.SqlException:
A transport-level error has occurred when sending the request to the server.
According to my ... | 0 |
16,611 | 08/19/2008 17:38:56 | 1,894 | 08/19/2008 07:05:25 | 1 | 0 | Validation Patterns for Custom XML Documents | I have a web application that generates a medium sized XML dataset to be consumed by a third party. I thought it would be a good idea to provide some form of schema document for the XML that I generate so I pasted the XML into Visual Studio and got it to generate an XSD. The annoying thing is that my XML doesn't valida... | c# | visual-studio | xml | schema | null | null | open | Validation Patterns for Custom XML Documents
===
I have a web application that generates a medium sized XML dataset to be consumed by a third party. I thought it would be a good idea to provide some form of schema document for the XML that I generate so I pasted the XML into Visual Studio and got it to generate an XSD... | 0 |
16,615 | 08/19/2008 17:44:27 | 1,849 | 08/18/2008 21:46:57 | 6 | 3 | Is FindFirstChangeNotification the best API to use for file system change notification on windows? | I'm new to windows programming and I'm trying to get notified of all changes to the file system (similar to the information that FileMon from SysInternals displays, but via an API). Is a FindFirstChangeNotification for each (non-network, non-substed) drive my best bet or are there other more suitable C/C++ APIs? | windows | notifications | null | null | null | null | open | Is FindFirstChangeNotification the best API to use for file system change notification on windows?
===
I'm new to windows programming and I'm trying to get notified of all changes to the file system (similar to the information that FileMon from SysInternals displays, but via an API). Is a FindFirstChangeNotification f... | 0 |
16,616 | 08/19/2008 17:47:23 | 1,989 | 08/19/2008 17:46:03 | 1 | 0 | ArgumentNullException for Integer | In .NET, is it more appropriate to throw an argument null exception for an Integer if the value is Integer.MinValue or Integer = 0 (assuming that 0 is not a valid value)? | .net | null | null | null | null | null | open | ArgumentNullException for Integer
===
In .NET, is it more appropriate to throw an argument null exception for an Integer if the value is Integer.MinValue or Integer = 0 (assuming that 0 is not a valid value)? | 0 |
16,634 | 08/19/2008 18:01:43 | 162 | 08/02/2008 20:09:15 | 114 | 7 | What is the best method for checking if a file exists from a SQL Server 2005 stored procedure? | We used the "undocumented" xp_fileexist stored procedure for years in SQL Server 2000 and had no trouble with it. In 2005, it seems that they modified the behavior slightly to always return a 0 if the executing user account is not a sysadmin. It also seems to return a zero if the SQL Server service is running under the... | sql-server | null | null | null | null | null | open | What is the best method for checking if a file exists from a SQL Server 2005 stored procedure?
===
We used the "undocumented" xp_fileexist stored procedure for years in SQL Server 2000 and had no trouble with it. In 2005, it seems that they modified the behavior slightly to always return a 0 if the executing user acco... | 0 |
16,638 | 08/19/2008 18:04:16 | 1,992 | 08/19/2008 18:04:16 | 1 | 0 | Google Maps API - Problems with class GLatLngBounds | I am having some trouble with the [Google Maps API][1]. I have an array which holds a ojbect I created to store points.
My array and class:
var tPoints = [];
function tPoint(name) {
var id = name;
var points = [];
var pointsCount = 0;
...
this.getHead... | javascript | google-maps | null | null | null | null | open | Google Maps API - Problems with class GLatLngBounds
===
I am having some trouble with the [Google Maps API][1]. I have an array which holds a ojbect I created to store points.
My array and class:
var tPoints = [];
function tPoint(name) {
var id = name;
var points = [];
... | 0 |
16,660 | 08/19/2008 18:15:29 | 1,194 | 08/13/2008 12:27:52 | 33 | 5 | Internationalization in SSRS | What's the best way to handle translations for stock text in a SSRS. For instance - if I have a report that shows a grid of contents what's the best way to have the correct translation for the header of that grid show up, assuming the culture of the report is set correctly.
Put another way - is it possible to do res... | reporting-services | null | null | null | null | null | open | Internationalization in SSRS
===
What's the best way to handle translations for stock text in a SSRS. For instance - if I have a report that shows a grid of contents what's the best way to have the correct translation for the header of that grid show up, assuming the culture of the report is set correctly.
Put anot... | 0 |
16,716 | 08/19/2008 18:44:32 | 1,838 | 08/18/2008 19:57:59 | 11 | 2 | OpenId authentication in ASP.NET? | I am starting to build a new web app that will require user accounts. Now that I have an OpenId that I am using for this site I thought it would be cool if I could use OpenId for authentication in my app. Are there any good tutorials on how to integrate OpenId with an ASP.NET site? | openid | asp.net | null | null | null | null | open | OpenId authentication in ASP.NET?
===
I am starting to build a new web app that will require user accounts. Now that I have an OpenId that I am using for this site I thought it would be cool if I could use OpenId for authentication in my app. Are there any good tutorials on how to integrate OpenId with an ASP.NET sit... | 0 |
16,739 | 08/19/2008 18:54:57 | 1,982 | 08/19/2008 16:54:34 | 21 | 1 | Where is a good place to find a talented web designer? | I am looking for a talented web designer to contribute to an new open source project. Can anybody recommend a good way to find one. | design | source | open | null | null | null | open | Where is a good place to find a talented web designer?
===
I am looking for a talented web designer to contribute to an new open source project. Can anybody recommend a good way to find one. | 0 |
16,747 | 08/19/2008 19:02:55 | 1,549 | 08/16/2008 15:12:49 | 31 | 5 | What's the best way to implement field validation using ASP.NET MVC? | I am building a public website using ASP.NET, as part of the deliverable I need to do an Admin Site for data entry of the stuff shown in the public site, I was wondering what techniques or procedures are people using to validate entries using ASP.NET MVC.
| c# | asp.net | mvc | asp.net-mvc | fieldvalidation | null | open | What's the best way to implement field validation using ASP.NET MVC?
===
I am building a public website using ASP.NET, as part of the deliverable I need to do an Admin Site for data entry of the stuff shown in the public site, I was wondering what techniques or procedures are people using to validate entries using ASP... | 0 |
16,759 | 08/19/2008 19:11:32 | 572 | 08/06/2008 20:56:54 | 751 | 69 | How do you use back-references to PCREs in PHP? | I read this [PHP RegEx page][1], but either I'm missing something, misreading something, or it doesn't work the way they say. I'm guessing it's one of the first two.
$str = preg_replace("([|]\d*)", "\1;", $str);
[1]: http://us.php.net/manual/en/regexp.reference.php | php | pcre | regex | regularexpression | null | null | open | How do you use back-references to PCREs in PHP?
===
I read this [PHP RegEx page][1], but either I'm missing something, misreading something, or it doesn't work the way they say. I'm guessing it's one of the first two.
$str = preg_replace("([|]\d*)", "\1;", $str);
[1]: http://us.php.net/manual/en/regexp.r... | 0 |
16,762 | 08/19/2008 19:14:42 | 2,007 | 08/19/2008 19:05:59 | 1 | 0 | Is there any tool for merging CSS? | I have a couple CSS files with overlapping CSS selectors that I'd like to programmatically merge (as in not just appending one file to the end of the other). Is there any tool to do this online? or a Firefox extension perhaps? | css | null | null | null | null | null | open | Is there any tool for merging CSS?
===
I have a couple CSS files with overlapping CSS selectors that I'd like to programmatically merge (as in not just appending one file to the end of the other). Is there any tool to do this online? or a Firefox extension perhaps? | 0 |
16,770 | 08/19/2008 19:18:41 | 1,659 | 08/17/2008 20:20:20 | 491 | 58 | Haskell's algebraic data types | I trying to grok all of Haskell's concepts.
In what ways are algebraic data types similar to generic types, e.g., in C# and Java? And how are they different? What's so algebraic about them anyway?
I'm familiar with universal algebra and its rings and fields, but I only have a vague idea of how Haskell's types wo... | functionalprogramming | haskell | types | type-systems | type-theory | null | open | Haskell's algebraic data types
===
I trying to grok all of Haskell's concepts.
In what ways are algebraic data types similar to generic types, e.g., in C# and Java? And how are they different? What's so algebraic about them anyway?
I'm familiar with universal algebra and its rings and fields, but I only have a ... | 0 |
16,792 | 08/19/2008 19:32:38 | 941 | 08/10/2008 21:04:56 | 487 | 54 | SQL Server Maximum row size | Came across this error today. Wondering if anyone can tell me what it means:
>> Cannot sort a row of size 9522, which is greater than the allowable maximum of 8094.
Is that 8094 bytes? Characters? Fields? Is this a problem joining multiple tables that are exceeding some limit? | mssql | null | null | null | null | null | open | SQL Server Maximum row size
===
Came across this error today. Wondering if anyone can tell me what it means:
>> Cannot sort a row of size 9522, which is greater than the allowable maximum of 8094.
Is that 8094 bytes? Characters? Fields? Is this a problem joining multiple tables that are exceeding some limit? | 0 |
16,795 | 08/19/2008 19:35:30 | 1,366 | 08/14/2008 18:30:52 | 128 | 6 | PHPs htmlspecialcharacters equivalent in .NET? | PHP has a great function called [htmlspecialcharacters()][1] where you pass it a string and it replaces all of HTML's special characters with their safe equivalents, it's *almost* a one stop shop for sanitizing input. Very nice right?
Well is there an equivalent in any of the .NET libraries?
If not, can anyone li... | c# | .net | asp.net | php | null | null | open | PHPs htmlspecialcharacters equivalent in .NET?
===
PHP has a great function called [htmlspecialcharacters()][1] where you pass it a string and it replaces all of HTML's special characters with their safe equivalents, it's *almost* a one stop shop for sanitizing input. Very nice right?
Well is there an equivalent in... | 0 |
16,804 | 08/19/2008 19:38:38 | 733 | 08/08/2008 12:53:16 | 192 | 24 | Enterprise Reporting Solutions | What options are there in the industry for enterprise reporting? I'm currently using SSRS 2005, and know that there is another version coming out with the new release of MSSQL.
But, it seems like it might also be a good time to investigate the market to see what else is out there.
What have you encountered? Do ... | sql | reporting-services | reporting | null | null | null | open | Enterprise Reporting Solutions
===
What options are there in the industry for enterprise reporting? I'm currently using SSRS 2005, and know that there is another version coming out with the new release of MSSQL.
But, it seems like it might also be a good time to investigate the market to see what else is out there... | 0 |
16,808 | 08/19/2008 19:42:15 | 1,624 | 08/17/2008 16:13:30 | 1 | 0 | Error viewing csproj property pages in VisualStudio2005 | When I goto view the property page for my CSharp test application I get the following error.
"An error occurred trying to load the page. COM object that has been seperated from its underlying RCW cannot be used."
The only thing that seems to fix it is rebooting my PC! | visual-studio | null | null | null | null | null | open | Error viewing csproj property pages in VisualStudio2005
===
When I goto view the property page for my CSharp test application I get the following error.
"An error occurred trying to load the page. COM object that has been seperated from its underlying RCW cannot be used."
The only thing that seems to fix it is r... | 0 |
16,815 | 08/19/2008 19:49:54 | 1,912 | 08/19/2008 14:07:17 | 1 | 8 | Accessing html parameter in PHP | I'm trying to do a simple test php script for sessions. Basically it increments a counter (stored in $_SESSION) every time you refresh that page. That works, but I'm trying to have a link to destroy the session which reloads the page with the ?destroy=1 parameter. I've tried a couple of if statements to see if that par... | php | null | null | null | null | null | open | Accessing html parameter in PHP
===
I'm trying to do a simple test php script for sessions. Basically it increments a counter (stored in $_SESSION) every time you refresh that page. That works, but I'm trying to have a link to destroy the session which reloads the page with the ?destroy=1 parameter. I've tried a coupl... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.