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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
16,828 | 08/19/2008 20:00:33 | 1,797 | 08/18/2008 15:46:11 | 199 | 21 | How do you do a case insensitive search using a pattern modifier using less ? | It seems like the only way to do this is to pass the -i parameter in when you initially run less. Does anyone know of some secret hack to make something like this work
/something to search for/i
? | unix | searching | null | null | null | null | open | How do you do a case insensitive search using a pattern modifier using less ?
===
It seems like the only way to do this is to pass the -i parameter in when you initially run less. Does anyone know of some secret hack to make something like this work
/something to search for/i
? | 0 |
16,829 | 08/19/2008 20:01:30 | 2,017 | 08/19/2008 20:01:30 | 1 | 0 | Structure of Projects in Version Control | I know there are at least 10 different ways to structure project in version control. I'm curious what some methods being used are and which ones work for you. I've worked with SVN, TFS, and currently/unfortunately VSS. I've seen version control implemented very poorly and just OK, but never great.
Just to get the ... | version-control | null | null | null | null | null | open | Structure of Projects in Version Control
===
I know there are at least 10 different ways to structure project in version control. I'm curious what some methods being used are and which ones work for you. I've worked with SVN, TFS, and currently/unfortunately VSS. I've seen version control implemented very poorly and... | 0 |
16,832 | 08/19/2008 20:06:55 | 1,185 | 08/13/2008 12:02:03 | 435 | 48 | Lightweight source control | I am looking for a lightweight source control system for use on "hobby" projects with only one person (myself) working on the project. Does anyone have any suggestions? | sourcecontrol | null | null | null | null | null | open | Lightweight source control
===
I am looking for a lightweight source control system for use on "hobby" projects with only one person (myself) working on the project. Does anyone have any suggestions? | 0 |
16,833 | 08/19/2008 20:07:43 | 1,786 | 08/18/2008 14:52:43 | 21 | 4 | How do you download and extract a gzipped file with C#? | I need to periodically download, extract and save the contents of http://data.dot.state.mn.us/dds/det_sample.xml.gz to disk. Anyone have experience downloading gzipped files with C#? | c# | gzip | null | null | null | null | open | How do you download and extract a gzipped file with C#?
===
I need to periodically download, extract and save the contents of http://data.dot.state.mn.us/dds/det_sample.xml.gz to disk. Anyone have experience downloading gzipped files with C#? | 0 |
16,860 | 08/19/2008 20:18:09 | 149 | 08/02/2008 15:03:56 | 368 | 21 | Getting Started with Unit Testing | Unit tests are small blocks of innocuous code that use your assumptions to see if a function returns the expected result.
My question is, what are the current "best practices" in terms of tools as well as when and where to use unit testing as part of your daily coding?
Lets try to be somewhat language agnostic a... | bestpractices | unit-testing | null | null | null | null | open | Getting Started with Unit Testing
===
Unit tests are small blocks of innocuous code that use your assumptions to see if a function returns the expected result.
My question is, what are the current "best practices" in terms of tools as well as when and where to use unit testing as part of your daily coding?
Lets... | 0 |
16,861 | 08/19/2008 20:18:31 | 2,019 | 08/19/2008 20:18:31 | 1 | 0 | Sanitising user input using Python | What's the best way to sanitise user input for a Python-based web app? Is there a single function to remove HTML chars and any other necessary characters combinations to ensure that an XSS or SQL injection attack isn't possible?
| python | xss | null | null | null | null | open | Sanitising user input using Python
===
What's the best way to sanitise user input for a Python-based web app? Is there a single function to remove HTML chars and any other necessary characters combinations to ensure that an XSS or SQL injection attack isn't possible?
| 0 |
16,873 | 08/19/2008 20:23:25 | 381 | 08/05/2008 10:39:26 | 975 | 18 | Choosing a multiplier for a (string) hash function | Do you have any advice/rules on selecting a multiplier to use in a (multiplicative) hash function. The function is computing the hash value of a string. | performance | algorithm | null | null | null | null | open | Choosing a multiplier for a (string) hash function
===
Do you have any advice/rules on selecting a multiplier to use in a (multiplicative) hash function. The function is computing the hash value of a string. | 0 |
16,888 | 08/19/2008 20:30:59 | 1,858 | 08/18/2008 22:50:18 | 6 | 0 | Separating What from How - Design in an Agile Environment | In an agile (scrum) environment, how do you get product management to create small enough backlog items or stories without having them do all the design, which is not their specialty? In other words, how do you separate the what (business requirements) from the how (design) in agile development? | agile | productmanagement | scrum | null | null | null | open | Separating What from How - Design in an Agile Environment
===
In an agile (scrum) environment, how do you get product management to create small enough backlog items or stories without having them do all the design, which is not their specialty? In other words, how do you separate the what (business requirements) fro... | 0 |
16,891 | 08/19/2008 20:32:42 | 1,789 | 08/18/2008 15:06:40 | 1 | 0 | VS 2008 - ctrl-tab behavior | As you may know, in VS 2008 ctrl+tab brings up a nifty navigator window with a thumbnail of each file. I love it, but there is one tiny thing that is annoying to me about this feature: *the window stays around after releasing the ctrl key*. When doing an alt-tab in windows, you can hit tab to get to the item you want (... | vs2008 | ide | null | null | null | null | open | VS 2008 - ctrl-tab behavior
===
As you may know, in VS 2008 ctrl+tab brings up a nifty navigator window with a thumbnail of each file. I love it, but there is one tiny thing that is annoying to me about this feature: *the window stays around after releasing the ctrl key*. When doing an alt-tab in windows, you can hit ... | 0 |
16,897 | 08/19/2008 20:34:13 | 2,015 | 08/19/2008 19:42:43 | 1 | 2 | Delphi and COM: TLB and maintenance issues | In the company that i work, we develop all the GUI in C#, but the application kernel is mainly developed in Delphi 5 (for historical reasons), with a lot of components made in COM+. Related to this very specific sort of application a I two questions:
- Experienced guys in Delphi and/or COM, do you have any workround... | delphi | com | null | null | null | null | open | Delphi and COM: TLB and maintenance issues
===
In the company that i work, we develop all the GUI in C#, but the application kernel is mainly developed in Delphi 5 (for historical reasons), with a lot of components made in COM+. Related to this very specific sort of application a I two questions:
- Experienced guys... | 0 |
16,918 | 08/19/2008 20:44:48 | 2,018 | 08/19/2008 20:14:45 | 1 | 4 | Beginners Guide to Haskell? | I've been looking for a decent guide to Haskell for some time, but haven't been able to find one that seems interesting enough to read through and/or makes sense.
I've had prior exposure to Haskell a few years back, but I can't remember much about it. I remember the "Aha!"-feeling was incredible when I finally got i... | functionalprogramming | haskell | null | null | null | 05/01/2012 23:08:09 | not constructive | Beginners Guide to Haskell?
===
I've been looking for a decent guide to Haskell for some time, but haven't been able to find one that seems interesting enough to read through and/or makes sense.
I've had prior exposure to Haskell a few years back, but I can't remember much about it. I remember the "Aha!"-feeling wa... | 4 |
16,926 | 08/19/2008 20:49:47 | 744 | 08/08/2008 13:43:38 | 11 | 1 | Tool for generating CSS skeleton? | My HTML is all marked up, ready to make it rain CSS. The problem is that I have to go back and find out what all my id and class names are so I can get started. What I need is a tool that parses my HTML and spits out a stylesheet with all the possible elements ready to be styled (maybe even with some defaults). Does... | css | markup | null | null | null | null | open | Tool for generating CSS skeleton?
===
My HTML is all marked up, ready to make it rain CSS. The problem is that I have to go back and find out what all my id and class names are so I can get started. What I need is a tool that parses my HTML and spits out a stylesheet with all the possible elements ready to be styled... | 0 |
16,935 | 08/19/2008 20:53:53 | 2,024 | 08/19/2008 20:53:53 | 1 | 0 | Ant's <javac> tasks throws StackOverflowException | I'm trying to compile over 100 java classes from different packages from a clean
directory (no incremental compiles) using the following ant tasks:
<target name="-main-src-depend">
<depend srcdir="${src.dir}"
destdir="${bin.dir}"
cache="${cache.dir}"
closure="true"/>
</target>
<target n... | java | ant | null | null | null | null | open | Ant's <javac> tasks throws StackOverflowException
===
I'm trying to compile over 100 java classes from different packages from a clean
directory (no incremental compiles) using the following ant tasks:
<target name="-main-src-depend">
<depend srcdir="${src.dir}"
destdir="${bin.dir}"
cache="${cache.... | 0 |
16,939 | 08/19/2008 20:57:24 | 1,048 | 08/11/2008 19:34:31 | 18 | 5 | Difference between a byte array and MemoryStream | I am reading a binary file into a parsing program. I will need to iterate through the file and look for certain markers so I can split the file up and pass those parts into their respective object’s constructors.
Is there an advantage to holding the file as a stream, either MemoryStream or FileStream, or should it ... | performance | comparison | null | null | null | null | open | Difference between a byte array and MemoryStream
===
I am reading a binary file into a parsing program. I will need to iterate through the file and look for certain markers so I can split the file up and pass those parts into their respective object’s constructors.
Is there an advantage to holding the file as a st... | 0 |
16,940 | 08/19/2008 20:57:28 | 230 | 08/03/2008 19:32:46 | 529 | 28 | VS 2008 - Detachable code tabs | Admittedly this might not be a problem on larger screens, but my employer is abit tight and refuses to buy monitors larger than 19inch, this means that I dont have much screen real estate to view all the Visual Studio windows and my code at the same time, or two pieces of code at once. Is there anything that allows me ... | vs2008 | null | null | null | null | null | open | VS 2008 - Detachable code tabs
===
Admittedly this might not be a problem on larger screens, but my employer is abit tight and refuses to buy monitors larger than 19inch, this means that I dont have much screen real estate to view all the Visual Studio windows and my code at the same time, or two pieces of code at onc... | 0 |
16,963 | 08/19/2008 21:09:30 | 1,368 | 08/14/2008 18:57:47 | 73 | 7 | Who actually uses DataGrid/GridView/FormVIew/etc in product apps? | Curious if others feel the same as me. To me, controls such as datagrid/gridview/formview/etc. are great for presentations or demo's only. To take the time and tweak this controls, override their default behavior (hooking into their silly events etc.) is a big headache. The only control that I use is the repeater, si... | datacontrols | .net | bloatware | null | null | null | open | Who actually uses DataGrid/GridView/FormVIew/etc in product apps?
===
Curious if others feel the same as me. To me, controls such as datagrid/gridview/formview/etc. are great for presentations or demo's only. To take the time and tweak this controls, override their default behavior (hooking into their silly events e... | 0 |
16,964 | 08/19/2008 21:10:47 | 614 | 08/07/2008 10:47:20 | 135 | 13 | Creating your own table with CommandArgument buttons in ASP.NET MVC | I'm trying to implement something like this:
<div>
<table>
<thead>
<tr>
<td>Port name</td>
<td>Current port version</td>
<td>New port version</td>
<td>Update</td>
</tr>
... | asp.net-mvc | null | null | null | null | null | open | Creating your own table with CommandArgument buttons in ASP.NET MVC
===
I'm trying to implement something like this:
<div>
<table>
<thead>
<tr>
<td>Port name</td>
<td>Current port version</td>
<td>New port vers... | 0 |
16,965 | 08/19/2008 21:11:45 | 2,018 | 08/19/2008 20:14:45 | 23 | 5 | JRuby / Rack deployment | I know this is pretty exotic, but I want to deploy a Ruby web application (not Rails, but Rack based, so it plugs into most Ruby servers just fine) using JRuby. Google and friends give me a few success stories, but mostly rails related and if not, no details on the deployment are provided. The framework I'm using is Ra... | ruby | rack | deployment | webdeploymentproject | webdevelopment | null | open | JRuby / Rack deployment
===
I know this is pretty exotic, but I want to deploy a Ruby web application (not Rails, but Rack based, so it plugs into most Ruby servers just fine) using JRuby. Google and friends give me a few success stories, but mostly rails related and if not, no details on the deployment are provided. ... | 0 |
16,969 | 08/19/2008 21:13:37 | 2,009 | 08/19/2008 19:16:03 | 1 | 0 | .net solution subversion best practices? | There are so many examples of how to set up your dotnet projects but none seemed to fit our situation.
We have one solution with multiple applications, multiple dependencies. We're on SourceSafe currently and are planning to move to subversion but are finding it difficult to organize our source the right way.
-... | visual-studio | subversion | sourcecontrol | configurationmanagement | deployment | null | open | .net solution subversion best practices?
===
There are so many examples of how to set up your dotnet projects but none seemed to fit our situation.
We have one solution with multiple applications, multiple dependencies. We're on SourceSafe currently and are planning to move to subversion but are finding it difficu... | 0 |
16,970 | 08/19/2008 21:13:55 | 1,043 | 08/11/2008 18:08:32 | 489 | 40 | Recommended notes/doc service that offers an API? | I'm looking for a good online service for notes/documents (think Google Docs) that has a decent web UI and offers an API for clients to read/write the stored data.
Google Docs is almost perfect - except there's no way to update the contents of existing documents :(
Any suggestions appreciated!
| document-server | null | null | null | null | null | open | Recommended notes/doc service that offers an API?
===
I'm looking for a good online service for notes/documents (think Google Docs) that has a decent web UI and offers an API for clients to read/write the stored data.
Google Docs is almost perfect - except there's no way to update the contents of existing documents... | 0 |
16,971 | 08/19/2008 21:14:32 | 1,976 | 08/19/2008 16:34:45 | 11 | 1 | How do I reset an increment identity's starting value in SQL Server | I would like to have a nice template for doing this in development. | mssql | sql-server | identity | null | null | null | open | How do I reset an increment identity's starting value in SQL Server
===
I would like to have a nice template for doing this in development. | 0 |
16,981 | 08/19/2008 21:19:50 | 1,043 | 08/11/2008 18:08:32 | 489 | 40 | If two monitors are good are three monitors better? And how? | I'd be interested to hear peoples thoughts about the productivity gains (or lackof) from moving from a dual to triple monitor setup.
I find a multi-monitor setup indispensable both in the office and at home (for hobby development). Since I start dividing my time 50/50 between development and management I'm beginning... | productivity | workenvironment | null | null | null | 11/17/2011 22:18:14 | off topic | If two monitors are good are three monitors better? And how?
===
I'd be interested to hear peoples thoughts about the productivity gains (or lackof) from moving from a dual to triple monitor setup.
I find a multi-monitor setup indispensable both in the office and at home (for hobby development). Since I start divid... | 2 |
16,991 | 08/19/2008 21:26:22 | 2,018 | 08/19/2008 20:14:45 | 23 | 7 | What Ruby IDE do you prefer? | I've been using Eclipse with RDT (not RadRails) a lot lately, and I'm quite happy with it, but I'm wondering if you guys know any decent alternatives. I know NetBeans also supports Ruby these days, but I'm not sure what it has to offer over Eclipse.
Please, list any features you think are brilliant or useful when su... | ruby | ide | editor | null | null | 12/22/2011 03:43:29 | not constructive | What Ruby IDE do you prefer?
===
I've been using Eclipse with RDT (not RadRails) a lot lately, and I'm quite happy with it, but I'm wondering if you guys know any decent alternatives. I know NetBeans also supports Ruby these days, but I'm not sure what it has to offer over Eclipse.
Please, list any features you thi... | 4 |
16,998 | 08/19/2008 21:28:53 | 2,047 | 08/19/2008 23:53:14 | 1 | 0 | Reading "chunked" response with HttpWebResponse | I'm having trouble reading a "chunked" response when using a StreamReader to read the stream returned by GetResponseStream() of a HttpWebResponse:
// response is an HttpWebResponse
StreamReader reader = new StreamReader(response.GetResponseStream());
string output = reader.ReadToEnd(); // throws except... | c# | .net20 | .net-3.5 | http | null | null | open | Reading "chunked" response with HttpWebResponse
===
I'm having trouble reading a "chunked" response when using a StreamReader to read the stream returned by GetResponseStream() of a HttpWebResponse:
// response is an HttpWebResponse
StreamReader reader = new StreamReader(response.GetResponseStream());
... | 0 |
17,017 | 08/19/2008 21:40:11 | 2,029 | 08/19/2008 21:21:52 | 1 | 0 | How do I parse and convert DateTime's to the RFC 3339 date-time format? | How do I convert a DateTime structure to its equivalent [RFC 3339][1] formatted string representation and/or parse this string representation back to a [DateTime][2] structure? The RFC-3339 date-time format is used in a number of specifications such as the [Atom Syndication Format][3].
[1]: http://www.ietf.org/r... | datetime | atom | rfc-3339 | null | null | null | open | How do I parse and convert DateTime's to the RFC 3339 date-time format?
===
How do I convert a DateTime structure to its equivalent [RFC 3339][1] formatted string representation and/or parse this string representation back to a [DateTime][2] structure? The RFC-3339 date-time format is used in a number of specification... | 0 |
17,020 | 08/19/2008 21:42:30 | 1,633 | 08/17/2008 17:30:24 | 76 | 16 | What is the best way to partition terabyte drive in a linux development machine? | I have a new 1 TB drive coming in tomorrow. What is the best way to divide this space for a development workstation?
The biggest problem I think I'm going to have is that some partitions (probably /usr) will become to small after a bit of use. Other partitions are probably to huge. The swap drive for example is curr... | linux | storage | partition | null | null | 11/30/2011 02:43:57 | off topic | What is the best way to partition terabyte drive in a linux development machine?
===
I have a new 1 TB drive coming in tomorrow. What is the best way to divide this space for a development workstation?
The biggest problem I think I'm going to have is that some partitions (probably /usr) will become to small after a... | 2 |
17,032 | 08/19/2008 21:49:07 | 1,853 | 08/18/2008 22:03:57 | 1 | 3 | Should I *always* favour implictly typed local variables in C# 3.0? | [Resharper][1] certainly thinks so, and out of the box it will nag you to convert
Dooberry dooberry = new Dooberry();
to
var dooberry = new Dooberry();
Is that really considered the best style?
[1]: http://resharper.blogspot.com/2008/03/varification-using-implicitly-typed.html | c# | style | null | null | null | null | open | Should I *always* favour implictly typed local variables in C# 3.0?
===
[Resharper][1] certainly thinks so, and out of the box it will nag you to convert
Dooberry dooberry = new Dooberry();
to
var dooberry = new Dooberry();
Is that really considered the best style?
[1]: http://resharper.blog... | 0 |
17,054 | 08/19/2008 22:02:21 | 868 | 08/09/2008 22:34:02 | 73 | 9 | Sockets in Pascal | How do you use network sockets in Pascal? | sockets | networking | pascal | null | null | null | open | Sockets in Pascal
===
How do you use network sockets in Pascal? | 0 |
17,056 | 08/19/2008 22:04:13 | 1,925 | 08/19/2008 14:23:13 | 1 | 0 | MSSQL Full Text Searching | I am currently working on an application where we have a mssql database and I need to get a full text search working that allows us to search people's names.
Currently the user can enter a into a name field that searches 3 different varchar cols. First, Last, Middle names
So say I have 3 rows with the following i... | mssql | search | null | null | null | null | open | MSSQL Full Text Searching
===
I am currently working on an application where we have a mssql database and I need to get a full text search working that allows us to search people's names.
Currently the user can enter a into a name field that searches 3 different varchar cols. First, Last, Middle names
So say I h... | 0 |
17,057 | 08/19/2008 22:05:00 | 1,929 | 08/19/2008 14:25:01 | 1 | 0 | What is the best way to gzip and cache static images in Asp.net mvc | I'm trying to find the best way to speed up the delivery of the static images that compose the design of an mvc site. The images are not gzipped, nor cached in the server or on the client (with content expire). Options are:
1. Find why images are not cached and gzipped direcly from IIS6
2. Write a specialized ht... | asp.net-mvc | .net-2.0 | null | null | null | null | open | What is the best way to gzip and cache static images in Asp.net mvc
===
I'm trying to find the best way to speed up the delivery of the static images that compose the design of an mvc site. The images are not gzipped, nor cached in the server or on the client (with content expire). Options are:
1. Find why images... | 0 |
17,085 | 08/19/2008 22:18:17 | 578 | 08/06/2008 22:07:45 | 33 | 4 | Esacping XML tag contents | I have a simple CAML query like
<Where><Eq><Field="FieldName"><Value Type="Text">Value text</Value></Field></Eq></Where>
And I have a variable to substitute for "Value text". What's the best way to validate/escape the text that is substituted here in the .NET framework?
I've done a quick web search on this p... | .net | xml | framework | escaping | encode | null | open | Esacping XML tag contents
===
I have a simple CAML query like
<Where><Eq><Field="FieldName"><Value Type="Text">Value text</Value></Field></Eq></Where>
And I have a variable to substitute for "Value text". What's the best way to validate/escape the text that is substituted here in the .NET framework?
I've do... | 0 |
17,098 | 08/19/2008 22:26:12 | 1,851 | 08/18/2008 21:56:51 | 1 | 0 | What's the best way to authenticate over WCF? | What's the best way to implement authentication over WCF?
I'd prefer to not use WS-* as it needs to be transport independant.
Should I "roll my own"? Is there any guidance for doing that (articles/blog posts)?
Or is there some way to *(and should I)* use the built in ASP.NET Membership and Profile providers on... | .net | asp.net | wcf | authentication | membership | null | open | What's the best way to authenticate over WCF?
===
What's the best way to implement authentication over WCF?
I'd prefer to not use WS-* as it needs to be transport independant.
Should I "roll my own"? Is there any guidance for doing that (articles/blog posts)?
Or is there some way to *(and should I)* use the b... | 0 |
17,106 | 08/19/2008 22:29:47 | 1,428 | 08/15/2008 15:27:39 | 31 | 5 | How to generate sample XML documents from their DTD or XSD? | We are developing an application that involves a substantial amount of XML transformations. We do not have any proper input test data per se, only DTD or XSD files. We'd like to generate our test data ourselves from these files. Is there an easy/free way to do that? | xml | xsd | dtd | testdata | null | null | open | How to generate sample XML documents from their DTD or XSD?
===
We are developing an application that involves a substantial amount of XML transformations. We do not have any proper input test data per se, only DTD or XSD files. We'd like to generate our test data ourselves from these files. Is there an easy/free way ... | 0 |
17,107 | 08/19/2008 22:29:53 | 1,467 | 08/15/2008 17:35:39 | 56 | 8 | What's the best way to code a desktop application-like menu bar in Javascript? | I'm looking to create a menu bar similar to those found in desktop applications using html and javascript.
I don't mind using a framework like jQuery (in fact I'm already using jQuery for other behaviour in the app), but I'd like to avoid using a plugin or an external js solution (the idea is to keep it as light and... | javascript | user-interface | jquery | null | null | null | open | What's the best way to code a desktop application-like menu bar in Javascript?
===
I'm looking to create a menu bar similar to those found in desktop applications using html and javascript.
I don't mind using a framework like jQuery (in fact I'm already using jQuery for other behaviour in the app), but I'd like to ... | 0 |
17,108 | 08/19/2008 22:31:40 | 1,363 | 08/14/2008 18:24:19 | 3 | 1 | Where to start with CruiseControl.NET | I'm setting up my team's source control + build/integration process from scratch. We were using VSS and a tool we created in-house to perform the build process. We decided to move on to a more modern environment. I have the SVN running, and I would like to set a continuous integration process with CruiseControl.NET.
I... | continuous-integration | cruisecontrol.net | null | null | null | null | open | Where to start with CruiseControl.NET
===
I'm setting up my team's source control + build/integration process from scratch. We were using VSS and a tool we created in-house to perform the build process. We decided to move on to a more modern environment. I have the SVN running, and I would like to set a continuous int... | 0 |
17,117 | 08/19/2008 22:35:25 | 342 | 08/04/2008 19:59:52 | 347 | 59 | C++ std::tr2 for 2005 | Is Boost the only way for VS2005 users experience TR2? Also is there a idiot proof way of downloading only the TR2 related packages?
I was looking at the boost installer provided by BoostPro Consulting. If I select the options for all the threading options with all the packages for MSVC8 it requires 1.1GB. While I a... | c++ | boost | tr2 | vs2005 | null | null | open | C++ std::tr2 for 2005
===
Is Boost the only way for VS2005 users experience TR2? Also is there a idiot proof way of downloading only the TR2 related packages?
I was looking at the boost installer provided by BoostPro Consulting. If I select the options for all the threading options with all the packages for MSVC8 i... | 0 |
17,125 | 08/19/2008 22:45:19 | 1,782 | 08/18/2008 14:30:58 | 50 | 6 | What are real life applications of yield? | I know what `yield` does, and I've seen a few examples, but I can't think of real life applications, have you used it to solve some specific problem?
(Ideally some problem that cannot be solved some other way) | c# | .net | null | null | null | null | open | What are real life applications of yield?
===
I know what `yield` does, and I've seen a few examples, but I can't think of real life applications, have you used it to solve some specific problem?
(Ideally some problem that cannot be solved some other way) | 0 |
17,127 | 08/19/2008 22:46:21 | 1,323 | 08/14/2008 14:22:11 | 53 | 4 | Can you link 68K code compiled with CodeWarrior for Palm OS with code compiled with PRC-Tools (GCC)? | I've got a Palm OS/Garnet 68K application that uses a third-party static library built with CodeWarrior. Can I rebuilt the application using PRC-Tools, the port of GCC for the Palm OS platform and still link with the third-party library? | palm-os | codewarrior | prc-tools | null | null | null | open | Can you link 68K code compiled with CodeWarrior for Palm OS with code compiled with PRC-Tools (GCC)?
===
I've got a Palm OS/Garnet 68K application that uses a third-party static library built with CodeWarrior. Can I rebuilt the application using PRC-Tools, the port of GCC for the Palm OS platform and still link with ... | 0 |
17,140 | 08/19/2008 22:53:47 | 432 | 08/05/2008 17:18:46 | 780 | 40 | How do you spawn another process in C? | How do you run an external program and pass it command line parameters using C? If you have to use operating system API, include a solution for Windows, Mac, and Linux. | c | api | process | null | null | null | open | How do you spawn another process in C?
===
How do you run an external program and pass it command line parameters using C? If you have to use operating system API, include a solution for Windows, Mac, and Linux. | 0 |
17,170 | 08/19/2008 23:09:54 | 1,560 | 08/16/2008 17:17:39 | 1 | 1 | When to use IList and when to use List | I know that IList is the interface and List is the concrete type but I still don't know when to use each one. What I'm doing now is if I don't need the Sort or FindAll methods I use the interface. Am I right? Is there a better way to decide when to use the interface or the concrete type? | c# | .net | null | null | null | null | open | When to use IList and when to use List
===
I know that IList is the interface and List is the concrete type but I still don't know when to use each one. What I'm doing now is if I don't need the Sort or FindAll methods I use the interface. Am I right? Is there a better way to decide when to use the interface or the co... | 0 |
17,172 | 08/19/2008 23:11:49 | 40 | 08/01/2008 12:48:12 | 1,648 | 146 | Implementing permissions in PHP | I've tried to do this several times with no luck. After reading [this post][1], it made me interested in doing this again. So can anyone tell me why the following doesn't work?
<?php
$guest = 1;
$editor = 2;
$admin = 4;
$user = $editor;
if( $user == ($editor | $admi... | php | permissions | null | null | null | null | open | Implementing permissions in PHP
===
I've tried to do this several times with no luck. After reading [this post][1], it made me interested in doing this again. So can anyone tell me why the following doesn't work?
<?php
$guest = 1;
$editor = 2;
$admin = 4;
$user = $editor;
... | 0 |
17,175 | 08/19/2008 23:16:20 | 5 | 07/31/2008 14:22:31 | 1,455 | 73 | What's your top feature request for Silverlight? | I'll take away the obvious one here: mic and webcam support. Other than that, if you ran the Silverlight team, what would your highest priority be for Silverlight 3?
Disclaimer: If we get some good responses, I'll pass them along to folks I know on the Silverlight team. Is that cool? I mean, this site will be public... | silverlight | null | null | null | null | null | open | What's your top feature request for Silverlight?
===
I'll take away the obvious one here: mic and webcam support. Other than that, if you ran the Silverlight team, what would your highest priority be for Silverlight 3?
Disclaimer: If we get some good responses, I'll pass them along to folks I know on the Silverligh... | 0 |
17,181 | 08/19/2008 23:19:18 | 1,556 | 08/16/2008 16:41:03 | 163 | 5 | Test Cases VS ASSERTION statement | In my most C++ project I heavily used ASSERTION statement as following:
int doWonderfulThings(const int* fantasticData)
{
ASSERT(fantasticData);
if(!fantasticData)
return -1;
// ,,,
return WOW_VALUE;
}
But TDD community seems like to enjoy doing somet... | c++ | tdd | defensive-programming | null | null | null | open | Test Cases VS ASSERTION statement
===
In my most C++ project I heavily used ASSERTION statement as following:
int doWonderfulThings(const int* fantasticData)
{
ASSERT(fantasticData);
if(!fantasticData)
return -1;
// ,,,
return WOW_VALUE;
}
But TDD co... | 0 |
17,194 | 08/19/2008 23:24:47 | 1,199,387 | 08/06/2008 23:58:10 | 194 | 14 | SQL query to compare product sales by month | I have a Monthly Status database view I need to build a report based on. The data in the view looks something like this:
<table>
<tr><th>Category</th><th>Revenue</th><th>Yearh</th><th>Month</th></tr>
<tr><td>Bikes</td><td>10 000</td><td>2008</td><td>1</td>
<tr><td>Bikes</td><td>12 000</td><td>2008</td><td>2</td>
... | sql | database | query | reporting | null | null | open | SQL query to compare product sales by month
===
I have a Monthly Status database view I need to build a report based on. The data in the view looks something like this:
<table>
<tr><th>Category</th><th>Revenue</th><th>Yearh</th><th>Month</th></tr>
<tr><td>Bikes</td><td>10 000</td><td>2008</td><td>1</td>
<tr><td>... | 0 |
17,225 | 08/19/2008 23:47:00 | 432 | 08/05/2008 17:18:46 | 810 | 43 | Echo system commands to terminal in Perl | In Perl, you can execute system commands using system() or `` (backticks). You can even capture the output of the command into a variable. However, this hides the program execution in the background so that the person executing your script can't see it. Normally this is useful but sometimes I want to see what is going ... | perl | command-line | terminal | system | null | null | open | Echo system commands to terminal in Perl
===
In Perl, you can execute system commands using system() or `` (backticks). You can even capture the output of the command into a variable. However, this hides the program execution in the background so that the person executing your script can't see it. Normally this is use... | 0 |
17,228 | 08/19/2008 23:49:40 | 1,449 | 08/15/2008 16:25:48 | 11 | 2 | What tools do you use to develop C++ applications on Linux? | I develop C++ applications in a Linux environment. The tools I use every day include Eclipse with the CDT plugin, gdb and valgrind.
What tools do other people use? Is there anything out there for Linux that rivals the slickness of Microsoft Visual Studio? | c++ | linux | eclipse | gdb | valgrind | null | open | What tools do you use to develop C++ applications on Linux?
===
I develop C++ applications in a Linux environment. The tools I use every day include Eclipse with the CDT plugin, gdb and valgrind.
What tools do other people use? Is there anything out there for Linux that rivals the slickness of Microsoft Visual St... | 0 |
17,231 | 08/19/2008 23:50:47 | 1,438 | 08/15/2008 15:44:20 | 51 | 8 | Why shouldn't I "bet the future of the company" on shell scripts? | I was looking at <http://tldp.org/LDP/abs/html/why-shell.html> and was struck by:
> When not to use shell scripts
>
> ...
>
> - Mission-critical applications upon which you are betting the future of the company
Why not? | shell | bash | ksh | null | null | null | open | Why shouldn't I "bet the future of the company" on shell scripts?
===
I was looking at <http://tldp.org/LDP/abs/html/why-shell.html> and was struck by:
> When not to use shell scripts
>
> ...
>
> - Mission-critical applications upon which you are betting the future of the company
Why not? | 0 |
17,250 | 08/20/2008 00:16:40 | 394 | 08/05/2008 12:36:16 | 156 | 24 | Create an encrypted ZIP file in Python | I'm creating an ZIP file with ZipFile in Python 2.5, it works ok so far:
import zipfile, os
locfile = "test.txt"
loczip = os.path.splitext (locfile)[0] + ".zip"
zip = zipfile.ZipFile (loczip, "w")
zip.write (locfile)
zip.close()
but I couldn't find how to encrypt the files in th... | python | null | null | null | null | null | open | Create an encrypted ZIP file in Python
===
I'm creating an ZIP file with ZipFile in Python 2.5, it works ok so far:
import zipfile, os
locfile = "test.txt"
loczip = os.path.splitext (locfile)[0] + ".zip"
zip = zipfile.ZipFile (loczip, "w")
zip.write (locfile)
zip.close()
but I ... | 0 |
17,269 | 08/20/2008 00:54:15 | 1,647 | 08/17/2008 18:32:33 | 1 | 0 | Hyperlinks displaced on IE7 | Browse to a webpage with hyperlinks using IE (I am using IE7) Once on the page, enlarge the fonts using ctl + mouse wheel. Now when you try to hover over the hyperlinks, they are laterally displaced to the right. To click on the link, i have to move the mouse to the right till the cursor turns into a hand.
Anyone h... | browser | null | null | null | null | null | open | Hyperlinks displaced on IE7
===
Browse to a webpage with hyperlinks using IE (I am using IE7) Once on the page, enlarge the fonts using ctl + mouse wheel. Now when you try to hover over the hyperlinks, they are laterally displaced to the right. To click on the link, i have to move the mouse to the right till the cur... | 0 |
17,274 | 08/20/2008 01:02:55 | 1,110 | 08/12/2008 12:33:05 | 1 | 0 | REALLY Simple Website--How Basic Can You Go? | Although I've done programming, I'm not a programmer. I've recently agreed to coordinate getting a Website up for a club. The resources are--me, who has done Web content maintenance (putting content into HTML and ColdFusion templates via a gatekeeper to the site itself; doing simple HTML and XML coding); a serious Web ... | personal-website | newbies | null | null | null | null | open | REALLY Simple Website--How Basic Can You Go?
===
Although I've done programming, I'm not a programmer. I've recently agreed to coordinate getting a Website up for a club. The resources are--me, who has done Web content maintenance (putting content into HTML and ColdFusion templates via a gatekeeper to the site itself;... | 0 |
17,289 | 08/20/2008 01:28:00 | 2,056 | 08/20/2008 01:28:00 | 1 | 0 | iFrame Best Practices | Here's a lowly HTML question...
I have a large, hi-def JavaScript-intensive image banner for a site I'm designing. What is everyone's opinion of using IFrames so that you incur the load time only once? Is there a CSS alternative to the IFrame?
feel free to preview the site at http://csm.dev11.com
It is very ... | css | xhtml | iframe | load | time | null | open | iFrame Best Practices
===
Here's a lowly HTML question...
I have a large, hi-def JavaScript-intensive image banner for a site I'm designing. What is everyone's opinion of using IFrames so that you incur the load time only once? Is there a CSS alternative to the IFrame?
feel free to preview the site at http://c... | 0 |
17,299 | 08/20/2008 01:44:58 | 522 | 08/06/2008 14:24:03 | 239 | 25 | Pointer Manipulation Help | I am trying to build a function in C/c++ to sort an array and replace each value with its "score" or rank. It takes in a double pointer array to an array of ints, and sorts the double pointers based on the dereferenced value of the integers. I have tried quite a few times to make it work, but cant get it down. Once ... | c++ | c | arrays | pointer | null | null | open | Pointer Manipulation Help
===
I am trying to build a function in C/c++ to sort an array and replace each value with its "score" or rank. It takes in a double pointer array to an array of ints, and sorts the double pointers based on the dereferenced value of the integers. I have tried quite a few times to make it wor... | 0 |
17,320 | 08/20/2008 01:59:08 | 1,880 | 08/19/2008 03:12:41 | 1 | 0 | What areas of specialization within programming would you recommend to a beginner | I am a student studying software development, and I feel programming, in general, is too broad of a subject to try to know everything. To be proficient, you have to decide which areas to focus your learning and understanding. Certain skill sets synergize with each other, like data-driven web development and SQL experie... | language-agnostic | education | null | null | null | null | open | What areas of specialization within programming would you recommend to a beginner
===
I am a student studying software development, and I feel programming, in general, is too broad of a subject to try to know everything. To be proficient, you have to decide which areas to focus your learning and understanding. Certain... | 0 |
17,333 | 08/20/2008 02:09:33 | 2,057 | 08/20/2008 02:09:33 | 1 | 0 | Most effective way for float and double comparison | What would be the most efficient way to compare two doubles or two floats (single precision)?
Simply doing this is not correct:
<code>bool CompareDoubles1 (double A, double B)
{
return A == B;
}
</code>
But something like:
bool CompareDoubles2 (double A, double B)
{
diff = A -... | c++ | optimization | algorithms | floating-point | null | null | open | Most effective way for float and double comparison
===
What would be the most efficient way to compare two doubles or two floats (single precision)?
Simply doing this is not correct:
<code>bool CompareDoubles1 (double A, double B)
{
return A == B;
}
</code>
But something like:
bool Com... | 0 |
17,352 | 08/20/2008 02:40:40 | 803 | 08/09/2008 02:52:45 | 149 | 9 | What are OpenGL extensions and what are the benefits/tradeoffs of using them? | In relation to this question on [Using OpenGL extensions][1], what's the purpose of these extension functions (why would I want to use them), and are there any tradeoffs or gotchas associated with using them.
[1]: http://stackoverflow.com/questions/14413/using-opengl-extensions-on-windows | opengl | null | null | null | null | null | open | What are OpenGL extensions and what are the benefits/tradeoffs of using them?
===
In relation to this question on [Using OpenGL extensions][1], what's the purpose of these extension functions (why would I want to use them), and are there any tradeoffs or gotchas associated with using them.
[1]: http://stackoverfl... | 0 |
17,359 | 08/20/2008 02:48:50 | 1,339 | 08/14/2008 15:11:18 | 89 | 4 | How do I send a file as an email attachement using Linux command line? | I've created a script that runs every night on my Linux server that uses <code>mysqldump</code> to back up my MySQL database to a .sql file and packages them together as a compressed .tar file. The next step I want to accomplish is to send that tar file through email to a remote email server for safekeeping. I've bee... | linux | email | bash | shell | command-line | null | open | How do I send a file as an email attachement using Linux command line?
===
I've created a script that runs every night on my Linux server that uses <code>mysqldump</code> to back up my MySQL database to a .sql file and packages them together as a compressed .tar file. The next step I want to accomplish is to send tha... | 0 |
17,370 | 08/20/2008 03:19:34 | 1,630 | 08/17/2008 17:03:19 | 354 | 34 | Using GLEW to use OpenGL extensions under Windows | I've been using OpenGL extensions on Windows the [painful way][1]. Is GLEW the easier way to go? How do I get started with it?
[1]: http://stackoverflow.com/questions/14413/using-opengl-extensions-on-windows | opengl | extension | glew | null | null | null | open | Using GLEW to use OpenGL extensions under Windows
===
I've been using OpenGL extensions on Windows the [painful way][1]. Is GLEW the easier way to go? How do I get started with it?
[1]: http://stackoverflow.com/questions/14413/using-opengl-extensions-on-windows | 0 |
17,373 | 08/20/2008 03:20:02 | 338 | 08/04/2008 18:34:44 | 78 | 3 | How do I open the default mail program with a Subject and Body in a cross-platform way? | Unfortunately, this is not for a website, but a client app written in Java.
I would like this to work in a cross-platform way (which means Windows and Mac, sorry Linux). I am happy to execute a VBScript in Windows, or AppleScript in OS X. But I have no idea what those scripts should contain. I would love to execute ... | java | windows | os | x | email | null | open | How do I open the default mail program with a Subject and Body in a cross-platform way?
===
Unfortunately, this is not for a website, but a client app written in Java.
I would like this to work in a cross-platform way (which means Windows and Mac, sorry Linux). I am happy to execute a VBScript in Windows, or AppleS... | 0 |
17,376 | 08/20/2008 03:27:08 | 338 | 08/04/2008 18:34:44 | 78 | 3 | How would you implement FORM based authentication without a backing database? | I have a PHP script that runs as a CGI program and the HTTP header Authenticate header gets eaten and spit out. So I would like to implement some kind of FORMs based authentication. Worse yet, I have no database, so can't store session info.
I am very open to having master username and password. I just need to prote... | php | authentication | cookies | cgi | http | null | open | How would you implement FORM based authentication without a backing database?
===
I have a PHP script that runs as a CGI program and the HTTP header Authenticate header gets eaten and spit out. So I would like to implement some kind of FORMs based authentication. Worse yet, I have no database, so can't store session i... | 0 |
17,387 | 08/20/2008 03:39:30 | 209 | 08/03/2008 13:54:19 | 53 | 5 | Privatizing a BlogEngine.Net Installation | I have a blogengine.net install that requires privatization.
I'm doing research work at the moment, but I have to keep my blog/journal private until certain conditions are met.
How can I anonymize my blogEngine.net install so that readers must log in to read my posts? | c# | .net | asp.net | blogs | null | null | open | Privatizing a BlogEngine.Net Installation
===
I have a blogengine.net install that requires privatization.
I'm doing research work at the moment, but I have to keep my blog/journal private until certain conditions are met.
How can I anonymize my blogEngine.net install so that readers must log in to read my posts... | 0 |
17,430 | 08/20/2008 05:18:22 | 718 | 08/08/2008 07:07:38 | 652 | 32 | Language Conversion Testing | We created a tool which converts a language called P2, a language similar to assembly which I think exists only in Japan, to C#. There are at least a hundred modules written in P2 and we want to verify if the conversion to C# is right? How can we test this? | testing | null | null | null | null | null | open | Language Conversion Testing
===
We created a tool which converts a language called P2, a language similar to assembly which I think exists only in Japan, to C#. There are at least a hundred modules written in P2 and we want to verify if the conversion to C# is right? How can we test this? | 0 |
17,434 | 08/20/2008 05:29:32 | 716 | 08/08/2008 06:57:38 | 171 | 14 | when should you use 'friend' in c++ ? | I have been reading through the [c++ faq][1] and was curious about the [`friend`][2] declaration. I personally have never used it howevever in the interest of exploring the language I was wondering if anyone here has?
The c++ faq is helpful, but some of the explanation went over my head. So does anyone here have a g... | c++ | oop | encapsulation | null | null | null | open | when should you use 'friend' in c++ ?
===
I have been reading through the [c++ faq][1] and was curious about the [`friend`][2] declaration. I personally have never used it howevever in the interest of exploring the language I was wondering if anyone here has?
The c++ faq is helpful, but some of the explanation went... | 0 |
17,435 | 08/20/2008 05:33:28 | 1,693 | 08/18/2008 02:25:37 | 181 | 6 | Server-side Javascript | Does anyone see Server-side Javascript taking off? There are a couple of implementations out there, but it all seems to be a bit of a stretch (as in, "doing it BECAUSE WE CAN" type of attitude).
I'm curious to know if anyone actually writes Javascript for the server-side and what their experiences with it have been... | javascript | javascript-server | null | null | null | null | open | Server-side Javascript
===
Does anyone see Server-side Javascript taking off? There are a couple of implementations out there, but it all seems to be a bit of a stretch (as in, "doing it BECAUSE WE CAN" type of attitude).
I'm curious to know if anyone actually writes Javascript for the server-side and what their e... | 0 |
17,469 | 08/20/2008 06:34:31 | 432 | 08/05/2008 17:18:46 | 843 | 44 | IE6 - can't load a normal JPG | Try loading [this normal .jpg file][1] in Internet Explorer 6.0. I get an error saying the picture won't load. Try it in any other browser and it works fine. What's wrong? The .jpg file is just a normal picture sitting on the web server. I can even create a simple web page:
<a href="http://www.zodiacwheels.com/i... | internet-explorer | null | null | null | null | null | open | IE6 - can't load a normal JPG
===
Try loading [this normal .jpg file][1] in Internet Explorer 6.0. I get an error saying the picture won't load. Try it in any other browser and it works fine. What's wrong? The .jpg file is just a normal picture sitting on the web server. I can even create a simple web page:
<a ... | 0 |
17,483 | 08/20/2008 06:50:32 | 1,366 | 08/14/2008 18:30:52 | 265 | 11 | C++ Anyway to prevent a method from being over ridden in sub classes? | Is anyone aware of a language feature or technique in C++ to prevent a child class from over riding a particular method in the parent class? | c++ | null | null | null | null | null | open | C++ Anyway to prevent a method from being over ridden in sub classes?
===
Is anyone aware of a language feature or technique in C++ to prevent a child class from over riding a particular method in the parent class? | 0 |
17,489 | 08/20/2008 06:56:16 | 116 | 08/02/2008 05:51:57 | 2,944 | 168 | Best environment for Python on Windows? | So I've got plain python downloaded, so I can run .py files from the command line. Now I want to step it up, have a debugger, be able to call .net or other Windows things, etc...
What's my next step? What's a good Python environment for Windows? | windows | python | null | null | null | 08/30/2011 14:13:16 | not constructive | Best environment for Python on Windows?
===
So I've got plain python downloaded, so I can run .py files from the command line. Now I want to step it up, have a debugger, be able to call .net or other Windows things, etc...
What's my next step? What's a good Python environment for Windows? | 4 |
17,500 | 08/20/2008 07:07:30 | 2,074 | 08/20/2008 06:54:42 | 1 | 0 | Why are DispatcherObject.CheckAccess() and VerifyAccess() hidden from Intellisense? | The `System.Windows.Threading.DispatcherObject` class (which `DependencyObject` is based on) contains a useful function, called `CheckAccess()`, that determines whether or not the code is running on the UI thread.
When I wanted to use it yesterday, I was puzzled to find out that Intellisense didn't show the function... | .net | intellisense | null | null | null | null | open | Why are DispatcherObject.CheckAccess() and VerifyAccess() hidden from Intellisense?
===
The `System.Windows.Threading.DispatcherObject` class (which `DependencyObject` is based on) contains a useful function, called `CheckAccess()`, that determines whether or not the code is running on the UI thread.
When I wanted ... | 0 |
17,532 | 08/20/2008 07:49:06 | 832 | 08/09/2008 06:51:40 | 766 | 70 | ASP.NET Custom Controls - Composites | ##Summary
Hi All,
OK, further into my adventures with custom controls...
In summary, here is that I have learned of three main "classes" of custom controls. Please feel free to correct me if any of this is wrong!
1. **UserControls** - Which inherit from _UserControl_ and are contained within an _ASCX_ file.... | c# | .net | asp.net | controls | usercontrols | null | open | ASP.NET Custom Controls - Composites
===
##Summary
Hi All,
OK, further into my adventures with custom controls...
In summary, here is that I have learned of three main "classes" of custom controls. Please feel free to correct me if any of this is wrong!
1. **UserControls** - Which inherit from _UserControl... | 0 |
17,533 | 08/20/2008 07:50:29 | 1,147 | 08/12/2008 19:29:43 | 38 | 5 | Request vista UAC elevation if path is protected? | For my C# app, I don't want to always prompt for elevation on application start, but if they choose an output path that is UAC protected then I need to request elevation.
So, how do I check if a path is UAC protected and then how do I request elevation mid-execution?
Thanks. | c# | .net | windows-vista | uac | null | null | open | Request vista UAC elevation if path is protected?
===
For my C# app, I don't want to always prompt for elevation on application start, but if they choose an output path that is UAC protected then I need to request elevation.
So, how do I check if a path is UAC protected and then how do I request elevation mid-execu... | 0 |
17,549 | 08/20/2008 08:01:25 | 116 | 08/02/2008 05:51:57 | 3,002 | 172 | software: when to pay, when to use free? | What are your criteria when evaluating free vs pay software? Which is your "default" choice? | evaluation | commercial | free | null | null | 07/16/2012 20:58:35 | not constructive | software: when to pay, when to use free?
===
What are your criteria when evaluating free vs pay software? Which is your "default" choice? | 4 |
17,561 | 08/20/2008 08:09:38 | 1,762 | 08/18/2008 13:12:06 | 8 | 3 | Recommendations for browser add-on tools to help with development | Can anyone suggest some good browser add-on tools/extensions to help with development?
I have firebug installed in Firefox which is great for dealing with CSS, HTML and javascript; any other suggestions?
[Firebug][1]
[1]: https://addons.mozilla.org/en-US/firefox/addon/1843 | web | development | softwaretools | browsers | null | null | open | Recommendations for browser add-on tools to help with development
===
Can anyone suggest some good browser add-on tools/extensions to help with development?
I have firebug installed in Firefox which is great for dealing with CSS, HTML and javascript; any other suggestions?
[Firebug][1]
[1]: https://addons.m... | 0 |
17,575 | 08/20/2008 08:14:02 | 1,269 | 08/14/2008 08:00:22 | 31 | 5 | Tool for generation MSDN-like documentation from <summary> tags? | Does anyone know any tool like NDoc that could generate MSDN-like documentation out of XML comments in the C# code? I need it for .NET 3.5 and C#.
Sandcastle maybe?
Thanks. | documentation | sandcastle | ndoc | null | null | null | open | Tool for generation MSDN-like documentation from <summary> tags?
===
Does anyone know any tool like NDoc that could generate MSDN-like documentation out of XML comments in the C# code? I need it for .NET 3.5 and C#.
Sandcastle maybe?
Thanks. | 0 |
17,576 | 08/20/2008 08:14:06 | 718 | 08/08/2008 07:07:38 | 682 | 34 | Non Public Members for C# Interfaces | In C#, when you implement an interface all members are public by default. Do you think it's better if we can specify the accessibility modifier (protected, internal, etc) or better use an abstract class instead? | c# | interface | design | null | null | null | open | Non Public Members for C# Interfaces
===
In C#, when you implement an interface all members are public by default. Do you think it's better if we can specify the accessibility modifier (protected, internal, etc) or better use an abstract class instead? | 0 |
17,586 | 08/20/2008 08:19:29 | 1,556 | 08/16/2008 16:41:03 | 168 | 5 | Best word wrap algorithm? | Word wrap is one of must-have features in modern text editor.
Do you know how to handle word wrap?
What is the best algorithm for word-wrap?
| text-editor | word-wrap | null | null | null | null | open | Best word wrap algorithm?
===
Word wrap is one of must-have features in modern text editor.
Do you know how to handle word wrap?
What is the best algorithm for word-wrap?
| 0 |
17,612 | 08/20/2008 08:43:00 | 580 | 08/06/2008 22:30:28 | 338 | 42 | How do you place a file in recycle bin instead of delete? | Programmatic solution of course... | c# | .net | io | null | null | null | open | How do you place a file in recycle bin instead of delete?
===
Programmatic solution of course... | 0 |
17,624 | 08/20/2008 08:52:00 | 364 | 08/05/2008 05:33:41 | 220 | 14 | What is the easiest way using T-SQL / MS-SQL to append a string to existing table cells? | I have a table with a 'filename' column.
I recently performed an insert into this column but in my haste forgot to append the file extension to all the filenames entered. Fortunately they are all '.jpg' images.
How can I easily update the 'filename' column of these inserted fields (assuming I can select the recent... | sql | ms-sql | t-sql | null | null | null | open | What is the easiest way using T-SQL / MS-SQL to append a string to existing table cells?
===
I have a table with a 'filename' column.
I recently performed an insert into this column but in my haste forgot to append the file extension to all the filenames entered. Fortunately they are all '.jpg' images.
How can I ... | 0 |
17,645 | 08/20/2008 09:18:44 | 86 | 08/01/2008 16:45:58 | 207 | 23 | Differences between unix and windows files | Im I correct in assuming that the only difference between "windows files" and "unix files" is the linebreak?
We have a system that has been moved from a windows machine to a unix machine and are having troubles with the format. | unix | windows | null | null | null | null | open | Differences between unix and windows files
===
Im I correct in assuming that the only difference between "windows files" and "unix files" is the linebreak?
We have a system that has been moved from a windows machine to a unix machine and are having troubles with the format. | 0 |
17,653 | 08/20/2008 09:23:16 | 1,483 | 08/15/2008 20:40:17 | 12 | 4 | Which Vista edition is the best for developer machine? | Microsoft says that Visual Studio 2008 can be installed on any version of Vista (excluding started edition).
But I am not sure, if Home Editions cause not problems with debugging, virtual machines, IIS, MS SQL 2008 and all other tools which developers use or with some old tools like Visual Basic 6.0.
Seems that V... | windows-vista | operating-system | developer-machine | null | null | null | open | Which Vista edition is the best for developer machine?
===
Microsoft says that Visual Studio 2008 can be installed on any version of Vista (excluding started edition).
But I am not sure, if Home Editions cause not problems with debugging, virtual machines, IIS, MS SQL 2008 and all other tools which developers use o... | 0 |
17,664 | 08/20/2008 09:34:54 | 91 | 08/01/2008 17:55:22 | 5,489 | 267 | Retreiving the PC Name of a Client? (Windows Auth) | I have an ASP.net Application that runs on the internal network (well, actually it's running on Sharepoint 2007). I just wonder: Can I somehow retrieve the name of the PC the Client is using? I would have access to Active Directory if that helps. Thing is, people use multiple PCs, so I cannot use any manual/static mapp... | asp.net | sharepoint | authentication | null | null | null | open | Retreiving the PC Name of a Client? (Windows Auth)
===
I have an ASP.net Application that runs on the internal network (well, actually it's running on Sharepoint 2007). I just wonder: Can I somehow retrieve the name of the PC the Client is using? I would have access to Active Directory if that helps. Thing is, people ... | 0 |
17,670 | 08/20/2008 09:37:02 | 379 | 08/05/2008 10:03:38 | 159 | 9 | Suitable alternative to CryptEncrypt | We have a situation in our product where for a long time some data has been stored in the application's database as SQL string (choice of MS SQL server or sybase SQL anywhere) which was encrypted via the Windows API function [CryptEncrypt.][1] (direct and decryptable)
The problem is that CryptEncrypt can produce NU... | win32api | c++ | windowssdk | null | null | null | open | Suitable alternative to CryptEncrypt
===
We have a situation in our product where for a long time some data has been stored in the application's database as SQL string (choice of MS SQL server or sybase SQL anywhere) which was encrypted via the Windows API function [CryptEncrypt.][1] (direct and decryptable)
The p... | 0 |
17,679 | 08/20/2008 09:44:02 | 1,039 | 08/11/2008 17:51:44 | 21 | 2 | Why does Guid.ToString() reverse the byte order? | We're storing some Guids in a MS SQL database. There's some legacy code that does Guid.ToString() and then passes them in to a varchar(64) and there's some newer code that passes them in using a uniqueidentifier parameter. When you look at the results using MS SQL Management studio they look different. The byte order o... | .net | sql-server | null | null | null | null | open | Why does Guid.ToString() reverse the byte order?
===
We're storing some Guids in a MS SQL database. There's some legacy code that does Guid.ToString() and then passes them in to a varchar(64) and there's some newer code that passes them in using a uniqueidentifier parameter. When you look at the results using MS SQL M... | 0 |
17,681 | 08/20/2008 09:48:43 | 267 | 08/04/2008 10:11:06 | 1,847 | 106 | WebSVN with VisualSVN Server, anyone gotten authentication to work? | I have a [VisualSVN Server](http://www.visualsvn.com/server/) installed on a Windows server, serving several repositories.
Since the web-viewer built into VisualSVN server is a minimalistic subversion browser, I'd like to install [WebSVN](http://websvn.tigris.org/) on top of my repositories.
The problem, however,... | php | subversion | visualsvn | websvn | null | null | open | WebSVN with VisualSVN Server, anyone gotten authentication to work?
===
I have a [VisualSVN Server](http://www.visualsvn.com/server/) installed on a Windows server, serving several repositories.
Since the web-viewer built into VisualSVN server is a minimalistic subversion browser, I'd like to install [WebSVN](http:... | 0 |
17,715 | 08/20/2008 10:38:45 | 1,951 | 08/19/2008 15:06:09 | 121 | 9 | When is a file just a file? | So, you're writing a web application and you have several areas of the site where the user can upload files. My basic working method for this is to store the actual file on the server, and have a database table that connects the stored filename to the record it relates to.
My question is this: Should there be a diff... | bestpractices | webdevelopment | null | null | null | null | open | When is a file just a file?
===
So, you're writing a web application and you have several areas of the site where the user can upload files. My basic working method for this is to store the actual file on the server, and have a database table that connects the stored filename to the record it relates to.
My questio... | 0 |
17,717 | 08/20/2008 10:40:38 | 1,693 | 08/18/2008 02:25:37 | 196 | 6 | Migrating from MySQL to PostgreSQL | We are currently using MySQL for a product we are building, and are keen to move to PostgreSQL as soon as possible, primarily for licensing reasons.
Has anyone else done such a move? Our database is the lifeblood of the application and will eventually be storing TBs of data, so I'm keen to hear about experiences of ... | mysql | postgresql | migrating | database | null | 01/31/2012 16:13:40 | not constructive | Migrating from MySQL to PostgreSQL
===
We are currently using MySQL for a product we are building, and are keen to move to PostgreSQL as soon as possible, primarily for licensing reasons.
Has anyone else done such a move? Our database is the lifeblood of the application and will eventually be storing TBs of data, s... | 4 |
17,721 | 08/20/2008 10:43:13 | 446,497 | 08/18/2008 01:08:53 | 113 | 13 | Experience with Hadoop? | Did some of you tried Hadoop? Can it be used without the distributed filesystem that goes with it, in a Share-nothing architecture? Would that make sense?
I'm also interested into any performance results you have... | performance | distributed | hadoop | share-nothing | null | null | open | Experience with Hadoop?
===
Did some of you tried Hadoop? Can it be used without the distributed filesystem that goes with it, in a Share-nothing architecture? Would that make sense?
I'm also interested into any performance results you have... | 0 |
17,725 | 08/20/2008 10:46:20 | 832 | 08/09/2008 06:51:40 | 791 | 71 | Large, Complex Objects as a Web Service Result | Hello again ladies and gents!
OK, following on from my other question on [ASP.NET Web Service Results, Proxy Classes and Type Conversion](http://stackoverflow.com/questions/6681/aspnet-web-service-results-proxy-classes-and-type-conversion). I've come to a part in my project where I need to get my thinking cap on.
... | c# | asp.net | xml | webservices | serialization | null | open | Large, Complex Objects as a Web Service Result
===
Hello again ladies and gents!
OK, following on from my other question on [ASP.NET Web Service Results, Proxy Classes and Type Conversion](http://stackoverflow.com/questions/6681/aspnet-web-service-results-proxy-classes-and-type-conversion). I've come to a part in m... | 0 |
17,732 | 08/20/2008 11:01:19 | 2,095 | 08/20/2008 11:01:19 | 1 | 0 | When should assertions stay in production code? | There's a [discussion][1] going on over at comp.lang.c++.moderated about whether or not assertions, which in C++ only exist in debug builds by default, should be kept in production code or not.
Obviously, each project is unique, so my question here is **not** so much **whether** assertions should be kept, **but in w... | quality | assert | null | null | null | null | open | When should assertions stay in production code?
===
There's a [discussion][1] going on over at comp.lang.c++.moderated about whether or not assertions, which in C++ only exist in debug builds by default, should be kept in production code or not.
Obviously, each project is unique, so my question here is **not** so m... | 0 |
17,761 | 08/20/2008 11:21:36 | 991 | 08/11/2008 12:19:01 | 21 | 2 | Are e-book readers good enough for tech books? | I was wondering if the current generation of e-book readers (like the Kindle, or Sony's Reader) are big/high-res enough that you can comfortably use them for large paper-size PDFs, like most programming and other technical books? I've bought a few PDF books from Pragmatic Bookshelf lately, and it would be nice to have ... | books | pdf | e-book-reader | null | null | 08/21/2011 02:28:19 | off topic | Are e-book readers good enough for tech books?
===
I was wondering if the current generation of e-book readers (like the Kindle, or Sony's Reader) are big/high-res enough that you can comfortably use them for large paper-size PDFs, like most programming and other technical books? I've bought a few PDF books from Pragm... | 2 |
17,770 | 08/20/2008 11:32:33 | 1,693 | 08/18/2008 02:25:37 | 196 | 7 | Tracking Useful Information | What do the clever programmers here do to keep track of handy programming tricks and useful information they pick up over their many years of experience? Things like useful compiler arguments, IDE short-cuts, clever code snippets, etc.
I sometimes find myself frustrated when looking up something that I used to know ... | knowledge-management | null | null | null | null | null | open | Tracking Useful Information
===
What do the clever programmers here do to keep track of handy programming tricks and useful information they pick up over their many years of experience? Things like useful compiler arguments, IDE short-cuts, clever code snippets, etc.
I sometimes find myself frustrated when looking ... | 0 |
17,772 | 08/20/2008 11:34:06 | 905 | 08/10/2008 09:37:14 | 2,083 | 154 | Anyone know a quick way to get to custom attributes on an enum value? | This is probably best shown with an example. I have an enum with attributes:
public enum MyEnum {
[CustomInfo("This is a custom attrib")]
None = 0,
[CustomInfo("This is another attrib")]
ValueA,
[CustomInfo("This has an extra flag", AllowSome... | c# | .net | reflection | attributes | enums | null | open | Anyone know a quick way to get to custom attributes on an enum value?
===
This is probably best shown with an example. I have an enum with attributes:
public enum MyEnum {
[CustomInfo("This is a custom attrib")]
None = 0,
[CustomInfo("This is another attrib")]
... | 0 |
17,781 | 08/20/2008 11:36:55 | 277 | 08/04/2008 10:55:22 | 150 | 6 | What Certificate Authority Software is Available? | I am running a number of SSL-encrypted websites, and need to generate certificates to run on these. They are all internal applications, so I don't need to purchase a certificate, I can create my own.
I have found it quite tedious to do everything using openssl all the time, and figure this is the kind of thing that ... | linux | certificateauthority | openssl | null | null | null | open | What Certificate Authority Software is Available?
===
I am running a number of SSL-encrypted websites, and need to generate certificates to run on these. They are all internal applications, so I don't need to purchase a certificate, I can create my own.
I have found it quite tedious to do everything using openssl a... | 0 |
17,785 | 08/20/2008 11:43:21 | 194 | 08/03/2008 10:56:49 | 1,249 | 78 | Default Internet connection on Dual LAN Workstation | I know this is not programming directly, but it's regarding a development workstation I'm setting up...so bare with me.
I've got a Windows Server 2003 machine that needs to be on two LAN segments at the same time. One of them is a 10.17.x.x LAN and the other is 10.16.x.x
The problem is that I don't want to be us... | networking | windows-server-2003 | null | null | null | null | open | Default Internet connection on Dual LAN Workstation
===
I know this is not programming directly, but it's regarding a development workstation I'm setting up...so bare with me.
I've got a Windows Server 2003 machine that needs to be on two LAN segments at the same time. One of them is a 10.17.x.x LAN and the other ... | 0 |
17,786 | 08/20/2008 11:43:49 | 1,912 | 08/19/2008 14:07:17 | 13 | 8 | Warning C4341 - 'XX': signed value is out of range for enum constant | When compiling my C++ .Net application I get 104 warnings of the type:
Warning C4341 - 'XX': signed value is out of range for enum constant
Where XX can be WCHAR, LONG, BIT, BINARY, GUID etc.
I can't seem to remove these warnings whatever I do. When I double click on them it takes me to a part of my code t... | .net | c++ | visual-c++ | null | null | null | open | Warning C4341 - 'XX': signed value is out of range for enum constant
===
When compiling my C++ .Net application I get 104 warnings of the type:
Warning C4341 - 'XX': signed value is out of range for enum constant
Where XX can be WCHAR, LONG, BIT, BINARY, GUID etc.
I can't seem to remove these warnings wha... | 0 |
17,795 | 08/20/2008 11:52:59 | 2,104 | 08/20/2008 11:52:59 | 1 | 0 | Getting the Remote Name Address (not IP) | I wanted to show the users Name Address (see: www.ipchicken.com), but the only thing I can find is the IP Address. I tried a reverse lookup, but didn't work either:
IPAddress ip = IPAddress.Parse(this.lblIp.Text);
string hostName = Dns.GetHostByAddress(ip).HostName;
this.lblHost.Text = hostName;
But HostName... | .net | asp.net | null | null | null | null | open | Getting the Remote Name Address (not IP)
===
I wanted to show the users Name Address (see: www.ipchicken.com), but the only thing I can find is the IP Address. I tried a reverse lookup, but didn't work either:
IPAddress ip = IPAddress.Parse(this.lblIp.Text);
string hostName = Dns.GetHostByAddress(ip).HostName;
... | 0 |
17,806 | 08/20/2008 12:00:59 | 2,078 | 08/20/2008 08:00:36 | 1 | 1 | Warning: Found conflicts between different versions of the same dependent assembly | I am currently developing a .NET application, which consists of 20 projects. Some of those projects are compiled using .NET 3.5, some others are still .NET 2.0 projects (so far no problem).
The problem is that if I include an external component I always get the following warning:
"Found conflicts between diff... | warning | compiler | null | null | null | null | open | Warning: Found conflicts between different versions of the same dependent assembly
===
I am currently developing a .NET application, which consists of 20 projects. Some of those projects are compiled using .NET 3.5, some others are still .NET 2.0 projects (so far no problem).
The problem is that if I include an ext... | 0 |
17,817 | 08/20/2008 12:12:13 | 1,912 | 08/19/2008 14:07:17 | 25 | 9 | Recommendation for javascript form validation library | Any recommendations for a javascript form validation library. I could try and roll my own (but I'm not very good at javascript). Needs to support checking for required fields, and preferably regexp validation of fields. | javascript | null | null | null | null | null | open | Recommendation for javascript form validation library
===
Any recommendations for a javascript form validation library. I could try and roll my own (but I'm not very good at javascript). Needs to support checking for required fields, and preferably regexp validation of fields. | 0 |
17,825 | 08/20/2008 12:22:41 | 1,683 | 08/18/2008 00:30:32 | 38 | 3 | best practice for releasing Microsoft dll's in setup | I'm working on a setup which <i>wants</i> to include the Microsoft.Web.Services3 (WSE 3.0) DLL. However, I typically do not like including Microsoft DLL's in our installs except by way of Microsoft's redistributables. There is both a developer and a redist install package available from Microsoft.
So, as a best prac... | windows-installer | install | redistributable | null | null | null | open | best practice for releasing Microsoft dll's in setup
===
I'm working on a setup which <i>wants</i> to include the Microsoft.Web.Services3 (WSE 3.0) DLL. However, I typically do not like including Microsoft DLL's in our installs except by way of Microsoft's redistributables. There is both a developer and a redist insta... | 0 |
17,840 | 08/20/2008 12:38:49 | 1,190 | 08/13/2008 12:15:38 | 453 | 38 | How can I learn about parser combinators? | I've found a few resources on the subject, but they all require a deep understanding of SmallTalk or Haskell, neither of which I know. | parsing | monads | null | null | null | null | open | How can I learn about parser combinators?
===
I've found a few resources on the subject, but they all require a deep understanding of SmallTalk or Haskell, neither of which I know. | 0 |
17,845 | 08/20/2008 12:42:49 | 1,730 | 08/18/2008 11:09:24 | 21 | 11 | RDF storage | Has someone experiment RDF storage solution like [sesame](http://www.openrdf.org/) ? I'm looking for performance review of this kingd of solution compared to the traditional database solution. | rdf | database | sesame | performance | null | null | open | RDF storage
===
Has someone experiment RDF storage solution like [sesame](http://www.openrdf.org/) ? I'm looking for performance review of this kingd of solution compared to the traditional database solution. | 0 |
17,851 | 08/20/2008 12:51:25 | 572 | 08/06/2008 20:56:54 | 809 | 73 | Is it worth it to learn an esoteric programming language? | [Wikipedia][1]: An esoteric programming language (sometimes shortened to esolang) is a programming language designed as a test of the boundaries of computer programming language design, as a proof of concept, or as a joke. There is usually no intention of the language being adopted for real-world programming. Such lang... | education | programming-language | null | null | null | null | open | Is it worth it to learn an esoteric programming language?
===
[Wikipedia][1]: An esoteric programming language (sometimes shortened to esolang) is a programming language designed as a test of the boundaries of computer programming language design, as a proof of concept, or as a joke. There is usually no intention of t... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.