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
34,065
08/29/2008 06:40:21
3,551
08/29/2008 04:53:01
1
0
How to read a value from the Windows registry
Given the key for some registry value (e.g. HKEY_LOCAL_MACHINE\blah\blah\blah\foo) how can I: 1. Safely determine that such a key exists. 2. Programmatically (i.e. with code) get its value. I have absolutely no intention of writing anything back to the registry (for the duration of my career if I can help it...
windows
windows-api
c++
registry
winapi
null
open
How to read a value from the Windows registry === Given the key for some registry value (e.g. HKEY_LOCAL_MACHINE\blah\blah\blah\foo) how can I: 1. Safely determine that such a key exists. 2. Programmatically (i.e. with code) get its value. I have absolutely no intention of writing anything back to the regis...
0
34,076
08/29/2008 06:54:07
2,989
08/26/2008 10:30:26
1
0
Checking if userinput is a valid URI in XUL
Is there an built-in function/method that can check if a given string is a valid URI or not in the [Mozilla XUL](http://developer.mozilla.org/en/XUL) toolkit. (I have looked for one but found none, but since this is my first time using XUL and it's documentation it could be that I just overlooked it. So I'm just making...
xul
firefox
javascript
null
null
null
open
Checking if userinput is a valid URI in XUL === Is there an built-in function/method that can check if a given string is a valid URI or not in the [Mozilla XUL](http://developer.mozilla.org/en/XUL) toolkit. (I have looked for one but found none, but since this is my first time using XUL and it's documentation it could...
0
34,079
08/29/2008 06:55:54
3,573
08/29/2008 06:32:57
1
1
How to specify an authenticated proxy for a python http connection?
What's the best way to specify a proxy with username and password for an http connection in python?
python
http
proxy
null
null
null
open
How to specify an authenticated proxy for a python http connection? === What's the best way to specify a proxy with username and password for an http connection in python?
0
34,081
08/29/2008 06:57:20
3,577
08/29/2008 06:57:19
1
0
Parsing, where can I learn about it.
I've been given a job of 'translating' one language into another. The source is too flexible (complex) for a simple line by line approach with regex. Where can I go to learn more about lexical analysis and parsers?
lex
parse
null
null
null
null
open
Parsing, where can I learn about it. === I've been given a job of 'translating' one language into another. The source is too flexible (complex) for a simple line by line approach with regex. Where can I go to learn more about lexical analysis and parsers?
0
34,087
08/29/2008 07:03:42
1,786
08/18/2008 14:52:43
323
31
XSLT dividing a list of nodes in half
<xsl:for-each select="./node [position() &lt;= (count(*) div 2)]"> <li>foo</li> </xsl:for-each> <xsl:for-each select="./node [count(*) div 2 &lt; position()]"> <li>bar</li> </xsl:for-each> My list has 12 nodes, but the second list is always 8 and the first is always 4. What's wro...
xslt
null
null
null
null
null
open
XSLT dividing a list of nodes in half === <xsl:for-each select="./node [position() &lt;= (count(*) div 2)]"> <li>foo</li> </xsl:for-each> <xsl:for-each select="./node [count(*) div 2 &lt; position()]"> <li>bar</li> </xsl:for-each> My list has 12 nodes, but the second list is alw...
0
34,093
08/29/2008 07:10:31
2,260
08/21/2008 11:39:22
179
18
How to apply an XSLT Stylesheet in C#
I want to apply an XSLT Stylesheet to an XML Document using C# and write the output to a File.
c#
xml
null
null
null
null
open
How to apply an XSLT Stylesheet in C# === I want to apply an XSLT Stylesheet to an XML Document using C# and write the output to a File.
0
34,109
08/29/2008 07:22:46
3,580
08/29/2008 07:10:21
1
0
MS WF state machine workflows and MS CRM Dynamics 4.0
MS CRM Dynamics 4.0 incorporates the MS WF engine. The built in designer allows the creation of sequential workflows whos activities have native access to CRM entities. Is it possible to: - Create a state machine workflow outside of CRM (i.e. in visual studio) and import it into CRM? - Have this workf...
workflow
crm
workflow-foundation
null
null
null
open
MS WF state machine workflows and MS CRM Dynamics 4.0 === MS CRM Dynamics 4.0 incorporates the MS WF engine. The built in designer allows the creation of sequential workflows whos activities have native access to CRM entities. Is it possible to: - Create a state machine workflow outside of CRM (i.e. in v...
0
34,112
08/29/2008 07:28:08
45,603
08/25/2008 09:52:34
36
4
VS2008: Copy Web Site from command line
How do I execute the "Copy Web Site" command for an ASP.NET project in VS2008 from the command line? If I need to script this, let me have some pointers on where I can learn that.
vs2008
asp.net
command-line
null
null
null
open
VS2008: Copy Web Site from command line === How do I execute the "Copy Web Site" command for an ASP.NET project in VS2008 from the command line? If I need to script this, let me have some pointers on where I can learn that.
0
34,120
08/29/2008 07:32:15
3,575
08/29/2008 06:54:39
1
2
HTML Scraping in Php.
I've been doing some html scraping in PHP using regular expressions. This works, but the result is finicky and fragile. Has anyone used any packages that provide a more robust solution? A config driven solution would be ideal, but I'm not picky.
php
html
screen-scraping
null
null
null
open
HTML Scraping in Php. === I've been doing some html scraping in PHP using regular expressions. This works, but the result is finicky and fragile. Has anyone used any packages that provide a more robust solution? A config driven solution would be ideal, but I'm not picky.
0
34,125
08/29/2008 07:35:47
2,971
08/26/2008 09:17:59
76
2
Which, if any, C++ compilers do tail-recursion optimization?
It seems to me that it would work perfectly well to do tail-recursion optimization in both C and C++, yet while debugging I never seem to see a frame stack that indicates this optimization. That is kind of good, because the stack tells me how deep the recursion is. However, the optimization would be kind of nice as wel...
c++
tail-recursion
optimization
null
null
null
open
Which, if any, C++ compilers do tail-recursion optimization? === It seems to me that it would work perfectly well to do tail-recursion optimization in both C and C++, yet while debugging I never seem to see a frame stack that indicates this optimization. That is kind of good, because the stack tells me how deep the re...
0
34,126
08/29/2008 07:35:56
3,122
08/26/2008 18:58:15
1
1
What's the best way to add event in Javascript ?
I see mainly 2 ways to set events in JavaScript : 1. add event directly inside the tag like that : `<a href="" onclick="doFoo()">do foo</a>` Or 2. set them by javascript like that : `<a id="bar" href="">do bar</a>` and add event in a `<script>` section inside `<head>` or in an external Ja...
javascript
html
events
null
null
null
open
What's the best way to add event in Javascript ? === I see mainly 2 ways to set events in JavaScript : 1. add event directly inside the tag like that : `<a href="" onclick="doFoo()">do foo</a>` Or 2. set them by javascript like that : `<a id="bar" href="">do bar</a>` and add event in a `...
0
34,128
08/29/2008 07:38:40
3,582
08/29/2008 07:38:40
26
3
How to you pass a variable amount of parmeters to web-service
We are trying to create a web-service that we plan to pass a variable amount of variables to it. Can this be done? Basically instead of pass all possible parameters we wish to pass only the set values and use the defaults set in the web-service. Here is an example of the XML we are looking to send, we would se...
c#
web-services
soap
null
null
null
open
How to you pass a variable amount of parmeters to web-service === We are trying to create a web-service that we plan to pass a variable amount of variables to it. Can this be done? Basically instead of pass all possible parameters we wish to pass only the set values and use the defaults set in the web-service. ...
0
34,144
08/29/2008 07:55:12
3,122
08/26/2008 18:58:15
1
1
In Maven 2, how do I know from which dependency comes a transitive dependency ?
I would like to know which dependency described in my pom.xml brings a transitive dependency in my target directory. To be more precise, I have the library "poi-2.5.1-final-20040804.jar" in my WEB-INF/lib directory and I would like to know which dependency in my pom.xml brings that.
java
build-process
maven-2
null
null
null
open
In Maven 2, how do I know from which dependency comes a transitive dependency ? === I would like to know which dependency described in my pom.xml brings a transitive dependency in my target directory. To be more precise, I have the library "poi-2.5.1-final-20040804.jar" in my WEB-INF/lib directory and I would like ...
0
34,155
08/29/2008 08:07:58
2,797
08/25/2008 07:48:49
26
6
Looking for examples of "real" uses of continuations
I'm trying to grasp the concept of continuations and I found several small teaching examples like this one from the [Wikipedia article][1]: (define the-continuation #f) (define (test) (let ((i 0)) ; call/cc calls its first function argument, passing ; a continuation variable rep...
continuations
null
null
null
null
null
open
Looking for examples of "real" uses of continuations === I'm trying to grasp the concept of continuations and I found several small teaching examples like this one from the [Wikipedia article][1]: (define the-continuation #f) (define (test) (let ((i 0)) ; call/cc calls its first function...
0
34,161
08/29/2008 08:10:21
2,717
08/24/2008 17:01:00
18
0
Delete Records from Access database, error while deleting
I have the following situation: I built an Access form with a subform (which records are linked to the records of main form via certain key). When I try to delete any record in the subform, I get the following message: “Access has suspended the action because you and another user tried to change the data” (approximate ...
ms-access
null
null
null
null
null
open
Delete Records from Access database, error while deleting === I have the following situation: I built an Access form with a subform (which records are linked to the records of main form via certain key). When I try to delete any record in the subform, I get the following message: “Access has suspended the action becau...
0
34,182
08/29/2008 08:36:35
1,826
08/18/2008 18:27:20
1
1
Reading text files using .NET
I need to read from a variety of different text files. I've considered parsing the files line by line (slow) and reading the file using the ODBC text driver (fast) but does anyone have any other (better) suggestions? I'm using .NET/C#. Ideally any suggestions would need to be easily configurable and (less important)...
.net
text-files
null
null
null
null
open
Reading text files using .NET === I need to read from a variety of different text files. I've considered parsing the files line by line (slow) and reading the file using the ODBC text driver (fast) but does anyone have any other (better) suggestions? I'm using .NET/C#. Ideally any suggestions would need to be easil...
0
34,194
08/29/2008 08:45:19
2,429
08/22/2008 08:48:22
28
1
ASP.NET MVC and IIS6
Where can I find some good pointers on best practices for running ASP.NET MVC on IIS6? I haven't seen any realistic options for web-hosts who provide IIS7-hosting yet. Mostly because I don't live in the U.S. So I was wondering on how you best build applications in ASP.NET MVC and make it easily available to deplo...
asp.net-mvc
iis6
null
null
null
null
open
ASP.NET MVC and IIS6 === Where can I find some good pointers on best practices for running ASP.NET MVC on IIS6? I haven't seen any realistic options for web-hosts who provide IIS7-hosting yet. Mostly because I don't live in the U.S. So I was wondering on how you best build applications in ASP.NET MVC and make it...
0
34,204
08/29/2008 08:53:58
45,603
08/25/2008 09:52:34
46
4
VS2008/TFS: Get Latest of solution from command line or macro
How do I get the latest version of my solution recursively like its done in the solution explorer context menu of Visual Studio? Need to do this from the command line or via a macro. /* 'tf get' only gets contents of a folder recursively (not solution). It does not look at project dependencies and so on. That won't ...
tfs
vs2008
commandline
macro
null
null
open
VS2008/TFS: Get Latest of solution from command line or macro === How do I get the latest version of my solution recursively like its done in the solution explorer context menu of Visual Studio? Need to do this from the command line or via a macro. /* 'tf get' only gets contents of a folder recursively (not solutio...
0
34,209
08/29/2008 09:03:27
3,594
08/29/2008 08:46:29
1
0
Django ImageField core=False in newforms admin
In the transition to <tt>newforms admin</tt> I'm having difficulty figuring out how specify <tt>core=False</tt> for <tt>ImageField</tt>s. I get the following error: TypeError: __init__() got an unexpected keyword argument 'core' I'm using svn revision 8696.
python
django
null
null
null
null
open
Django ImageField core=False in newforms admin === In the transition to <tt>newforms admin</tt> I'm having difficulty figuring out how specify <tt>core=False</tt> for <tt>ImageField</tt>s. I get the following error: TypeError: __init__() got an unexpected keyword argument 'core' I'm using svn revision 869...
0
34,227
08/29/2008 09:13:26
2,168
08/20/2008 17:46:48
576
25
Is it possible to persist (without reloading) AJAX page state across BACK button clicks?
I am familiar with several approaches to making the back button work in AJAX applications in various situations, but I have not found a solution that will work gracefully in my specific scenario. The pages I am working with are the search interface for a site. You enter terms in a normal search box, click "go and w...
ajax
null
null
null
null
null
open
Is it possible to persist (without reloading) AJAX page state across BACK button clicks? === I am familiar with several approaches to making the back button work in AJAX applications in various situations, but I have not found a solution that will work gracefully in my specific scenario. The pages I am working with...
0
34,234
08/29/2008 09:19:31
1,114
08/12/2008 12:54:42
35
6
GPG: How does key signing work and how is it done?
I've been reading various tutorials about GPG, and many of them mention that keys may be signed by other people to verify their authenticity. Unfortunately, I have been unable to find information regarding exactly how this process works. How does one sign a key, and how is the signed key used (different from the previo...
gpg
null
null
null
null
null
open
GPG: How does key signing work and how is it done? === I've been reading various tutorials about GPG, and many of them mention that keys may be signed by other people to verify their authenticity. Unfortunately, I have been unable to find information regarding exactly how this process works. How does one sign a key, a...
0
34,237
08/29/2008 09:21:42
987
08/11/2008 12:14:17
923
82
How to hide the cancel button on an ASP.NET ChangePassword control
I'm considering using the ChangePassword control on an ASP.NET 2.0 Webform. I don't want the 'cancel' button to show. Is there a good way to hide it without resorting to silly "width = 0" sort of games? Or perhaps there's a generic way to walk through the parts of a composite control like this and hide ind...
asp.net
webform
null
null
null
null
open
How to hide the cancel button on an ASP.NET ChangePassword control === I'm considering using the ChangePassword control on an ASP.NET 2.0 Webform. I don't want the 'cancel' button to show. Is there a good way to hide it without resorting to silly "width = 0" sort of games? Or perhaps there's a generic way ...
0
34,243
08/29/2008 09:24:08
3,594
08/29/2008 08:46:29
1
0
Python descriptor protocol analog in other languages?
Is there something like the Python descriptor protocol implemented in other languages? It seems like a nice way to increase modularity/encapsulation without bloating your containing class' implementation, but I've never heard of a similar thing in any other languages. Is it likely absent from other languages because of...
python
language-features
encapsulation
null
null
null
open
Python descriptor protocol analog in other languages? === Is there something like the Python descriptor protocol implemented in other languages? It seems like a nice way to increase modularity/encapsulation without bloating your containing class' implementation, but I've never heard of a similar thing in any other lan...
0
34,249
08/29/2008 09:30:05
3,594
08/29/2008 08:46:29
1
0
Best algorithm to test if a linked list has a cycle
What's the best (halting) algorithm for determining if a linked list has a cycle in it?
interview-questions
algorithm
null
null
null
null
open
Best algorithm to test if a linked list has a cycle === What's the best (halting) algorithm for determining if a linked list has a cycle in it?
0
34,262
08/29/2008 09:36:27
2,798
08/25/2008 07:51:57
3
0
Query TFS for updated files
I want to get an overview of files that are updated in TFS (that someone else checked in) that I don't have the latest version for. Thanks
tfs
null
null
null
null
null
open
Query TFS for updated files === I want to get an overview of files that are updated in TFS (that someone else checked in) that I don't have the latest version for. Thanks
0
34,270
08/29/2008 09:41:56
33
08/01/2008 12:32:10
519
26
COMException "Library not registered." while using System.DirectoryServices
I have only just started received the following error in my windows forms application under dot net 2 framework on windows 2000 when using System.DirectoryServices. {System.Runtime.InteropServices.COMException} System.Runtime.InteropServices.COMException: {"Library not registered."} _className: ...
com
.net2
activedirectory
null
null
null
open
COMException "Library not registered." while using System.DirectoryServices === I have only just started received the following error in my windows forms application under dot net 2 framework on windows 2000 when using System.DirectoryServices. {System.Runtime.InteropServices.COMException} System.Ru...
0
34,276
08/29/2008 09:46:14
3,594
08/29/2008 08:46:29
8
0
Markdown versus ReStructuredText
What are people's thoughts on the pros and cons of Markdown versus ReStructuredText. Both seem like very usable and well-developed markup languages -- when might one want to use one over the other?
markdown
markup
restructuredtext
null
null
11/27/2011 16:06:51
not constructive
Markdown versus ReStructuredText === What are people's thoughts on the pros and cons of Markdown versus ReStructuredText. Both seem like very usable and well-developed markup languages -- when might one want to use one over the other?
4
34,284
08/29/2008 09:50:55
3,353
08/28/2008 07:32:01
13
0
How to fix the following build error in Visual Studio 2005: '"LC.exe" exited with code -1'
I get the following error when building my Windows Forms solution: '"LC.exe" exited with code -1' I use 2 commercial Windows Forms Libraries: Infragistics and the Gantt-Control from plexityhide.com, that's why I have licenses.licx files in my WinForms Projects. We also use Visual Sourcesafe as our Source Control...
vs2005
winforms
visual-studio
null
null
null
open
How to fix the following build error in Visual Studio 2005: '"LC.exe" exited with code -1' === I get the following error when building my Windows Forms solution: '"LC.exe" exited with code -1' I use 2 commercial Windows Forms Libraries: Infragistics and the Gantt-Control from plexityhide.com, that's why I have ...
0
34,286
08/29/2008 09:52:47
45,603
08/25/2008 09:52:34
46
4
Tag/Mark a Window
Is there any software tool available which allows us to visually mark/tag a window? I'm not restricting this question to any OS. /* Aside: I once replaced a live production database containing thousands of records with an empty development version simply because the two instances of Enterprise Manager looked exactly...
gui
null
null
null
null
null
open
Tag/Mark a Window === Is there any software tool available which allows us to visually mark/tag a window? I'm not restricting this question to any OS. /* Aside: I once replaced a live production database containing thousands of records with an empty development version simply because the two instances of Enterprise...
0
34,294
08/29/2008 09:57:24
3,585
08/29/2008 07:43:38
1
0
64bit Memory allocation
I've been asked to create a Delphi compatible dll in C++ to do simple 64bit memory management. The background is that the system in Delphi needs to allocate a lots of chunks of memory that would go well outside 32bit addressable space. The Delphi developer explained to me that he could not allocate memory with the D...
c++
delphi
memory
64bit
null
null
open
64bit Memory allocation === I've been asked to create a Delphi compatible dll in C++ to do simple 64bit memory management. The background is that the system in Delphi needs to allocate a lots of chunks of memory that would go well outside 32bit addressable space. The Delphi developer explained to me that he could n...
0
34,300
08/29/2008 10:00:33
381
08/05/2008 10:39:26
1,455
27
Has .net made raw COM and DCOM programming redundant ?
Has the introduction of the .net framework made raw programming in COM and DCOM redundant ? (Except for using some COM+ services, e.g. for transaction management through the System.EnterpriseServices namespace)
.net
com
com+
dcom
null
null
open
Has .net made raw COM and DCOM programming redundant ? === Has the introduction of the .net framework made raw programming in COM and DCOM redundant ? (Except for using some COM+ services, e.g. for transaction management through the System.EnterpriseServices namespace)
0
34,301
08/29/2008 10:00:43
854
08/09/2008 15:23:13
34
1
Multiple web-sites running in IIS simulatenously
At work, we have multiple branches that we may be working on at any time. Our solution so far as been to create multiple web-sites but you can only run one web-site at a time. This makes switching between branches more of a pain that in should be. I just want to go to the URL, mapped in my hosts file, for that br...
iis
null
null
null
null
null
open
Multiple web-sites running in IIS simulatenously === At work, we have multiple branches that we may be working on at any time. Our solution so far as been to create multiple web-sites but you can only run one web-site at a time. This makes switching between branches more of a pain that in should be. I just want ...
0
34,304
08/29/2008 10:03:47
2,471
08/22/2008 12:47:10
1
0
What Types of testing are part of your build process?
I use TFS 2008. We run unit tests as part of our continuous integration build and integration tests nightly. What other types of testing do you automate and include in your build process? what technologies do you use to do so? I'd thinking about smoke tests, performance tests, load tests but don't know how re...
testing
tfs
build-automation
null
null
null
open
What Types of testing are part of your build process? === I use TFS 2008. We run unit tests as part of our continuous integration build and integration tests nightly. What other types of testing do you automate and include in your build process? what technologies do you use to do so? I'd thinking about smoke...
0
34,312
08/29/2008 10:08:06
2,976
08/26/2008 09:42:25
155
20
Simple test vs PHPunit
I was wondering if anyone that have experience in both these stuff can shed some light on the _significant_ difference between the two, if any? Any specific strength of each that makes it suitable for any specific case?
php
unit-testing
phpunit
simpletest
null
null
open
Simple test vs PHPunit === I was wondering if anyone that have experience in both these stuff can shed some light on the _significant_ difference between the two, if any? Any specific strength of each that makes it suitable for any specific case?
0
34,314
08/29/2008 10:08:12
184
08/03/2008 05:34:19
1,270
19
How to implement Search Functionality in a website?
I want to implement search functionality for a website (assume it is similar to SO). I don't want to use Google search of stuff like that. My question is: How do I implement this? There are two methods I am aware of: 1. Search all the databases in the application when the user gives his query. 2. Index a...
search
null
null
null
null
null
open
How to implement Search Functionality in a website? === I want to implement search functionality for a website (assume it is similar to SO). I don't want to use Google search of stuff like that. My question is: How do I implement this? There are two methods I am aware of: 1. Search all the databases in th...
0
34,322
08/29/2008 10:14:21
2,471
08/22/2008 12:47:10
1
0
Do webtests need VS tester edition on the build server?
I have some webtests I'd like to run as part of a build. Can webtests be run on the TFS build server without VS 2008 team system tester edition installed?
tfs
build-process
null
null
null
null
open
Do webtests need VS tester edition on the build server? === I have some webtests I'd like to run as part of a build. Can webtests be run on the TFS build server without VS 2008 team system tester edition installed?
0
34,325
08/29/2008 10:17:08
1,034
08/11/2008 16:29:38
1
4
Should I use a cross-platform GUI-toolkit or rely on the native ones?
On my side job as programmer, I am to write a program in C++ to convert audio files from/to various formats. Probably, this will involve building a simple GUI. Will it be a great effort to build seperate GUIs for Mac and Windows using Cocoa and WinForms instead of a cross-platform toolkit like Qt or GTK? (I will hav...
c++
gui
mac
windows
crossplatform
null
open
Should I use a cross-platform GUI-toolkit or rely on the native ones? === On my side job as programmer, I am to write a program in C++ to convert audio files from/to various formats. Probably, this will involve building a simple GUI. Will it be a great effort to build seperate GUIs for Mac and Windows using Cocoa a...
0
34,328
08/29/2008 10:18:21
2,077
08/20/2008 07:26:21
166
4
How do I make Windows aware of a service I have written in Python?
In [another question][1] I posted yesterday, I got very good advice on how a Python script could be run as a service in Windows. What I'm left wondering is: How is Windows aware of the services that can be managed in the native tools ("services" window in "administrative tools"). I. e. what is the Windows equivalent of...
python
windows
crossplatform
null
null
null
open
How do I make Windows aware of a service I have written in Python? === In [another question][1] I posted yesterday, I got very good advice on how a Python script could be run as a service in Windows. What I'm left wondering is: How is Windows aware of the services that can be managed in the native tools ("services" wi...
0
34,345
08/29/2008 10:39:13
2,638
08/23/2008 20:10:14
323
24
Finding your own number in a box
100 (or some even number 2N :-) ) prisoners are in a room A. They are numbered from 1 to 100. One by one (from prisoner #1 to prisoner #100, in order), they will be let into a room B in which 100 boxes (numbered from 1 to 100) await them. Inside the (closed) boxes are numbers from 1 to 100 (the numbers inside the bo...
puzzle
algorithm
null
null
null
null
open
Finding your own number in a box === 100 (or some even number 2N :-) ) prisoners are in a room A. They are numbered from 1 to 100. One by one (from prisoner #1 to prisoner #100, in order), they will be let into a room B in which 100 boxes (numbered from 1 to 100) await them. Inside the (closed) boxes are numbers fr...
0
34,362
08/29/2008 11:01:59
2,661
08/24/2008 03:59:36
11
2
What if analysis on multi dimensional cubes (OLAP)
I have a multi dimensional OLAP cube with a number of dimensions. Some of these dimensions have hierarchies. The users would like to perform 'what-if' analysis on the measures in the cube by changing the hierarchies in the dimensions. For example, they want to know the impact on departmental resource budgets by mov...
database-design
olap
null
null
null
null
open
What if analysis on multi dimensional cubes (OLAP) === I have a multi dimensional OLAP cube with a number of dimensions. Some of these dimensions have hierarchies. The users would like to perform 'what-if' analysis on the measures in the cube by changing the hierarchies in the dimensions. For example, they want to...
0
34,365
08/29/2008 11:03:19
1,735
08/18/2008 11:27:42
1
0
Updating/Intercepting HttpContext.Current.Request.QueryString
Here's a wierd one. I'm reusing a code base that unfortunately, must not be updated. This code makes a call to HttpContext.Current.Request.QueryString. Ideally, I need to push a value into this collection with every request that is made. Is this possible - perhaps in an HTTP Module?
asp.net
.net-3.5
null
null
null
null
open
Updating/Intercepting HttpContext.Current.Request.QueryString === Here's a wierd one. I'm reusing a code base that unfortunately, must not be updated. This code makes a call to HttpContext.Current.Request.QueryString. Ideally, I need to push a value into this collection with every request that is made. Is this possibl...
0
34,390
08/29/2008 11:37:54
31,505
2008-09-01
781
30
How to make user controls know about css classes in ASP.NET
Since there are no header sections for user controls in asp.net, user controls have no way of knowing about stylesheet files. So css classes in the user controls are not recognized by visual studio and produces warnings. How can I make a user control know that it will relate to a css class, so if it is warning me about...
vs2008
asp.net
userconrols
null
null
null
open
How to make user controls know about css classes in ASP.NET === Since there are no header sections for user controls in asp.net, user controls have no way of knowing about stylesheet files. So css classes in the user controls are not recognized by visual studio and produces warnings. How can I make a user control know...
0
34,394
08/29/2008 14:51:10
3,187
08/27/2008 11:45:16
1
0
How would you abbriviate XHTML to an arbitrary number of words?
How would you programmacially abbriviate XHTML to an arbitrary number of words without leaving unclosed or corrupting tags? E.g. this: <p> Proin tristique dapibus neque. Nam eget purus sit amet leo tincidunt accumsan. </p> <p> Proin semper, orci at mattis blandit, augue ju...
regex
xhtml
null
null
null
null
open
How would you abbriviate XHTML to an arbitrary number of words? === How would you programmacially abbriviate XHTML to an arbitrary number of words without leaving unclosed or corrupting tags? E.g. this: <p> Proin tristique dapibus neque. Nam eget purus sit amet leo tincidunt accumsan. ...
0
34,395
08/29/2008 14:51:24
2,348
08/21/2008 19:00:04
18
4
How do I truncate a string while converting to bytes in C#?
I would like to put a string into a byte array, but the string may be too big to fit. In the case where it's too large, I would like to put as much of the string as possible into the array. Is there an efficient way to find out how many characters will fit?
c#
.net
null
null
null
null
open
How do I truncate a string while converting to bytes in C#? === I would like to put a string into a byte array, but the string may be too big to fit. In the case where it's too large, I would like to put as much of the string as possible into the array. Is there an efficient way to find out how many characters will ...
0
34,398
08/29/2008 14:53:55
404
08/05/2008 13:34:59
597
41
How should I model a field that can contain both numeric and string values in SQL Server 2005?
I have a new database table I need to create... It logically contains an ID, a name, and a "value." That value field could be either numeric or a character string in nature. I don't think I want to just make the field a varchar, because I also want to be able to query with filters like "WHERE value > 0.5" and such....
sql-server
database-design
null
null
null
null
open
How should I model a field that can contain both numeric and string values in SQL Server 2005? === I have a new database table I need to create... It logically contains an ID, a name, and a "value." That value field could be either numeric or a character string in nature. I don't think I want to just make the fiel...
0
34,399
08/29/2008 14:55:05
3,043
08/26/2008 13:24:14
508
55
Show unorded list inline, but keep the bullets
I have an html file with an unordered list. I want to show the list items horizontally but still keep the bullets. No matter what I try, whenever I set the style to inline to meet the horizontal requirement I can't get the bullets to display.
html
css
null
null
null
null
open
Show unorded list inline, but keep the bullets === I have an html file with an unordered list. I want to show the list items horizontally but still keep the bullets. No matter what I try, whenever I set the style to inline to meet the horizontal requirement I can't get the bullets to display.
0
34,401
08/29/2008 14:56:47
1,284
08/14/2008 11:34:29
7
6
Send email from Elmah?
Is anyone using Elmah to send exceptions via email? I've got Elmah logging set up via SQL Server, and can view the errors page via the Elmah.axd page, but I am unable to get the email component working. The idea here is to get the email notification so we can react more quickly to exceptions. Here is my web.config (unn...
.net
asp.net
elmah
null
null
null
open
Send email from Elmah? === Is anyone using Elmah to send exceptions via email? I've got Elmah logging set up via SQL Server, and can view the errors page via the Elmah.axd page, but I am unable to get the email component working. The idea here is to get the email notification so we can react more quickly to exceptions...
0
34,403
08/29/2008 14:57:01
2,849
08/25/2008 14:24:20
76
10
Sqlite IDE???
Is there a tool out there that can interact with a Sqlite database in a similar way that Toad works with Oracle or Management Studio works with SQL Server? I'm looking for something that visually shows table structures, views, etc. Thanks!
sqlite
ide
null
null
null
null
open
Sqlite IDE??? === Is there a tool out there that can interact with a Sqlite database in a similar way that Toad works with Oracle or Management Studio works with SQL Server? I'm looking for something that visually shows table structures, views, etc. Thanks!
0
34,411
08/29/2008 14:58:58
2,108
08/20/2008 12:00:42
71
7
How do I generate a friendly URL in Symfony PHP?
I always tend to forget these built-in symfony functions for making links.
php
url
seo
symfony
null
null
open
How do I generate a friendly URL in Symfony PHP? === I always tend to forget these built-in symfony functions for making links.
0
34,413
08/29/2008 14:59:30
3,535
08/29/2008 02:26:17
11
4
Why am I getting a NoClassDefFoundError in Java?
I am getting a NoClassDefFoundError when I run my Java application. How do I fix it?
java
null
null
null
null
01/30/2012 18:01:49
not a real question
Why am I getting a NoClassDefFoundError in Java? === I am getting a NoClassDefFoundError when I run my Java application. How do I fix it?
1
34,428
08/29/2008 15:02:41
785
08/08/2008 22:08:29
117
13
How to Format Numbers in WinForms 1.1 DataGrid?
Is there a simple way to format numbers in a Winforms 1.1 datagrid? The Format property of the DataGridTextBoxColumn seems to be completely ignored. I know there are [ugly solutions](http://support.microsoft.com/kb/318581), but was hoping there might be simpler solutions, or perhaps some trick to making the Format pr...
winforms
null
null
null
null
null
open
How to Format Numbers in WinForms 1.1 DataGrid? === Is there a simple way to format numbers in a Winforms 1.1 datagrid? The Format property of the DataGridTextBoxColumn seems to be completely ignored. I know there are [ugly solutions](http://support.microsoft.com/kb/318581), but was hoping there might be simpler sol...
0
34,430
08/29/2008 15:03:14
2,600
08/23/2008 13:40:14
350
26
Peopleware: 1st or 2nd edition
I'd like to read Peopleware, but the library here only has the 1st edition (from 1987), rather than the newer 2nd edition (1999). Can anyone tell me what the differences between the 1st and 2nd editions are? Is it worth trying to get a copy of the 2nd edition, or should I go for immediate gratification and just read ...
books
management
null
null
null
null
open
Peopleware: 1st or 2nd edition === I'd like to read Peopleware, but the library here only has the 1st edition (from 1987), rather than the newer 2nd edition (1999). Can anyone tell me what the differences between the 1st and 2nd editions are? Is it worth trying to get a copy of the 2nd edition, or should I go for im...
0
34,437
08/29/2008 15:05:09
3,394
08/28/2008 12:35:39
181
25
What are good projects to develop C skills?
I wondered what projects would be good to develop C skills? I can think of many projects to develop C#, F#, IronRuby, etc. skills as the .net framework provides ample opportunity for any number of different applications; however I'm less knowledgable about the libraries provided with C, and the possible apps one can de...
c
null
null
null
null
null
open
What are good projects to develop C skills? === I wondered what projects would be good to develop C skills? I can think of many projects to develop C#, F#, IronRuby, etc. skills as the .net framework provides ample opportunity for any number of different applications; however I'm less knowledgable about the libraries ...
0
34,439
08/29/2008 15:05:17
3,587
08/29/2008 07:51:40
11
2
Finding the methods an object has
Given a python object of any kind, is there an easy way to get a list of all methods that this object has? Or, if this is not possible, at least an easy way to check if it has a particular method other than simply checking if an error occurs when the method is called.
python
null
null
null
null
null
open
Finding the methods an object has === Given a python object of any kind, is there an easy way to get a list of all methods that this object has? Or, if this is not possible, at least an easy way to check if it has a particular method other than simply checking if an error occurs when the method is called.
0
34,463
08/29/2008 15:33:06
194
08/03/2008 10:56:49
2,007
144
Technical Hurdles for Win32 rsync port
Despite primarily being a windows user, I am a huge fan of rsync. Now, I don't want to argue the virtues of rsync vs any other tool...this is not my point. The only way I've ever found of running rsync on windows is via a version that is built to run on top of Cygwin, and as Cygwin has issues with Unicode, so does ...
winapi
rsync
port
null
null
null
open
Technical Hurdles for Win32 rsync port === Despite primarily being a windows user, I am a huge fan of rsync. Now, I don't want to argue the virtues of rsync vs any other tool...this is not my point. The only way I've ever found of running rsync on windows is via a version that is built to run on top of Cygwin, and...
0
34,476
08/29/2008 15:41:45
720
08/08/2008 08:47:12
123
7
What is in your javascript development toolbox?
I have to do some javascript in the future, so it is time to update my toolbox. Right now I use firefox with some addons: * Javascript Shell from https://www.squarefree.com/bookmarklets/webdevel.html * Firfox Dom Inspector * Firebug * Greasemonkey * Stylish I plan to use [Venkman Javascript debugger][1] as w...
javascript
debugging
null
null
null
null
open
What is in your javascript development toolbox? === I have to do some javascript in the future, so it is time to update my toolbox. Right now I use firefox with some addons: * Javascript Shell from https://www.squarefree.com/bookmarklets/webdevel.html * Firfox Dom Inspector * Firebug * Greasemonkey * Stylish ...
0
34,486
08/29/2008 15:48:16
1,384,652
08/01/2008 12:01:23
1,648
79
What more is needed for Ajax than this function
I have a small JS function that does Ajax for me and another like it that adds in POST data to the request. With Ajax being such a big topic with so many libraries about it, what am I missing from my function, is it insecure or something else worrying? function loadPage(pagePath, displayElement) { var xmlHttp;...
javascript
ajax
null
null
null
null
open
What more is needed for Ajax than this function === I have a small JS function that does Ajax for me and another like it that adds in POST data to the request. With Ajax being such a big topic with so many libraries about it, what am I missing from my function, is it insecure or something else worrying? function l...
0
34,488
08/29/2008 15:48:23
2,098
08/20/2008 11:21:16
203
15
Does limiting a query to one record improve performance
Will limiting a query to one result record, improve performance in a large(ish) MySQL table if the table only has one matching result? for example select * from people where name = "Re0sless" limit 1 if there is only one record with that name? and what about if `name` was the primary key/ set to unique? a...
sql
database
mysql
null
null
null
open
Does limiting a query to one record improve performance === Will limiting a query to one result record, improve performance in a large(ish) MySQL table if the table only has one matching result? for example select * from people where name = "Re0sless" limit 1 if there is only one record with that name? a...
0
34,490
08/29/2008 15:49:08
3,624
08/29/2008 15:49:07
1
0
How do I create a SHA1 hash in ruby?
Use the built in Digest module: Digest::SHA1.hexdigest 'foo'
ruby
sha1
hash
null
null
null
open
How do I create a SHA1 hash in ruby? === Use the built in Digest module: Digest::SHA1.hexdigest 'foo'
0
34,493
08/29/2008 15:49:25
2,230
08/21/2008 03:03:34
476
10
Excel: list ranges targeted by INDIRECT formulas
We have a few very large Excel workbooks (dozens of tabs, over a MB each, very complex calculations) with many dozens, perhaps hundreds of formulas that use the dreaded INDIRECT function. These formulas are spread out throughout the workbook, and target several tables of data to look-up for values. Now I need to mov...
excel
vba
null
null
null
null
open
Excel: list ranges targeted by INDIRECT formulas === We have a few very large Excel workbooks (dozens of tabs, over a MB each, very complex calculations) with many dozens, perhaps hundreds of formulas that use the dreaded INDIRECT function. These formulas are spread out throughout the workbook, and target several tabl...
0
34,506
08/29/2008 15:54:46
3,373
08/28/2008 09:40:18
6
3
Simulating a virtual static member of a class in c++?
Is there anyway to have a sort of virtual static member in C++? For example: class BaseClass { public: BaseClass(const string& name) : _name(name) {} string GetName() const { return _name; } virtual void UseClass() = 0; private: const strin...
c++
virtual-functions
null
null
null
null
open
Simulating a virtual static member of a class in c++? === Is there anyway to have a sort of virtual static member in C++? For example: class BaseClass { public: BaseClass(const string& name) : _name(name) {} string GetName() const { return _name; } virtual void...
0
34,509
08/29/2008 15:55:10
905
08/10/2008 09:37:14
2,887
189
Natural (human alpha-numeric) sort in Microsoft SQL 2005
We have a large database on which we have DB side pagination. This is quick, returning a page of 50 rows from millions of records in a small fraction of a second. Users can define their own sort, basically choosing what column to sort by. Columns are dynamic - some have numeric values, some dates and some text. ...
sql-server
sql-server-2005
sorting
null
null
null
open
Natural (human alpha-numeric) sort in Microsoft SQL 2005 === We have a large database on which we have DB side pagination. This is quick, returning a page of 50 rows from millions of records in a small fraction of a second. Users can define their own sort, basically choosing what column to sort by. Columns are dyn...
0
34,510
08/29/2008 15:55:10
1,931
08/19/2008 14:28:16
1
1
What is a race condition?
When writing multi-threaded applications, one of the most common problems experienced are race conditions. My question to the community, is: What is a race condition? How do you detect them? How do you handle them? And finally, how do you prevent them from occurring?
concurrency
racecondition
multithreading
null
null
null
open
What is a race condition? === When writing multi-threaded applications, one of the most common problems experienced are race conditions. My question to the community, is: What is a race condition? How do you detect them? How do you handle them? And finally, how do you prevent them from occurring?
0
34,512
08/29/2008 15:56:27
1,931
08/19/2008 14:28:16
6
1
What is a deadlock?
When writing multi-threaded applications, one of the most common problems experienced are deadlocks. My question to the community, is: What is a deadlock? How do you detect them? Do you handle them? And finally, how do you prevent them from occurring?
concurrency
deadlock
multithreading
null
null
null
open
What is a deadlock? === When writing multi-threaded applications, one of the most common problems experienced are deadlocks. My question to the community, is: What is a deadlock? How do you detect them? Do you handle them? And finally, how do you prevent them from occurring?
0
34,516
08/29/2008 15:57:44
305
08/04/2008 14:04:19
1,020
69
Is there a standard (like phpdoc or python's docstring) for commenting C# code?
Is there a standard convention (like phpdoc or python's docstring) for commenting C# code so that class documentation can be automatically generated from the source code?
c#
comments
null
null
null
null
open
Is there a standard (like phpdoc or python's docstring) for commenting C# code? === Is there a standard convention (like phpdoc or python's docstring) for commenting C# code so that class documentation can be automatically generated from the source code?
0
34,518
08/29/2008 15:57:49
1,585
08/16/2008 21:03:55
340
18
Natural Sorting algorithm
How do you sort an array of strings [naturally][1] in different languages? Post your implementation and what language it is in in the answer. [1]: http://www.codinghorror.com/blog/archives/001018.html
natural
sorting
algorithm
language-agnostic
null
null
open
Natural Sorting algorithm === How do you sort an array of strings [naturally][1] in different languages? Post your implementation and what language it is in in the answer. [1]: http://www.codinghorror.com/blog/archives/001018.html
0
34,519
08/29/2008 15:58:15
1,931
08/19/2008 14:28:16
6
1
What is a semaphore?
A semaphore is a programming concept that is frequently used to solve multi-threading problems. My question to the community: What is a semaphore and how do you use it?
concurrency
semaphore
multithreading
null
null
null
open
What is a semaphore? === A semaphore is a programming concept that is frequently used to solve multi-threading problems. My question to the community: What is a semaphore and how do you use it?
0
34,524
08/29/2008 15:59:25
1,931
08/19/2008 14:28:16
26
1
What is a mutex?
A mutex is a programming concept that is frequently used to solve multi-threading problems. My question to the community: What is a mutex and how do you use it?
concurrency
mutex
multithreading
null
null
null
open
What is a mutex? === A mutex is a programming concept that is frequently used to solve multi-threading problems. My question to the community: What is a mutex and how do you use it?
0
34,536
08/29/2008 16:02:59
3,377
08/28/2008 10:04:24
1
1
How do you swap DIVs on mouseover? (jquery?)
This most be the second most simple rollover effect, still I don't find any simple solution. **Wanted:** I have a list of items and a correspoding list of slides (DIVs). After loading, the first list item should be selected (bold) and the first slide should be visible. When the user hovers over another list item, th...
javascript
jquery
html
null
null
null
open
How do you swap DIVs on mouseover? (jquery?) === This most be the second most simple rollover effect, still I don't find any simple solution. **Wanted:** I have a list of items and a correspoding list of slides (DIVs). After loading, the first list item should be selected (bold) and the first slide should be visibl...
0
34,544
08/29/2008 16:04:25
3,448
08/28/2008 16:07:36
46
1
Detect DOM modification in Internet Explorer BHO
I am writing a BHO for ie7, and I need to detect DOM modification (i.e. via AJAX). So far I couldn't find any feasible solutions.
internet-explorer
internet-explorer-7
bho
null
null
null
open
Detect DOM modification in Internet Explorer BHO === I am writing a BHO for ie7, and I need to detect DOM modification (i.e. via AJAX). So far I couldn't find any feasible solutions.
0
34,565
08/29/2008 16:08:47
3,624
08/29/2008 15:49:07
3
0
How do I generate a random 10 digit number in ruby?
Additionally, how can I format it as a string padded with zeros?
ruby
random
null
null
null
null
open
How do I generate a random 10 digit number in ruby? === Additionally, how can I format it as a string padded with zeros?
0
34,570
08/29/2008 16:10:41
577
08/06/2008 21:36:25
41
6
What is the best quick-read Python book out there?
I am taking a class that requires Python. We will review the language in class next week, and I am a quick study on new languages, but I was wondering if there are any really great Python books I can grab while I am struggling through the basics of setting up my IDE, server environment and all those other "gotchas" tha...
python
books
null
null
null
11/08/2011 16:11:43
off topic
What is the best quick-read Python book out there? === I am taking a class that requires Python. We will review the language in class next week, and I am a quick study on new languages, but I was wondering if there are any really great Python books I can grab while I am struggling through the basics of setting up my I...
2
34,571
08/29/2008 16:11:09
3,098
08/26/2008 16:22:49
21
3
What's the best way of unit testing private methods?
How do I use jUnit to test a class that has internal private methods? It seems bad to change the access modifier for a method just to be able to run a test. Thanks.
java
unit-testing
tdd
junit
null
null
open
What's the best way of unit testing private methods? === How do I use jUnit to test a class that has internal private methods? It seems bad to change the access modifier for a method just to be able to run a test. Thanks.
0
34,579
08/29/2008 16:12:31
655
08/07/2008 14:44:51
131
11
MySQL "Error 1005" when adding tables
I've recently been working with a MySQL Database, and using MySQL workbench to design the Database. When I use the export to SQL function - so I can actually get the layout in to the Database - I get "Error 1005: Cannot create table" from MySQL. This appears to be related to Foreign Keys in the create table statement...
mysql
null
null
null
null
null
open
MySQL "Error 1005" when adding tables === I've recently been working with a MySQL Database, and using MySQL workbench to design the Database. When I use the export to SQL function - so I can actually get the layout in to the Database - I get "Error 1005: Cannot create table" from MySQL. This appears to be related to...
0
34,581
08/29/2008 16:13:11
3,635
08/29/2008 16:13:11
1
0
inline-block on span
I expected the two span tags in the following sample to display next to each other, instead they display one below the other. If I set the width of the class span.right to 49% they display next to each other. I am not able to figure out why the right span is pushed down like the right span has some invisible padding/ma...
html
inline-block
null
null
null
null
open
inline-block on span === I expected the two span tags in the following sample to display next to each other, instead they display one below the other. If I set the width of the class span.right to 49% they display next to each other. I am not able to figure out why the right span is pushed down like the right span has...
0
34,588
08/29/2008 16:14:25
3,535
08/29/2008 02:26:17
29
6
How do I change the number of open files limit in Linux?
When running my application I sometimes get an error about "too many files open". Running "ulimit -a" reports that the limit is 1024. How do I increase the limit above 1024?
linux
null
null
null
null
null
open
How do I change the number of open files limit in Linux? === When running my application I sometimes get an error about "too many files open". Running "ulimit -a" reports that the limit is 1024. How do I increase the limit above 1024?
0
34,595
08/29/2008 16:15:37
3,485
08/28/2008 18:14:08
1
2
What is a good Hash Function?
What is a good Hash function? I saw a lot of hash function and applications in my data structures courses in college, but I mostly got that it's pretty hard to make a good hash function. As a thumble rule to avoid collisions my professor said that: function Hash(key) return key mod PrimeNumber end ...
language-agnostic
algorithm
hash
null
null
null
open
What is a good Hash Function? === What is a good Hash function? I saw a lot of hash function and applications in my data structures courses in college, but I mostly got that it's pretty hard to make a good hash function. As a thumble rule to avoid collisions my professor said that: function Hash(key) ret...
0
34,600
08/29/2008 16:16:57
577
08/06/2008 21:36:25
46
6
Can you pair program remotely?
We have a team of about 7 engineers, whom I supervise. We do not have a formal office where we all work. Instead, a handful are located outside of our city, while the rest of us are scattered around the Bay Area. Quite frequently, I find myself attempting to teach concepts like TDD or refactoring to some of our more...
tdd
remote
pair-programming
null
null
null
open
Can you pair program remotely? === We have a team of about 7 engineers, whom I supervise. We do not have a formal office where we all work. Instead, a handful are located outside of our city, while the rest of us are scattered around the Bay Area. Quite frequently, I find myself attempting to teach concepts like TD...
0
34,611
08/29/2008 16:20:43
1,447
08/15/2008 16:13:59
11
1
What's the best toolkit for doing 2d game programming with Python?
What's the best toolkit for doing 2d game programming with Python? I've heard of pygame but is there anything I should add to it or is there another group of modules that surpasses it?
python
null
null
null
null
null
open
What's the best toolkit for doing 2d game programming with Python? === What's the best toolkit for doing 2d game programming with Python? I've heard of pygame but is there anything I should add to it or is there another group of modules that surpasses it?
0
34,623
08/29/2008 16:21:47
2,108
08/20/2008 12:00:42
71
8
Why is HTML form redirection used in OpenID 2?
Why would you do an automatic HTML post rather than a simple redirect? Is this so developers can automatically generate a login form that posts directory to the remote server when the OpenID is known? eg. 1. User is not logged in and visits your login page. 2. You detect the user's openID from a cookie. 3....
openid
redirect
openid2
null
null
null
open
Why is HTML form redirection used in OpenID 2? === Why would you do an automatic HTML post rather than a simple redirect? Is this so developers can automatically generate a login form that posts directory to the remote server when the OpenID is known? eg. 1. User is not logged in and visits your login page....
0
34,635
08/29/2008 16:25:58
1,952
08/19/2008 15:09:45
11
9
How do I get the assembler output from a C file in VS2005
I think the file that is produced is an .asm file, any adea how to produce this in Visual Studio when you do a build?
visual-studio
c
assembler
null
null
null
open
How do I get the assembler output from a C file in VS2005 === I think the file that is produced is an .asm file, any adea how to produce this in Visual Studio when you do a build?
0
34,638
08/29/2008 16:27:43
3,295
08/27/2008 17:52:45
226
16
data 'security' with java and hibernate
The system I am currently working on requires some role-based security, which is well catered for in the Java EE stack. The system intends to be a framework for business domain experts to write their code on top of. However, there is also a requirement for data 'security'. That is, what information is visible to an ...
java
security
hibernate
java-ee
null
null
open
data 'security' with java and hibernate === The system I am currently working on requires some role-based security, which is well catered for in the Java EE stack. The system intends to be a framework for business domain experts to write their code on top of. However, there is also a requirement for data 'security'...
0
34,655
08/29/2008 16:34:05
1,983
08/19/2008 17:03:37
11
1
Making an iframe take vertical space
I would like to have an iframe take as much vertical space as it needs to display its content and not display a scrollbar. Is it at all possible ? Are there any workarounds?
html
iframe
null
null
null
null
open
Making an iframe take vertical space === I would like to have an iframe take as much vertical space as it needs to display its content and not display a scrollbar. Is it at all possible ? Are there any workarounds?
0
34,661
08/29/2008 16:35:53
298
08/04/2008 13:29:28
181
7
Automate test of web service communication
I have an application that send messages to an external web service. I build and deploy this application using [MSBuild][1] and [Cruisecontrol.NET][2]. As CCNET build and deploys the app it also runs a set of test using [NUnit][3]. I'd now like to test the web service communication as well. My idea is that as part ...
web-services
build-process
msbuild
cruisecontrol.net
nunit
null
open
Automate test of web service communication === I have an application that send messages to an external web service. I build and deploy this application using [MSBuild][1] and [Cruisecontrol.NET][2]. As CCNET build and deploys the app it also runs a set of test using [NUnit][3]. I'd now like to test the web service com...
0
34,664
08/29/2008 16:37:10
2,862
08/25/2008 16:03:02
41
2
DesignMode with Controls
Has anyone found a useful solution to the DesignMode problem when developing controls? The issue is that if you nest controls then DesignMode only works for the first level. The second and lower levels DesignMode will always return FALSE. The standard hack has been to look at the name of the process that is runn...
.net
usercontrols
null
null
null
null
open
DesignMode with Controls === Has anyone found a useful solution to the DesignMode problem when developing controls? The issue is that if you nest controls then DesignMode only works for the first level. The second and lower levels DesignMode will always return FALSE. The standard hack has been to look at the na...
0
34,673
08/29/2008 16:39:45
1,782
08/18/2008 14:30:58
1,063
76
If you had to pick the best artifact in scrum, what would it be?
We are in the process of implemeting SCRUM, however, there's some resistence from managment, and I thought it'd be a good idea to start implementing some practices and add more incrementally, to avoid the initial rejection. How do you suggest I start?
scrum
null
null
null
null
null
open
If you had to pick the best artifact in scrum, what would it be? === We are in the process of implemeting SCRUM, however, there's some resistence from managment, and I thought it'd be a good idea to start implementing some practices and add more incrementally, to avoid the initial rejection. How do you suggest I st...
0
34,687
08/29/2008 16:43:21
3,625
08/29/2008 15:49:54
1
0
Subversion ignoring "--password" and "--username" options
When I try to do any svn command and supply the "--username" and/or "--password" options, it prompts me for my password anyways, and always will attempt to use my current user instead of the one specified in "--username". For example, logged in as user1: # svn update --username 'user2' --password 'password' ...
svn
version-control
null
null
null
null
open
Subversion ignoring "--password" and "--username" options === When I try to do any svn command and supply the "--username" and/or "--password" options, it prompts me for my password anyways, and always will attempt to use my current user instead of the one specified in "--username". For example, logged in as user1:...
0
34,698
08/29/2008 16:47:45
31,505
2008-09-01
801
32
How to Turn Off Sounds in Turtoise SVN
I do not want SVN to alert me with sounds, when it fails to update for e.g. How do I turn off sounds in SVN?
tortoisesvn
null
null
null
null
null
open
How to Turn Off Sounds in Turtoise SVN === I do not want SVN to alert me with sounds, when it fails to update for e.g. How do I turn off sounds in SVN?
0
34,705
08/29/2008 16:48:58
2,993
08/26/2008 10:45:59
344
13
Best practices with jQuery form binding code in an application
We have an application with a good amount of jQuery JSON calls to server side code. Because of this, we have a large amount of binding code to parse responses and bind the appropriate values to the form. This is a two part question. 1. What is the reccomended approach for dealing with a large number of forms that al...
jquery
null
null
null
null
null
open
Best practices with jQuery form binding code in an application === We have an application with a good amount of jQuery JSON calls to server side code. Because of this, we have a large amount of binding code to parse responses and bind the appropriate values to the form. This is a two part question. 1. What is the r...
0
34,708
08/29/2008 16:49:24
1,931
08/19/2008 14:28:16
86
3
How can I generate a unique, small, random, and user-friendly key?
A few months back I was tasked with implementing a unique and random code for our web application. The code would have to be user friendly and as small as possible, but still be essentially random (so users couldn't easily predict the next code in the sequence). It ended up generating values that looked something l...
encoding
cryptography
keys
null
null
null
open
How can I generate a unique, small, random, and user-friendly key? === A few months back I was tasked with implementing a unique and random code for our web application. The code would have to be user friendly and as small as possible, but still be essentially random (so users couldn't easily predict the next code in...
0
34,709
08/29/2008 16:49:47
3,046
08/26/2008 13:34:07
6
0
How do you use the new ModelBinder classes in ASP.NET MVC Preview 5
You'll notice that Preview 5 includes the following in their release notes: > Added support for custom model binders. Custom binders allow you to define complex types as parameters to an action method. To use this feature, mark the complex type or the parameter declaration with [ModelBinder(…)]. So how do you go ...
asp.net-mvc
null
null
null
null
null
open
How do you use the new ModelBinder classes in ASP.NET MVC Preview 5 === You'll notice that Preview 5 includes the following in their release notes: > Added support for custom model binders. Custom binders allow you to define complex types as parameters to an action method. To use this feature, mark the complex type...
0
34,711
08/29/2008 16:50:20
3,210
08/27/2008 13:14:20
1
2
Google Talk's Graphics Toolkit ?
What graphics toolkit is used for the Window's Google Talk application?
toolkits
null
null
null
null
null
open
Google Talk's Graphics Toolkit ? === What graphics toolkit is used for the Window's Google Talk application?
0
34,712
08/29/2008 16:50:22
3,648
08/29/2008 16:50:22
1
0
.Net - Detecting the Appearance Setting (Classic or XP?)
I have some UI in VB 2005 that looks great in XP Style, but goes hideous in Classic Style. Any ideas about how to detect which mode the user is in and re-format the forms on the fly? Thanks in Advance! -Chris
vb.net
windows-xp
display.properties
appearance
null
null
open
.Net - Detecting the Appearance Setting (Classic or XP?) === I have some UI in VB 2005 that looks great in XP Style, but goes hideous in Classic Style. Any ideas about how to detect which mode the user is in and re-format the forms on the fly? Thanks in Advance! -Chris
0
34,717
08/29/2008 16:52:41
1,753
08/18/2008 12:42:26
35
3
Embed audio object in infopath
Is it possible to embed an audio object (mp3, wma, whatever) in a web-enabled infopath form? If it is, how do you do it?
infopath
moss
sharepoint
null
null
null
open
Embed audio object in infopath === Is it possible to embed an audio object (mp3, wma, whatever) in a web-enabled infopath form? If it is, how do you do it?
0
34,726
08/29/2008 16:56:23
27
08/01/2008 12:21:40
161
5
Trouble using JRun to Host Java Servlets
I am being deploying new versions of java servlets with JRun as the host. I am having difficulty finding good sources for information about JRun and tutorials about how to configure and manage it. After installing JRun and opening the launcher it can't start the admin server that it creates by default...so obviously...
hosting
servlet
java
jrun
null
null
open
Trouble using JRun to Host Java Servlets === I am being deploying new versions of java servlets with JRun as the host. I am having difficulty finding good sources for information about JRun and tutorials about how to configure and manage it. After installing JRun and opening the launcher it can't start the admin se...
0
34,728
08/29/2008 16:56:39
3,362
08/28/2008 08:38:32
1
1
SharePoint List Scalability
I am particularly interested in Document Libraries, but in terms of general SharePoint lists, can anyone answer the following...? 1. What is the maximum number of items that a SharePoint list can contain? 1. What is the maximum number of lists that a single SharePoint server can host? 1. When the number of item...
sharepoint
null
null
null
null
null
open
SharePoint List Scalability === I am particularly interested in Document Libraries, but in terms of general SharePoint lists, can anyone answer the following...? 1. What is the maximum number of items that a SharePoint list can contain? 1. What is the maximum number of lists that a single SharePoint server can h...
0
34,732
08/29/2008 16:57:47
3,051
08/26/2008 13:43:22
38
3
symbols in a .so file
How do list the symbols being exported from a .so file. If possible, I'd also like to know there source (e.g. if they are pulled in from a static library). I'm using gcc 4.0.2, if that makes a difference
c++
c
gcc
symbols
null
null
open
symbols in a .so file === How do list the symbols being exported from a .so file. If possible, I'd also like to know there source (e.g. if they are pulled in from a static library). I'm using gcc 4.0.2, if that makes a difference
0
34,734
08/29/2008 16:58:01
1,284
08/14/2008 11:34:29
7
7
Best Way to ReUse Code When Using Visual Studio?
I've tried 2 different methods of reusing code. I have a solution full of just class library projects with generic code that I reuse in almost every project I work on. When I get to work on a new project, I will reuse code from this code library in one of 2 ways. I have tried bringing the projects I need from this code...
visual-studio
.net
null
null
null
null
open
Best Way to ReUse Code When Using Visual Studio? === I've tried 2 different methods of reusing code. I have a solution full of just class library projects with generic code that I reuse in almost every project I work on. When I get to work on a new project, I will reuse code from this code library in one of 2 ways. I ...
0
34,735
08/29/2008 16:58:02
1,585
08/16/2008 21:03:55
360
19
Using a rotary encoder with AVR Micro controller
I'm having trouble getting a rotary encoder to work properly with AVR micro controllers. The encoder is a mechanical [ALPS encoder][1], and I'm using [Atmega168][2]. [1]: http://no.farnell.com/1520815/passives/product.us0?sku=alps-ec12d1524401 [2]: http://www.atmel.com/dyn/resources/prod_documents/doc2545.pdf
microcontroller
avr
encoder
atmega
null
null
open
Using a rotary encoder with AVR Micro controller === I'm having trouble getting a rotary encoder to work properly with AVR micro controllers. The encoder is a mechanical [ALPS encoder][1], and I'm using [Atmega168][2]. [1]: http://no.farnell.com/1520815/passives/product.us0?sku=alps-ec12d1524401 [2]: http://...
0
34,768
08/29/2008 17:11:40
2,903
08/25/2008 20:52:48
11
1
Setting a form's action in .net 3.5 SP1
I have recently installed .net 3.5 SP1. When I deployed a compiled web site that contained a form with its action set I received this error. Method not found: 'Void System.Web.UI.HtmlControls.HtmlForm.set_Action(System.String)'. If a fellow developer who has not installed SP1 deploys the compiled site it works fine....
asp.net
.net3.5
sp1
null
null
null
open
Setting a form's action in .net 3.5 SP1 === I have recently installed .net 3.5 SP1. When I deployed a compiled web site that contained a form with its action set I received this error. Method not found: 'Void System.Web.UI.HtmlControls.HtmlForm.set_Action(System.String)'. If a fellow developer who has not installed...
0