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,781
08/29/2008 17:16:59
577
08/06/2008 21:36:25
71
6
How do you build a ratings implementation?
We have need for a "rating" system in a project we are working on, similar to the one in SO. However, in ours there are multiple entities that need to be "tagged" with a vote up (only up, never down, like an increment). Sometimes we will need to show all of the entities in order of what is rated highest, regardless of ...
algorithm
data-structures
database-design
null
null
null
open
How do you build a ratings implementation? === We have need for a "rating" system in a project we are working on, similar to the one in SO. However, in ours there are multiple entities that need to be "tagged" with a vote up (only up, never down, like an increment). Sometimes we will need to show all of the entities i...
0
34,784
08/29/2008 17:17:40
925
08/10/2008 16:16:15
53
9
mercurial setup for visual studion 2008 projects
What is a good setup for .hgignore file when working with Visual Studio 2008? I mostly develop on my own, only occasionly I clone the repository for somebody else to work on it. I'm thinking about obj folders, .suo, .sln, .user files etc.. Can they just be included or are there file I shouldn't include? Thanks...
mercurial
distributed
versioning
visual-studio-2008
null
null
open
mercurial setup for visual studion 2008 projects === What is a good setup for .hgignore file when working with Visual Studio 2008? I mostly develop on my own, only occasionly I clone the repository for somebody else to work on it. I'm thinking about obj folders, .suo, .sln, .user files etc.. Can they just be in...
0
34,785
08/29/2008 17:17:42
3,044
08/26/2008 13:31:46
247
25
When/if to seek a patent?
I am working part-time on a personal project, and it's been going very well. I've shown it to a few people, and they are all extremely enthusiastic, so I've been considering actually finishing it up, adding some bells and whistles, and selling it. One key feature of the product is a certain combination of user inter...
legal
business
null
null
null
05/06/2012 23:06:32
off topic
When/if to seek a patent? === I am working part-time on a personal project, and it's been going very well. I've shown it to a few people, and they are all extremely enthusiastic, so I've been considering actually finishing it up, adding some bells and whistles, and selling it. One key feature of the product is a ce...
2
34,790
08/29/2008 17:19:25
3,468
08/28/2008 17:05:59
41
5
duplicating jquery datepicker
the datepicker function only works on the first input box that is created. i'm trying to duplicate a datepicker by cloning the div that is containing it. <a href="#" id="dupMe">click</a> <div id="template"> input-text <input type="text" value="text1" id="txt" /> date time picker <input type="te...
jquery
null
null
null
null
null
open
duplicating jquery datepicker === the datepicker function only works on the first input box that is created. i'm trying to duplicate a datepicker by cloning the div that is containing it. <a href="#" id="dupMe">click</a> <div id="template"> input-text <input type="text" value="text1" id="txt" /> ...
0
34,798
08/29/2008 17:21:32
2,486
08/22/2008 13:39:26
25
7
Entire Page refreshes even though gridview is in an update panel
I have a gridview that is within an updatepanel for a modal popup I have on a page. The issue is that the entire page refreshes every time I click an imagebutton that is within my gridview. This causes my entire page to load and since I have grayed out the rest of the page so that the user cannot click on it this is...
gridview
updatepanel
null
null
null
null
open
Entire Page refreshes even though gridview is in an update panel === I have a gridview that is within an updatepanel for a modal popup I have on a page. The issue is that the entire page refreshes every time I click an imagebutton that is within my gridview. This causes my entire page to load and since I have graye...
0
34,802
08/29/2008 17:22:59
317
08/04/2008 15:43:28
305
15
ValidationRule To Enforce Unique Name
I'm trying to write a custom WPF ValidationRule to enforce that a certain property is unique within the context of a given collection. For example: I am editing a collection of custom objects bound to a ListView and I need to ensure that the Name property of each object in the collection is unique. Does anyone know how...
wpf
validation
data-binding
null
null
null
open
ValidationRule To Enforce Unique Name === I'm trying to write a custom WPF ValidationRule to enforce that a certain property is unique within the context of a given collection. For example: I am editing a collection of custom objects bound to a ListView and I need to ensure that the Name property of each object in the...
0
34,806
08/29/2008 17:29:38
1,782
08/18/2008 14:30:58
1,078
76
Classes design decision
I have a little dilemma that maybe you can help me sort out. I've been working today in modifying ASP.NET's Membership to add a level of indirection. Basically, ASP.NET's Membership supports Users and Roles, leaving all authorization rules to be based on whether a user belongs to a Role or not. What I need to d...
oop
asp.net-membership
inheritance
null
null
null
open
Classes design decision === I have a little dilemma that maybe you can help me sort out. I've been working today in modifying ASP.NET's Membership to add a level of indirection. Basically, ASP.NET's Membership supports Users and Roles, leaving all authorization rules to be based on whether a user belongs to a Role...
0
34,809
08/29/2008 17:30:15
392
08/05/2008 12:29:07
914
50
What Is The Best Way To Tell If An Object is Modified?
I have an object that is mapped to a cookie as a serialized base-64 string. I only want to write out a new cookie if there are changes made to the object stored in the cookie on server-side. What I want to do is get a hash code when the object is pulled from the cookie/initialized and compare the original hash code ...
c#
null
null
null
null
null
open
What Is The Best Way To Tell If An Object is Modified? === I have an object that is mapped to a cookie as a serialized base-64 string. I only want to write out a new cookie if there are changes made to the object stored in the cookie on server-side. What I want to do is get a hash code when the object is pulled fro...
0
34,818
08/29/2008 17:34:46
357
08/05/2008 01:29:23
1,069
65
SQL Server - Does column order matter?
In terms of performance and optimizations: - When constructing a table in SQL Server, does it matter what order I put the columns in? - Does it matter if my primary key is the first column? - When constructing a multi-field index, does it matter if the columns are adjacent? - Using ALTER TABLE syntax, is ...
sql-server
performance
optimization
null
null
null
open
SQL Server - Does column order matter? === In terms of performance and optimizations: - When constructing a table in SQL Server, does it matter what order I put the columns in? - Does it matter if my primary key is the first column? - When constructing a multi-field index, does it matter if the columns are ...
0
34,848
08/29/2008 17:47:46
1,349,865
08/28/2008 22:42:35
1
5
Using Zend Framework and setting a Zend_Form_Element form field to be required, how do I change the validator used to ensure that the element is not blank
When using a Zend_Form, the only way to validate that a input is not left blank is to do $element->setRequired(true); If this is not set and the element is blank, it appears to me that validation is not run on the element. If I do use setRequired(), the element is automatically given the standard Not...
php
zend
zend-framework
form-validation
null
null
open
Using Zend Framework and setting a Zend_Form_Element form field to be required, how do I change the validator used to ensure that the element is not blank === When using a Zend_Form, the only way to validate that a input is not left blank is to do $element->setRequired(true); If this is not set and the...
0
34,858
08/29/2008 17:52:23
1,736
08/18/2008 11:29:16
53
9
How to benchmark a SQL Sever Query?
I'd like to know the standard way to benchmark a SQL Sever Query, preferibly I'd like to know about the tools that come with SQL Server rather than 3rd Party tools.
sql-server
database
benchmarking
null
null
null
open
How to benchmark a SQL Sever Query? === I'd like to know the standard way to benchmark a SQL Sever Query, preferibly I'd like to know about the tools that come with SQL Server rather than 3rd Party tools.
0
34,868
08/29/2008 17:57:50
2,687
08/24/2008 14:45:10
63
3
How do you create optional arguments in php?
In the php manual they describe functions like so: string **date** ( string $format [, int $timestamp ] ) How would this function look when you define it?
php
null
null
null
null
null
open
How do you create optional arguments in php? === In the php manual they describe functions like so: string **date** ( string $format [, int $timestamp ] ) How would this function look when you define it?
0
34,879
08/29/2008 18:01:15
2,469
08/22/2008 12:41:47
151
15
Print out the keys and Data of a Hashtable in C# .NET 1.1
I need debug some old code that uses a Hashtable to store response from various threads. I need a way to go through the entire Hashtable and print out both keys and the data in the Hastable. How can this be done?
c#
.net
hashtable
null
null
null
open
Print out the keys and Data of a Hashtable in C# .NET 1.1 === I need debug some old code that uses a Hashtable to store response from various threads. I need a way to go through the entire Hashtable and print out both keys and the data in the Hastable. How can this be done?
0
34,896
08/29/2008 18:07:04
2,628
08/23/2008 18:34:26
250
6
When is it Best to Sanitize User Input?
User equals untrustworthy. Never trust untrustworthy user's input. I get that. However, I am wondering when the best time to sanitize input is. For example, do you blindly store user input and then sanitize it whenever it is accessed/used, or do you sanitize the input immediately and then store this "cleaned" version? ...
sanitization
user-input
sanitize-now
sanitize-later
null
null
open
When is it Best to Sanitize User Input? === User equals untrustworthy. Never trust untrustworthy user's input. I get that. However, I am wondering when the best time to sanitize input is. For example, do you blindly store user input and then sanitize it whenever it is accessed/used, or do you sanitize the input immedi...
0
34,898
08/29/2008 18:08:41
3,012
08/26/2008 11:55:24
36
5
Where can I find a list of upcoming software development conferences?
There are a large number of software development conferences held around the world every year, but I've yet to find a website that contains anything approaching a comprehensive list of them all. Does anyone know of one? I'm particularly interested in conferences held in the US or UK for Microsoft products or techno...
education
conferences
null
null
null
null
open
Where can I find a list of upcoming software development conferences? === There are a large number of software development conferences held around the world every year, but I've yet to find a website that contains anything approaching a comprehensive list of them all. Does anyone know of one? I'm particularly inte...
0
34,913
08/29/2008 18:11:45
2,034
08/19/2008 21:29:30
1
0
C# Linq Grouping
I'm experimenting with Linq and am having trouble figuring out grouping I've gone through several tutorials but for some reason can't figure this out. As an example, say I have a table (SiteStats) with multiple website IDs that stores a count of how many visitors by type have accessed each site in total and for the...
c#
linq
null
null
null
null
open
C# Linq Grouping === I'm experimenting with Linq and am having trouble figuring out grouping I've gone through several tutorials but for some reason can't figure this out. As an example, say I have a table (SiteStats) with multiple website IDs that stores a count of how many visitors by type have accessed each sit...
0
34,914
08/29/2008 18:12:01
3,657
08/29/2008 17:57:49
1
1
How do you use XML::Parser with Style => 'Objects'
The manual page for XML::Parser::Style::Objects is horrible. A simple hello world style program would really be helpful. I really wanted to do something like this: (not real code of course) use XML::Parser; my $p = XML::Parser->new(Style => 'Objects', Pkg => 'MyNode'); my $tree = $p->parsefile('foo...
xml
perl
null
null
null
null
open
How do you use XML::Parser with Style => 'Objects' === The manual page for XML::Parser::Style::Objects is horrible. A simple hello world style program would really be helpful. I really wanted to do something like this: (not real code of course) use XML::Parser; my $p = XML::Parser->new(Style => 'Object...
0
34,916
08/29/2008 18:12:30
985
08/11/2008 12:12:42
81
8
Scaffoling in pylons
Is there anything similar to rails' scaffolding fo pylons? I've been poking around google, but fofund only this thing caled dbsprockets, which is fine, although probably way to much for my needs. What i really need is a basic CRUD thas is based on the SQLAlchemy model.
python
pylons
null
null
null
null
open
Scaffoling in pylons === Is there anything similar to rails' scaffolding fo pylons? I've been poking around google, but fofund only this thing caled dbsprockets, which is fine, although probably way to much for my needs. What i really need is a basic CRUD thas is based on the SQLAlchemy model.
0
34,920
08/29/2008 18:13:21
1,539
08/16/2008 13:31:36
1
3
File Lock in Perl
What is the best way to create a lock on a file in PERL?
perl
files
locking
null
null
null
open
File Lock in Perl === What is the best way to create a lock on a file in PERL?
0
34,924
08/29/2008 18:14:44
1,226
08/13/2008 13:55:55
165
12
3.1 or 5.1 audio in Flash
Is it possible to do 3.1 or 5.1 audio using Flash? We're starting a project here for an interactive kiosk, and we've been told to use Flash. However, we also have a requirement to support either 3.1 or 5.1 audio (where 5.1 is the most wanted feature). I haven't done any high-tech audio stuff using Flash, so I wa...
flash
audio
3.1
5.1
null
null
open
3.1 or 5.1 audio in Flash === Is it possible to do 3.1 or 5.1 audio using Flash? We're starting a project here for an interactive kiosk, and we've been told to use Flash. However, we also have a requirement to support either 3.1 or 5.1 audio (where 5.1 is the most wanted feature). I haven't done any high-tech a...
0
34,925
08/29/2008 18:15:04
2,314
08/21/2008 15:33:37
212
16
XmlSerializer changes in .NET 3.5 SP1
I've seen quite a few posts on changes in .NET 3.5 SP1, but stumbled into one that I've yet to see documentation for yesterday. I had code working just fine on my machine, from VS, msbuild command line, everything, but it failed on the build server (running .NET 3.5 RTM). [XmlRoot("foo")] public class Foo ...
sp1
.net3.5
null
null
null
null
open
XmlSerializer changes in .NET 3.5 SP1 === I've seen quite a few posts on changes in .NET 3.5 SP1, but stumbled into one that I've yet to see documentation for yesterday. I had code working just fine on my machine, from VS, msbuild command line, everything, but it failed on the build server (running .NET 3.5 RTM). ...
0
34,926
08/29/2008 18:16:14
3,661
08/29/2008 18:16:14
1
0
Strip HTML in SSRS (VB.NET)
my DataSet returns a field with HTML, e.g. <b>blah blah </b><i> blah </i>. how do i strip all the HTML tags? has to be done with inline VB.NET Changing the data in the table is not an option. thank you
vb.net
reporting-services
null
null
null
null
open
Strip HTML in SSRS (VB.NET) === my DataSet returns a field with HTML, e.g. <b>blah blah </b><i> blah </i>. how do i strip all the HTML tags? has to be done with inline VB.NET Changing the data in the table is not an option. thank you
0
34,938
08/29/2008 18:21:17
2,083
08/20/2008 08:52:59
251
9
if statement condition optimisation
I have an if statment with two conditions (seperated by an OR operator), one of the conditions covers +70% of situations and takes far less time to process/execute than the second condition, so in the interests of speed i only want the second condition to be processed if the first condition evaluates to false. if i ...
php
language-agnostic
conditional
null
null
null
open
if statement condition optimisation === I have an if statment with two conditions (seperated by an OR operator), one of the conditions covers +70% of situations and takes far less time to process/execute than the second condition, so in the interests of speed i only want the second condition to be processed if the fir...
0
34,955
08/29/2008 18:27:44
3,575
08/29/2008 06:54:39
16
3
Best practices for debugging linking errors.
When building projects in C++, I've found debugging linking errors to be tricky, especially when picking up other people's code. What strategies do people use for debugging and fixing linking errors?
c++
gcc
visual-studio
linker
compilation
null
open
Best practices for debugging linking errors. === When building projects in C++, I've found debugging linking errors to be tricky, especially when picking up other people's code. What strategies do people use for debugging and fixing linking errors?
0
34,968
08/29/2008 18:35:42
2,603
08/23/2008 13:46:11
16
1
Best (cheapest) ssl certificates
I'm looking for cheap ssl certs for running a personal website over https without triggering Firefox's "you may be facing a man-in-the-middle-attack" response that self signed certs provoke. Nothing particularly fancy, no EV, etc. Any recommendations/where do you get your certificates from?
ssl
null
null
null
null
01/30/2012 00:25:58
not constructive
Best (cheapest) ssl certificates === I'm looking for cheap ssl certs for running a personal website over https without triggering Firefox's "you may be facing a man-in-the-middle-attack" response that self signed certs provoke. Nothing particularly fancy, no EV, etc. Any recommendations/where do you get your certifica...
4
34,973
08/29/2008 18:37:02
3,429
08/28/2008 14:49:15
1
1
Tools for finding memory corruption in managed c++ code?
I have a .NET application, which is using an open source C++ compression library for compressing images. We are accessing the C++ library via managed C++. I'm seeing heap corruption during compression. A call to _CrtIsValidHeapPointer is finding an error on a call to free() when cleaning up after compression. M...
.net
managed-c++
null
null
null
null
open
Tools for finding memory corruption in managed c++ code? === I have a .NET application, which is using an open source C++ compression library for compressing images. We are accessing the C++ library via managed C++. I'm seeing heap corruption during compression. A call to _CrtIsValidHeapPointer is finding an error ...
0
34,975
08/29/2008 18:38:05
2,328
08/21/2008 16:45:54
419
22
Branching Strategies
The company I work for is starting to have issues with their current branching model, and I was wondering what different kinds of branching strategies the community has been exposed to? Are there any good ones for different situations? What does your company use? What are the advantages and disadvantages of them?
version-control
branch
null
null
null
02/24/2012 19:53:51
not constructive
Branching Strategies === The company I work for is starting to have issues with their current branching model, and I was wondering what different kinds of branching strategies the community has been exposed to? Are there any good ones for different situations? What does your company use? What are the advantages a...
4
34,977
08/29/2008 18:38:42
3,663
08/29/2008 18:38:42
1
0
Byte level length description
I have a protocol that requires a length field up to 32-bits, and it must be generated at runtime to describe how many bytes are in a given packet. The code below is kind of ugly but I am wondering if this can be refactored to be slightly more efficient or easily understandable. The problem is that the code will...
c
length
protocol
null
null
null
open
Byte level length description === I have a protocol that requires a length field up to 32-bits, and it must be generated at runtime to describe how many bytes are in a given packet. The code below is kind of ugly but I am wondering if this can be refactored to be slightly more efficient or easily understandable. ...
0
34,981
08/29/2008 18:39:24
3,622
08/29/2008 15:41:44
1
3
Scrum: Resistance is (not) futile
I'm the second dev and a recent hire here at a PHP/MySQL shop. I was hired mostly due to my experience in wrangling some sort of process out of a chaotic mess. At least, that's what I did at my last company. ;) Since I've been here (a few months now), I've brought on board my boss, my product manager and several o...
scrum
agile
xp
null
null
null
open
Scrum: Resistance is (not) futile === I'm the second dev and a recent hire here at a PHP/MySQL shop. I was hired mostly due to my experience in wrangling some sort of process out of a chaotic mess. At least, that's what I did at my last company. ;) Since I've been here (a few months now), I've brought on board my...
0
34,987
08/29/2008 18:41:35
779
08/08/2008 20:48:29
68
3
How to declare an array of strings in C++?
I am trying to iterate over all the elements of a static array of strings in the best possible way. I want to be able to declare it on one line and easily add/remove elements from it without having to keep track of the number. Sounds really simple, doesn't it? Possible non-solutions: vector<string> v; v....
c++
null
null
null
null
null
open
How to declare an array of strings in C++? === I am trying to iterate over all the elements of a static array of strings in the best possible way. I want to be able to declare it on one line and easily add/remove elements from it without having to keep track of the number. Sounds really simple, doesn't it? Possible...
0
34,988
08/29/2008 18:41:42
1,782
08/18/2008 14:30:58
1,083
79
How to transform a WebService call using behaviours?
We have some really old code that calls WebServices using behaviours (webservice.htc), and we are having some strange problems... since they've been deprecated a long time ago, I want to change the call. What's the correct way of doing it? It's ASP.NET 1.1
asp.net-1.1
behavior
c#
javascript
null
null
open
How to transform a WebService call using behaviours? === We have some really old code that calls WebServices using behaviours (webservice.htc), and we are having some strange problems... since they've been deprecated a long time ago, I want to change the call. What's the correct way of doing it? It's ASP.NET 1.1
0
35,002
08/29/2008 18:47:23
1,853
08/18/2008 22:03:57
118
10
Does C# have a way of giving me an immutable Dictionary?
Is there anything built into the C# libraries that can give me an immutable Dictionary? Something along the lines of this in Java: Collections.unmodifiableMap(myMap); And just to clarify, I am not looking to stop the keys / values themselves from being changed, just the structure of the Dictionary. I want s...
c#
dictionary
collections
java
null
null
open
Does C# have a way of giving me an immutable Dictionary? === Is there anything built into the C# libraries that can give me an immutable Dictionary? Something along the lines of this in Java: Collections.unmodifiableMap(myMap); And just to clarify, I am not looking to stop the keys / values themselves from ...
0
35,007
08/29/2008 18:48:17
2,582
08/23/2008 04:50:45
1
0
How to expose a collection property?
Every time I create an object that has a collection property I go back and forth on the best way to do it? 1. public property with a getter that returns a reference to private variable 2. explicit get_ObjList and set_ObjList methods that return and create new or cloned objects every time 3. expli...
c#
.net
architecture
null
null
null
open
How to expose a collection property? === Every time I create an object that has a collection property I go back and forth on the best way to do it? 1. public property with a getter that returns a reference to private variable 2. explicit get_ObjList and set_ObjList methods that return and create new or...
0
35,011
08/29/2008 18:50:51
667
08/07/2008 16:00:54
84
3
Register Multiple Assemblies to the GAC in Vista
I've got a whole directory of dll's I need to register to the GAC. I'd like to avoid registering each file explicitly- but it appears that gacutil has no "register directory" option. Anyone have a fast/simple solution?
.net
gac
gacutil
null
null
null
open
Register Multiple Assemblies to the GAC in Vista === I've got a whole directory of dll's I need to register to the GAC. I'd like to avoid registering each file explicitly- but it appears that gacutil has no "register directory" option. Anyone have a fast/simple solution?
0
35,017
08/29/2008 18:52:54
1,534
08/16/2008 12:20:49
651
41
File database suggestion with support for multiple concurent users.
I need a database that could be stored network drive and would allow multiple users (up to 20) to use it without any server software. I'm considering MS Access or Berkeley DB. Can you share your experience with file databases? <br> Which one did you use, did you have any problems with it?
database
ms-access
concurrency
berkeley-db
null
null
open
File database suggestion with support for multiple concurent users. === I need a database that could be stored network drive and would allow multiple users (up to 20) to use it without any server software. I'm considering MS Access or Berkeley DB. Can you share your experience with file databases? <br> Which on...
0
35,026
08/29/2008 18:55:35
1,220
08/13/2008 13:44:48
870
61
SQL Server, convert a named instance to default instance?
I need to convert a named instance of SQL server 2005, to a default instance. Is there a way to do this without a reinstall?
sql-server
named-instance
null
null
null
null
open
SQL Server, convert a named instance to default instance? === I need to convert a named instance of SQL server 2005, to a default instance. Is there a way to do this without a reinstall?
0
35,037
08/29/2008 18:58:55
2,703
08/24/2008 16:06:02
28
1
Convert complex filename into HTML link
I have a directory with PDF files that I need to create an index for. It is a PHP page with a list of links: <A HREF="path to file">filename</A> The filenames can be complicated: LVD 2-1133 - Ändring av dumpningslina (1984-11-20).pdf What is the correct way to link to this file on a Linux/Apache se...
php
html
null
null
null
null
open
Convert complex filename into HTML link === I have a directory with PDF files that I need to create an index for. It is a PHP page with a list of links: <A HREF="path to file">filename</A> The filenames can be complicated: LVD 2-1133 - Ändring av dumpningslina (1984-11-20).pdf What is the correct ...
0
35,047
08/29/2008 19:02:34
137
08/02/2008 10:46:12
1,851
118
Migrating database changes from development to live
Perhaps the biggest risk in pushing new functionality to live lies with the database modifications required by the new code. In Rails, I believe they have 'migrations', in which you can programmatically make changes to your development host, and then make the same changes live along with the code that uses the revised ...
php
mysql
migration
schema
null
null
open
Migrating database changes from development to live === Perhaps the biggest risk in pushing new functionality to live lies with the database modifications required by the new code. In Rails, I believe they have 'migrations', in which you can programmatically make changes to your development host, and then make the sam...
0
35,049
08/29/2008 19:02:48
1,807
08/18/2008 16:52:32
161
9
custom action dll in managed code
How can I call a custom action dll written in managed code (.net) from an installer without using an unmanaged intermediary?
.net
installer
null
null
null
null
open
custom action dll in managed code === How can I call a custom action dll written in managed code (.net) from an installer without using an unmanaged intermediary?
0
35,050
08/29/2008 19:03:01
1,384,652
08/01/2008 12:01:23
1,675
83
Comparison of Javascript libraries
After the suggestion to use a library for [my ajax needs][1] I am going to use one, the problem is that there are so many and I've no idea how to even begin telling them apart. Thus, can anybody A) Give a rundown of the differences or B) Point me (and others like me) somewhere that has such a list. Failing that plan...
javascript
comparison
null
null
null
null
open
Comparison of Javascript libraries === After the suggestion to use a library for [my ajax needs][1] I am going to use one, the problem is that there are so many and I've no idea how to even begin telling them apart. Thus, can anybody A) Give a rundown of the differences or B) Point me (and others like me) somewhere...
0
35,070
08/29/2008 19:09:47
1,683
08/18/2008 00:30:32
122
10
programmatically merge .reg file into win32 registry
What's the best way to programmatically merge a .reg file into the registry? This is for unit testing; the .reg file is a test artifact which will be added then removed at the start and end of testing. Or, if there's a better way to unit test against the registry... thanks.
registry
unit-testing
null
null
null
null
open
programmatically merge .reg file into win32 registry === What's the best way to programmatically merge a .reg file into the registry? This is for unit testing; the .reg file is a test artifact which will be added then removed at the start and end of testing. Or, if there's a better way to unit test against the regi...
0
35,076
08/29/2008 19:13:14
3,344
08/28/2008 02:36:16
11
2
Strategy for identifying unused tables in SQL Server 2000?
I'm working with a SQL Server 2000 database that likely has a few dozen tables that are no longer accessed. I'd like to clear out the data that we no longer need to be maintaining, but I'm not sure how to identify which tables to remove. The database is shared by several different applications, so I can't be 100% c...
sqlserver
database
sql
null
null
null
open
Strategy for identifying unused tables in SQL Server 2000? === I'm working with a SQL Server 2000 database that likely has a few dozen tables that are no longer accessed. I'd like to clear out the data that we no longer need to be maintaining, but I'm not sure how to identify which tables to remove. The database i...
0
35,106
08/29/2008 19:28:50
1,414
08/15/2008 15:07:31
756
63
Is there a built in way in .Net AJAX to manually serialize an object to a JSON string?
I've found [`ScriptingJsonSerializationSection`][1] but I'm not sure how to use it. I could write a function to convert the object to a JSON string manually, but since .Net can do it on the fly with the `<System.Web.Services.WebMethod()>` and `<System.Web.Script.Services.ScriptMethod()>` attributes so there must be a b...
.net-2.0
asp.net
json
serialization
vb.net
null
open
Is there a built in way in .Net AJAX to manually serialize an object to a JSON string? === I've found [`ScriptingJsonSerializationSection`][1] but I'm not sure how to use it. I could write a function to convert the object to a JSON string manually, but since .Net can do it on the fly with the `<System.Web.Services.Web...
0
35,123
08/29/2008 19:36:33
3,657
08/29/2008 17:57:49
26
5
Prevent SWT scrolledComposite from eating part of it's children
What did I do wrong? Here is an excerpt from my code: public void createPartControl(Composite parent) { parent.setLayout(new FillLayout()); ScrolledComposite scrollBox = new ScrolledComposite(parent, SWT.V_SCROLL); scrollBox.setExpandHorizontal(true); mParent = new Composite(scroll...
java
eclipse
rcp
swt
null
null
open
Prevent SWT scrolledComposite from eating part of it's children === What did I do wrong? Here is an excerpt from my code: public void createPartControl(Composite parent) { parent.setLayout(new FillLayout()); ScrolledComposite scrollBox = new ScrolledComposite(parent, SWT.V_SCROLL); scrol...
0
35,167
08/29/2008 19:54:43
2,470
08/22/2008 12:42:38
213
31
Is there a way to perform a circular bit shift in C#?
I know that the following is true int i = 17; //binary 10001 int j = i << 1; //decimal 34, binary 100010 But, if you shift too far, the bits fall off the end. Where this happens is a matter of the size of integer you are working with. Is there a way to perform a shift so that the bits rotate around t...
c#
null
null
null
null
null
open
Is there a way to perform a circular bit shift in C#? === I know that the following is true int i = 17; //binary 10001 int j = i << 1; //decimal 34, binary 100010 But, if you shift too far, the bits fall off the end. Where this happens is a matter of the size of integer you are working with. Is ther...
0
35,170
08/29/2008 19:56:47
3,594
08/29/2008 08:46:29
28
4
Verilog automatic task
What does it mean if a task is declared with the automatic keyword in Verilog? task automatic do_things; input [31:0] number_of_things; reg [31:0] tmp_thing; begin // ... end endtask; Note: This question is mostly because I'm curious if there are any hardware programm...
verilog
null
null
null
null
null
open
Verilog automatic task === What does it mean if a task is declared with the automatic keyword in Verilog? task automatic do_things; input [31:0] number_of_things; reg [31:0] tmp_thing; begin // ... end endtask; Note: This question is mostly because I'm curious if the...
0
35,178
08/29/2008 19:59:14
2,897
08/25/2008 20:17:12
83
4
Regex to replace Boolean with bool
I am working on a C++ code base that was recently moved from X/Motif to Qt. I am trying to write a PERL script that will replace all occurrences of Boolean (from X) with bool. The script just does a simple replacement. s/\bBoolean\b/bool/g There are few conditions that I can not get to work right. 1...
regex
perl
null
null
null
null
open
Regex to replace Boolean with bool === I am working on a C++ code base that was recently moved from X/Motif to Qt. I am trying to write a PERL script that will replace all occurrences of Boolean (from X) with bool. The script just does a simple replacement. s/\bBoolean\b/bool/g There are few conditions t...
0
35,185
08/29/2008 20:03:58
380
08/05/2008 10:39:18
1,751
160
Finding a single number in a list
What would be the best algorithm for finding a number that occurs only once in a list which has all other numbers occurring exactly twice. So, in the list of integers (lets take it as an array) each integer repeats exactly twice, except one. To find that one, what is the best algorithm.
puzzle
algorithm
null
null
null
null
open
Finding a single number in a list === What would be the best algorithm for finding a number that occurs only once in a list which has all other numbers occurring exactly twice. So, in the list of integers (lets take it as an array) each integer repeats exactly twice, except one. To find that one, what is the best a...
0
35,186
08/29/2008 20:04:27
3,535
08/29/2008 02:26:17
36
13
How do I fix a NoSuchMethodError?
I'm getting a NoSuchMethodError when running my Java program. What's wrong and how do I fix it?
java
null
null
null
null
null
open
How do I fix a NoSuchMethodError? === I'm getting a NoSuchMethodError when running my Java program. What's wrong and how do I fix it?
0
35,191
08/29/2008 20:07:31
3,675
08/29/2008 19:49:08
1
1
Error in TFS Merge
When merging two code branches in TFS, I get an error stating: "the given key was not present in the dictionary". Some files are checked out and show up in "Pending Changes", but no changes are actually made. I have a workaround: 1. Attempt to merge (Fails with error) 2. Get latest from trunk 3. Undo ...
teamfoundationserver
merge
null
null
null
null
open
Error in TFS Merge === When merging two code branches in TFS, I get an error stating: "the given key was not present in the dictionary". Some files are checked out and show up in "Pending Changes", but no changes are actually made. I have a workaround: 1. Attempt to merge (Fails with error) 2. Get latest...
0
35,194
08/29/2008 20:08:23
2,343
08/21/2008 18:18:20
11
3
Working in Visual Studio (2005 or 2008) on a networked drive
Have you guys had any experiences (positive or negative) by placing your source code/solution on a network drive for Visual Studio 2005 or 2008? Please note I am not referring to placing your actual source control system on that drive, but rather your working folder. Thanks
visual-studio-2008
visual-studio-2005
null
null
null
null
open
Working in Visual Studio (2005 or 2008) on a networked drive === Have you guys had any experiences (positive or negative) by placing your source code/solution on a network drive for Visual Studio 2005 or 2008? Please note I am not referring to placing your actual source control system on that drive, but rather your w...
0
35,208
08/29/2008 20:14:19
2,462
08/22/2008 12:21:34
23
8
requiredfield validator is preventing another form from submitting
I have a page with many forms in panels and usercontrols, and a requiredfield validator I just added to one form is preventing all of my other forms from submitting. what's the rule that I'm not following?
asp.net
null
null
null
null
null
open
requiredfield validator is preventing another form from submitting === I have a page with many forms in panels and usercontrols, and a requiredfield validator I just added to one form is preventing all of my other forms from submitting. what's the rule that I'm not following?
0
35,211
08/29/2008 20:15:50
1,228
08/13/2008 13:58:55
891
63
Identify an event via a Linq Expression tree
The compiler usually chokes when an event doesn't appear beside a += or a -=, so I'm not sure if this is possible. I want to be able to identify an event by using an Expression tree, so I can create an event watcher for a test. The syntax would look something like this: using(var foo = new EventWatcher(targe...
c#
linq
expressiontree
null
null
null
open
Identify an event via a Linq Expression tree === The compiler usually chokes when an event doesn't appear beside a += or a -=, so I'm not sure if this is possible. I want to be able to identify an event by using an Expression tree, so I can create an event watcher for a test. The syntax would look something like t...
0
35,219
08/29/2008 20:19:31
91
08/01/2008 17:55:22
5,163
233
Optimizing Sharepoint Search Crawling
With SharePoint Server 2007, there is also a Search Feature and a Crawler. However, the Crawler is somewhat limited in that it only supports Basic Auth when crawling external sites and that there is no way to tell it to ignore noindex,nofollow attributes. Now, there is a site i'd like to index, unfortunately this si...
sharepoint
.net
c#
null
null
null
open
Optimizing Sharepoint Search Crawling === With SharePoint Server 2007, there is also a Search Feature and a Crawler. However, the Crawler is somewhat limited in that it only supports Basic Auth when crawling external sites and that there is no way to tell it to ignore noindex,nofollow attributes. Now, there is a si...
0
35,224
08/29/2008 20:21:13
1,638
08/17/2008 17:58:57
365
44
Flex ComboBox, default value and dataproviders
I have a Flex ComboBox that gets populated by a dataprovider all is well... I would now like to add a default " -- select a item --" option at the 0 index, how can I do this and still use a dataprovider? I have not seen any examples of such, but I can't imagine this being hard...
flex
data-binding
null
null
null
null
open
Flex ComboBox, default value and dataproviders === I have a Flex ComboBox that gets populated by a dataprovider all is well... I would now like to add a default " -- select a item --" option at the 0 index, how can I do this and still use a dataprovider? I have not seen any examples of such, but I can't imagine thi...
0
35,232
08/29/2008 20:26:39
1,249
08/13/2008 19:56:10
183
22
Would building an application using a Sql Server Database File (mdf) be a terrible idea?
I'm working on a side project that would be a simple web application to maintain a list of classes and their upcoming schedules. I would really like to use Linq to SQL for this project, but unfortunately the server environment I'm developing for only has MySql available. I've dabbled briefly with Subsonic but it jus...
asp.net
sql
sql-server
mysql
null
null
open
Would building an application using a Sql Server Database File (mdf) be a terrible idea? === I'm working on a side project that would be a simple web application to maintain a list of classes and their upcoming schedules. I would really like to use Linq to SQL for this project, but unfortunately the server environm...
0
35,233
08/29/2008 20:27:11
3,305
08/27/2008 18:56:35
61
9
Rewrite or repair?
I'm sure you have all been there, you take on a project where there is a creaky old code base which is barely fit for purpose and you have to make the decision to either re-write it from scratch or repair what already exists. Conventional wisdom tends to suggest that you should never attempt a re-write from scratc...
refactoring
rewrite
null
null
null
null
open
Rewrite or repair? === I'm sure you have all been there, you take on a project where there is a creaky old code base which is barely fit for purpose and you have to make the decision to either re-write it from scratch or repair what already exists. Conventional wisdom tends to suggest that you should never attemp...
0
35,240
08/29/2008 20:31:27
3,560
08/29/2008 05:20:51
11
2
Retrieving HTTP status code from loaded iframe with Javascript
I used the jQuery Form plugin for asynchronous form submission. For forms that contain files, it copies the form to a hidden iframe, submits it, and copies back the iframe's contents. The problem is that I can't figure out how to find what HTTP status code was returned by the server. For example, if the server returns ...
ajax
iframe
http
forms
null
null
open
Retrieving HTTP status code from loaded iframe with Javascript === I used the jQuery Form plugin for asynchronous form submission. For forms that contain files, it copies the form to a hidden iframe, submits it, and copies back the iframe's contents. The problem is that I can't figure out how to find what HTTP status ...
0
35,248
08/29/2008 20:34:35
3,543
08/29/2008 04:25:59
91
6
Large File Download
Internet Explorer has a file download limit of 4GB (2 GB on IE6) (More info here: [http://support.microsoft.com/kb/298618][1]) I am working on a site that will allow the user to download very large files (up to and exceeding 100GB) What is the best way to do this ***without using FTP***. I don't think Flash or...
java
browser
flash
silverlight
null
null
open
Large File Download === Internet Explorer has a file download limit of 4GB (2 GB on IE6) (More info here: [http://support.microsoft.com/kb/298618][1]) I am working on a site that will allow the user to download very large files (up to and exceeding 100GB) What is the best way to do this ***without using FTP***...
0
35,256
08/29/2008 20:37:42
137
08/02/2008 10:46:12
1,876
119
Managing multiple identical databases efficiently?
In Podcast #19, Joel fails to answer the question posed to him by Ryan from San Diego; how, if you have a database per client of a web application instead of one database used by all clients, do you "go about providing updates and enhancements to all databases efficiently?" I'm particularly interested in the answer ...
database
null
null
null
null
null
open
Managing multiple identical databases efficiently? === In Podcast #19, Joel fails to answer the question posed to him by Ryan from San Diego; how, if you have a database per client of a web application instead of one database used by all clients, do you "go about providing updates and enhancements to all databases eff...
0
35,284
08/29/2008 20:54:55
2,603
08/23/2008 13:46:11
48
1
How do I restore files to previous states in git?
Given the following interaction: $ git add foo $ git commit -m "Initial import of 'foo'" $ rm foo # This could be any destructive action on foo, like editing it. How do I restore 'foo' in my working copy? I'm looking for something like: $ git <magic> foo Restored foo to revision <blah>.
git
null
null
null
null
null
open
How do I restore files to previous states in git? === Given the following interaction: $ git add foo $ git commit -m "Initial import of 'foo'" $ rm foo # This could be any destructive action on foo, like editing it. How do I restore 'foo' in my working copy? I'm looking for something like: ...
0
35,286
08/29/2008 20:56:02
2,541
08/22/2008 18:21:46
282
34
DOS filename escaping for use with *nix commands
Earlier today I wanted to escape a DOS filename so I could use it with sed. I had a DOS batch file something like this: set FILENAME=%~f1 sed 's/Some Pattern/%FILENAME%/' inputfile (Note: %~f1 - expands %1 to a Fully qualified path name - C:\utils\MyFile.txt) I found that the backslashes in %FIL...
ms-dos
scripting
shell
null
null
null
open
DOS filename escaping for use with *nix commands === Earlier today I wanted to escape a DOS filename so I could use it with sed. I had a DOS batch file something like this: set FILENAME=%~f1 sed 's/Some Pattern/%FILENAME%/' inputfile (Note: %~f1 - expands %1 to a Fully qualified path name - C:\ut...
0
35,292
08/29/2008 21:00:03
3,305
08/27/2008 18:56:35
86
9
Log files in massively distributed systems
I do a lot of work in the grid and HPC space and one of the biggest challenges we have with a system distributed across hundreds (or in some case thousands) of servers is analysing the log files. Currently log files are written locally to the disk on each blade but we could also consider publishing logging informa...
cluster-analysis
grid
hpc
null
null
null
open
Log files in massively distributed systems === I do a lot of work in the grid and HPC space and one of the biggest challenges we have with a system distributed across hundreds (or in some case thousands) of servers is analysing the log files. Currently log files are written locally to the disk on each blade but w...
0
35,301
08/29/2008 21:11:17
3,238
08/27/2008 14:17:11
1
0
What is the diffference between the | and || or operators?
I have always used || (two pipes) in OR expressions, both in C# and PHP. Occasonally I see a single pipe used: | What is the difference between those two usages? Are there any caveats when using one over the other or are they interchangeable?
c#
php
conditional
operator
bool
null
open
What is the diffference between the | and || or operators? === I have always used || (two pipes) in OR expressions, both in C# and PHP. Occasonally I see a single pipe used: | What is the difference between those two usages? Are there any caveats when using one over the other or are they interchangeable?
0
35,304
08/29/2008 21:13:57
1,798
08/18/2008 15:49:32
16
2
FlexUnit component testing patterns: use addAsync or manually initialize?
We've been using Flex for about 6 months here at work, and I found that my first batches of FlexUnit tests involving custom components would tend to follow this sort of pattern: import mx.core.Application; import mx.events.FlexEvent; import flexunit.framework.TestCase; public...
unit-testing
flex
null
null
null
null
open
FlexUnit component testing patterns: use addAsync or manually initialize? === We've been using Flex for about 6 months here at work, and I found that my first batches of FlexUnit tests involving custom components would tend to follow this sort of pattern: import mx.core.Application; import mx.event...
0
35,315
08/29/2008 21:17:26
3,452
08/28/2008 16:16:17
1
0
How do you combine multiple result sets in SSRS?
What's the best way to combine results sets from disparate data sources in SSRS? In my particular example, I need to write a report that pulls data from SQL Server and combines it with another set of data that comes from a DB2 database. I know that you can't do this "out of the box" in SSRS 2005. I'm not excited a...
reporting-services
null
null
null
null
null
open
How do you combine multiple result sets in SSRS? === What's the best way to combine results sets from disparate data sources in SSRS? In my particular example, I need to write a report that pulls data from SQL Server and combines it with another set of data that comes from a DB2 database. I know that you can't do...
0
35,317
08/29/2008 21:18:41
1,438
08/15/2008 15:44:20
616
38
Why does Vista complain about a dead process when I use Cygwin ssh and how do I get it to shut up?
I recently bought a Vista machine for my home and when I use ssh to log in at work Vista pops up a box complaining about a process that died. Once I dismiss the box, everything is fine. So I really don't care if some process died. How do I get Vista to shut up about it? * * * I'm at work right now, so I can't ...
cygwin
ssh
windows-vista
null
null
null
open
Why does Vista complain about a dead process when I use Cygwin ssh and how do I get it to shut up? === I recently bought a Vista machine for my home and when I use ssh to log in at work Vista pops up a box complaining about a process that died. Once I dismiss the box, everything is fine. So I really don't care if so...
0
35,320
08/29/2008 21:19:24
3,677
08/29/2008 20:21:57
1
0
How do you get the last record generated in a recursive CTE?
In the code below I am using a recursive CTE(Common Table Expression) in SQL Server 2005 to try and find the top level parent of a basic hierarchical structure. The rule of this hierarchy is that every CustID has a ParentID and if the CustID has no parent then the ParentID = CustID and it is the highest level. D...
sql
common-table-expression
recursion
sql-server
null
null
open
How do you get the last record generated in a recursive CTE? === In the code below I am using a recursive CTE(Common Table Expression) in SQL Server 2005 to try and find the top level parent of a basic hierarchical structure. The rule of this hierarchy is that every CustID has a ParentID and if the CustID has no paren...
0
35,322
08/29/2008 21:20:38
1,946
08/19/2008 14:53:06
100
6
How to return status 401 instead of redirecting to login page for select actions
I'm writing an app using asp.net-mvc deploying to iis6. I'm using forms authentication. Usually when a user tries to access a resource without proper authorization I want them to be redirected to a login page. FormsAuth does this for me easy enough. Problem: Now I have an action being accessed by a console app. What...
asp.net-mvc
forms-authentication
asp.net
null
null
null
open
How to return status 401 instead of redirecting to login page for select actions === I'm writing an app using asp.net-mvc deploying to iis6. I'm using forms authentication. Usually when a user tries to access a resource without proper authorization I want them to be redirected to a login page. FormsAuth does this for ...
0
35,339
08/29/2008 21:27:23
658
08/07/2008 15:07:47
386
25
Russell's Paradox
Let X be the set of all sets that do not contain themselves. Is X a member of X?
set-theory
paradox
mathematics
null
null
08/10/2011 03:40:44
off topic
Russell's Paradox === Let X be the set of all sets that do not contain themselves. Is X a member of X?
2
35,357
08/29/2008 21:36:27
2,894
08/25/2008 20:06:55
246
30
Minimalistic Database Administration
I am a developer. An architect on good days. Somehow I find myself also being the DBA for my small company. My background is fair in the DB arts but I have never been a full fledged DBA. My question is what do I have to do to ensure a realiable and reasonably functional database environment with as little actual ef...
database
administration
tasks
null
null
null
open
Minimalistic Database Administration === I am a developer. An architect on good days. Somehow I find myself also being the DBA for my small company. My background is fair in the DB arts but I have never been a full fledged DBA. My question is what do I have to do to ensure a realiable and reasonably functional dat...
0
35,366
08/29/2008 21:41:57
2,147
08/20/2008 15:14:13
522
52
varchar vs nvarchar performance
I'm working on a database for a small web app at my school using SQL Server 2005. I see a couple of schools of thought on the issue of varchar vs nvarchar: 1. Use varchar unless you deal with a lot of internationalized data, then use nvarchar. 2. Just use nvarchar for everything. I'm beginning to see the meri...
sql
sqlserver-2005
varchar
nvarchar
null
null
open
varchar vs nvarchar performance === I'm working on a database for a small web app at my school using SQL Server 2005. I see a couple of schools of thought on the issue of varchar vs nvarchar: 1. Use varchar unless you deal with a lot of internationalized data, then use nvarchar. 2. Just use nvarchar for everyth...
0
35,372
08/29/2008 21:48:22
802
08/09/2008 02:50:52
1
0
How can I change the way my Drupal theme displays the front page
I am trying to build an website for my college's magazine. I used the "views" module to show a block of static content I created on the front page. My question is: how can I edit the theme's css so it changes the way that block of static content is displayed? For reference, <a href="http://www.historia.uff.br/aro...
css
drupal
themes
null
null
null
open
How can I change the way my Drupal theme displays the front page === I am trying to build an website for my college's magazine. I used the "views" module to show a block of static content I created on the front page. My question is: how can I edit the theme's css so it changes the way that block of static content i...
0
35,373
08/29/2008 21:48:32
3,191
08/27/2008 12:32:21
73
3
Best practices for signing .NET assemblies?
I have a solution consisting of 5 projects, each of which compile to separate assemblies. Right now I'm code-signing them, but I'm pretty sure I'm doing it wrong. What's the best practice here? - Sign each with a different key; make sure the passwords are different - Sign each with a different key; use the same p...
.net
assembly
signing
null
null
null
open
Best practices for signing .NET assemblies? === I have a solution consisting of 5 projects, each of which compile to separate assemblies. Right now I'm code-signing them, but I'm pretty sure I'm doing it wrong. What's the best practice here? - Sign each with a different key; make sure the passwords are different ...
0
35,375
08/29/2008 21:49:07
3,433
08/28/2008 15:04:27
152
10
Internet Access in Ubuntu on VirtualBox
I recently installed Ubuntu on a VirtualBox VM ... it installed just fine (much easier than on VirtualPC). However, I'm unable to get internet access from the guest OS (ie. Ubuntu). Can anyone give me any pointers on how I might enable this? The Host OS is Windows Vista, and the hardware is an IBM Lenovo. Thank...
virtualbox
ubuntu
null
null
null
null
open
Internet Access in Ubuntu on VirtualBox === I recently installed Ubuntu on a VirtualBox VM ... it installed just fine (much easier than on VirtualPC). However, I'm unable to get internet access from the guest OS (ie. Ubuntu). Can anyone give me any pointers on how I might enable this? The Host OS is Windows Vista...
0
35,380
08/29/2008 21:52:57
2,727
08/24/2008 18:23:21
18
0
Print Odd-Even numbers using signals
The problem is to print natural nos. 1,2,...n such that the parent process prints all odd numbers and child all even numbers using POSIX signals. Output should be: Parent : 1 Child : 2 Parent : 3 and so on...any suggestions?
c
signals
null
null
null
null
open
Print Odd-Even numbers using signals === The problem is to print natural nos. 1,2,...n such that the parent process prints all odd numbers and child all even numbers using POSIX signals. Output should be: Parent : 1 Child : 2 Parent : 3 and so on...any suggestions?
0
35,402
08/29/2008 22:10:02
3,576
08/29/2008 06:56:00
51
1
Resharper 4.0 encapsulation question...
When using Resharper to encapsulate a classes properties, is there a way to get it to do more than one property at a time?
resharper
null
null
null
null
null
open
Resharper 4.0 encapsulation question... === When using Resharper to encapsulate a classes properties, is there a way to get it to do more than one property at a time?
0
35,407
08/29/2008 22:19:16
1,447
08/15/2008 16:13:59
26
3
Trouble with parallel make not always starting another job when one finishes
I'm working on a system with four logical CPS (two dual-core CPUs if it matters). I'm using make to parallelize twelve trivially parallelizable tasks and doing it from cron. The invocation looks like: make -C [dir] -j 4 -l 3.99 [12 targets] The trouble I'm running into is that sometimes one job will finis...
make
null
null
null
null
null
open
Trouble with parallel make not always starting another job when one finishes === I'm working on a system with four logical CPS (two dual-core CPUs if it matters). I'm using make to parallelize twelve trivially parallelizable tasks and doing it from cron. The invocation looks like: make -C [dir] -j 4 -l 3.99...
0
35,420
08/29/2008 22:30:03
547
08/06/2008 16:09:22
558
30
mysql software: any suggestions to oversee my mysql replication server?
I've had a tough time setting up my replication server. Is there any program (OS X, Win, Linux or php no problem) that lets me monitor and resolve replication issues? (btw, for those -uhm- following, ive been on this issue [here][1], [here][2], [here][3] and [here][4]. Either i'm going about this the wrong way or i mus...
mysql
mysql-management
null
null
null
null
open
mysql software: any suggestions to oversee my mysql replication server? === I've had a tough time setting up my replication server. Is there any program (OS X, Win, Linux or php no problem) that lets me monitor and resolve replication issues? (btw, for those -uhm- following, ive been on this issue [here][1], [here][2]...
0
35,429
08/29/2008 22:42:01
3,690
08/29/2008 22:25:01
1
1
nmake, visualstudio, and .mak files
I was given a C++ project that was compiled using MS Visual Studio .net 2003 C++ compiler, and a .mak file that was used to compile it. I am able to build it from the command line using nmake project.mak, but the compiler complains that afxres.h was not found. I did a little searching around and the afxres.h is in th...
visual-studio
nmake
.mak
null
null
null
open
nmake, visualstudio, and .mak files === I was given a C++ project that was compiled using MS Visual Studio .net 2003 C++ compiler, and a .mak file that was used to compile it. I am able to build it from the command line using nmake project.mak, but the compiler complains that afxres.h was not found. I did a little s...
0
35,432
08/29/2008 22:47:47
572
08/06/2008 20:56:54
2,190
182
How can I point Visual Studio 2008 to a new path for projects?
I didn't see the option to point the workspace (or it's VS equilivant, I'm still learning the terminology for VS, but it is called a workspace in Eclipse) to My Documents/Programming instead of, well, wherever it is now.
visual-studio
null
null
null
null
null
open
How can I point Visual Studio 2008 to a new path for projects? === I didn't see the option to point the workspace (or it's VS equilivant, I'm still learning the terminology for VS, but it is called a workspace in Eclipse) to My Documents/Programming instead of, well, wherever it is now.
0
35,465
08/29/2008 23:25:27
2,510
08/22/2008 15:37:19
1
0
Easy/Simple online source control?
I'm working on a project with a small team for a couple months. We need simple source control. Preferably something online. Any suggestions?
management
project
control
source
null
03/23/2012 14:37:34
not constructive
Easy/Simple online source control? === I'm working on a project with a small team for a couple months. We need simple source control. Preferably something online. Any suggestions?
4
35,470
08/29/2008 23:44:29
3,446
08/28/2008 15:47:28
16
3
Are there any static analysis tools for Python?
I am starting to use Python (specifically because of Django) and I would like to remove the burden for exhaustive testing by performing some static analysis. What tools/parameters/etc. exist to detect issues at compile time that would otherwise show up during runtime? (type errors are probably the most obvious case of...
python
static-analysis
null
null
null
null
open
Are there any static analysis tools for Python? === I am starting to use Python (specifically because of Django) and I would like to remove the burden for exhaustive testing by performing some static analysis. What tools/parameters/etc. exist to detect issues at compile time that would otherwise show up during runtim...
0
35,474
08/29/2008 23:49:12
572
08/06/2008 20:56:54
2,192
183
How much process do you follow on your own projects?
Do you follow a process at all? If so, which ones? If not, how do you manage the development cycle?
project
software-engineering
null
null
null
07/04/2012 20:25:54
not constructive
How much process do you follow on your own projects? === Do you follow a process at all? If so, which ones? If not, how do you manage the development cycle?
4
35,479
08/29/2008 23:55:09
2,543
08/22/2008 18:27:05
143
28
Exception in Web Service locks DLL and prevents publishing. Workaround?
I'm using a native DLL (FastImage.dll) in a C# ASP.NET Web Service that sometimes locks (can't delete it---says access denied); this requires stopping IIS to delete the DLL. The inability to delete this DLL in the bin folder of my published Web Service prevents me from publishing successfully (even though it thinks it ...
c#
asp.net
visual-studio
web-services
iis
null
open
Exception in Web Service locks DLL and prevents publishing. Workaround? === I'm using a native DLL (FastImage.dll) in a C# ASP.NET Web Service that sometimes locks (can't delete it---says access denied); this requires stopping IIS to delete the DLL. The inability to delete this DLL in the bin folder of my published We...
0
35,480
08/29/2008 23:56:27
3,421
08/28/2008 14:25:39
1
1
Clearing Class::DBI's internal cache.
I'm currently working on a large implementation of Class::DBI for an existing database structure, and am running into a problem with clearing the cache from Class::DBI. This is a mod_perl implementation, so an instance of a class can be quite old between times that it is accessed. From the man pages I found two optio...
perl
null
null
null
null
null
open
Clearing Class::DBI's internal cache. === I'm currently working on a large implementation of Class::DBI for an existing database structure, and am running into a problem with clearing the cache from Class::DBI. This is a mod_perl implementation, so an instance of a class can be quite old between times that it is acce...
0
35,485
08/30/2008 00:03:39
1,841
08/18/2008 20:36:10
78
3
Linux: What is the best way to estimate the code & static data size of program?
I want to be able to get an estimate of how much code & static data is used by my C++ program? Is there a way to find this out by looking at the executable or object files? Or perhaps something I can do at runtime? Will objdump & readelf help?
c++
c
linux
null
null
null
open
Linux: What is the best way to estimate the code & static data size of program? === I want to be able to get an estimate of how much code & static data is used by my C++ program? Is there a way to find this out by looking at the executable or object files? Or perhaps something I can do at runtime? Will objdump ...
0
35,486
08/30/2008 00:04:38
2,066
08/20/2008 03:59:13
1
1
Fluid rounded corners with jquery
What is the best way to create fluid width/height rounded corners with jquery?
jquery
null
null
null
null
null
open
Fluid rounded corners with jquery === What is the best way to create fluid width/height rounded corners with jquery?
0
35,488
08/30/2008 00:05:34
572
08/06/2008 20:56:54
2,192
183
Is there a good tool for managing the Windows Environment Variables?
The one that comes with Windows XP is not that great. The text field is small, everything's on one line, and it's hard to edit. Does something better exist? If not, where should I start to make one?
windows
path-variables
null
null
null
null
open
Is there a good tool for managing the Windows Environment Variables? === The one that comes with Windows XP is not that great. The text field is small, everything's on one line, and it's hard to edit. Does something better exist? If not, where should I start to make one?
0
35,490
08/30/2008 00:07:41
3,279
08/27/2008 16:46:21
163
11
Spread vs MPI vs zeromq?
In one of the answers to [Broadcast like UDP with the Reliability of TCP][1], a user mentions the [Spread][2] messaging API. I've also run across one called [ØMQ][3]. I also have some familiarity with [MPI][4]. So, my main question is: why would I choose one over the other? More specifically, why would I choose...
networking
api
distributed
cluster-analysis
messaging
null
open
Spread vs MPI vs zeromq? === In one of the answers to [Broadcast like UDP with the Reliability of TCP][1], a user mentions the [Spread][2] messaging API. I've also run across one called [ØMQ][3]. I also have some familiarity with [MPI][4]. So, my main question is: why would I choose one over the other? More sp...
0
35,491
08/30/2008 00:09:38
1,841
08/18/2008 20:36:10
78
3
Mac OS X: What is the best way to estimate the code & static data size of program?
I want to be able to get an estimate of how much code & static data is used by my C++ program? Is there a way to find this out by looking at the executable or object files? Or perhaps something I can do at runtime? Will otool help?
c++
c
osx
macos
null
null
open
Mac OS X: What is the best way to estimate the code & static data size of program? === I want to be able to get an estimate of how much code & static data is used by my C++ program? Is there a way to find this out by looking at the executable or object files? Or perhaps something I can do at runtime? Will otool...
0
35,499
08/30/2008 00:14:19
3,695
08/30/2008 00:14:19
1
0
Ajax polling.
In the project i am currently working on, we have the need to develop a web chat application, not a very complex chat, just a way to connect two people to talk about a very specific topic, we don't need any kind of authentication for one of the two users, we don't have to support emoticons, avatars, or stuff like that....
php
ajax
chat
null
null
null
open
Ajax polling. === In the project i am currently working on, we have the need to develop a web chat application, not a very complex chat, just a way to connect two people to talk about a very specific topic, we don't need any kind of authentication for one of the two users, we don't have to support emoticons, avatars, ...
0
35,522
08/30/2008 00:44:43
335,696
08/30/2008 00:40:13
1
0
looping and average in c++
Programming Student here...trying to work on a project but I'm stuck. The project is trying to find the miles per gallon per trip then at the end outputting total miles and total gallons used and averaging miles per gallon How do I loop back up to the first question after the first set of questions has been aske...
c++
null
null
null
null
null
open
looping and average in c++ === Programming Student here...trying to work on a project but I'm stuck. The project is trying to find the miles per gallon per trip then at the end outputting total miles and total gallons used and averaging miles per gallon How do I loop back up to the first question after the firs...
0
35,528
08/30/2008 00:53:39
1,343
08/14/2008 15:46:01
143
26
canonical problems list
Does anyone known of a a good reference for canonical CS problems? I'm thinking of things like "the sorting problem", "the bin packing problem", "the travailing salesman problem" and what not.
theory
reference
null
null
null
null
open
canonical problems list === Does anyone known of a a good reference for canonical CS problems? I'm thinking of things like "the sorting problem", "the bin packing problem", "the travailing salesman problem" and what not.
0
35,530
08/30/2008 00:55:26
1,175
08/13/2008 10:21:54
977
94
What Are High-Pass and Low-Pass Filters?
Graphics and audio editing and processing software often contain functions called "High-Pass Filter" and "Low-Pass Filter". Exactly what do these do, and what are the algorithms for implementing them?
algorithm
graphics
audio
photoshop
null
null
open
What Are High-Pass and Low-Pass Filters? === Graphics and audio editing and processing software often contain functions called "High-Pass Filter" and "Low-Pass Filter". Exactly what do these do, and what are the algorithms for implementing them?
0
35,537
08/30/2008 01:11:46
3,270
08/27/2008 15:54:29
1
0
Zoom for a form in C#
Is there an easy way to set the zoom level for a form in C#? In VBA there was a zoom property of the form.
c#
vba
null
null
null
null
open
Zoom for a form in C# === Is there an easy way to set the zoom level for a form in C#? In VBA there was a zoom property of the form.
0
35,538
08/30/2008 01:15:32
3,594
08/29/2008 08:46:29
47
5
Validate (X)HTML in Python
What's the best way to go about validating that a document follows some version of HTML (prefereably that I can specify)? I'd like to be able to know where the failures occur, as in a web-based validator, except in a native Python app.
python
html
validation
xhtml
null
null
open
Validate (X)HTML in Python === What's the best way to go about validating that a document follows some version of HTML (prefereably that I can specify)? I'd like to be able to know where the failures occur, as in a web-based validator, except in a native Python app.
0
35,541
08/30/2008 01:17:52
3,435
08/28/2008 15:10:35
20
4
Are there any good programs for actionscript/flex that'll count lines of code, number of functions, files, packages,etc...
Doug McCune had created something that was exactly what I needed ([http://dougmccune.com/blog/2007/05/10/analyze-your-actionscript-code-with-this-apollo-app/][1]) but alas - it was for AIR beta 2. I just would like some tool that I can run that would provide some decent metrics...any idea's? [1]: http://dougmcc...
flex
actionscript-3
code-analysis
null
null
null
open
Are there any good programs for actionscript/flex that'll count lines of code, number of functions, files, packages,etc... === Doug McCune had created something that was exactly what I needed ([http://dougmccune.com/blog/2007/05/10/analyze-your-actionscript-code-with-this-apollo-app/][1]) but alas - it was for AIR bet...
0
35,551
08/30/2008 01:29:05
2,148
08/20/2008 15:20:13
235
18
Excluding FxCop rule in source.
In a project I'm working on FxCop shows me lots of (and I mean more than 400) errors on the InitializeComponent() methods generated by the Windows Forms designer. Most of those errors are just the assignment of the Text property of labels. I'd like to suppress those methods in source, so I copied the suppression cod...
fxcop
initializecomponent
suppression
null
null
null
open
Excluding FxCop rule in source. === In a project I'm working on FxCop shows me lots of (and I mean more than 400) errors on the InitializeComponent() methods generated by the Windows Forms designer. Most of those errors are just the assignment of the Text property of labels. I'd like to suppress those methods in so...
0
35,559
08/30/2008 01:44:34
1,208
08/13/2008 13:11:36
133
19
How far does SQL Server Express Edition scale?
Wikipedia says SQL Server Express Edition is limited to "one processor, 1 GB memory and 4 GB database files". Does anyone have practical experience with how well this scales?
sql-server
null
null
null
null
null
open
How far does SQL Server Express Edition scale? === Wikipedia says SQL Server Express Edition is limited to "one processor, 1 GB memory and 4 GB database files". Does anyone have practical experience with how well this scales?
0