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
11,783
08/14/2008 23:33:35
34
08/01/2008 12:39:52
2,210
108
In .NET, will empty method calls be optimized out?
Title says it all, given an empty method body, will the JIT optimize out the call (I know the C# compiler won't). How would I go about finding out? What tools should I be using and where should I be looking? Since I'm sure it'll be asked, the reason for the empty method is a preprocessor directive.
.net
performance
null
null
null
null
open
In .NET, will empty method calls be optimized out? === Title says it all, given an empty method body, will the JIT optimize out the call (I know the C# compiler won't). How would I go about finding out? What tools should I be using and where should I be looking? Since I'm sure it'll be asked, the reason for the emp...
0
11,801
08/15/2008 00:05:13
748
08/08/2008 14:19:10
41
5
Is Removing Windows 2000 as a supported OS ok?
What's the general consensus on supporting Windows 2000 for software distribution? Are people supporting Windows XP SP2+ for new software development or is this too restrictive still?
windows
deployment
compatibility
null
null
null
open
Is Removing Windows 2000 as a supported OS ok? === What's the general consensus on supporting Windows 2000 for software distribution? Are people supporting Windows XP SP2+ for new software development or is this too restrictive still?
0
11,804
08/15/2008 00:08:15
493
08/06/2008 10:25:05
1,423
115
Returning Large Results Via a Webservice
I'm working on a web service at the moment and there is the potential that the returned results could be quite large ( > 5mb). It's perfectly valid for this set of data to be this large and the web service can be called either sync or async, but I'm wondering what people's thoughts are on the following: 1. If t...
c#
.net
webservices
null
null
null
open
Returning Large Results Via a Webservice === I'm working on a web service at the moment and there is the potential that the returned results could be quite large ( > 5mb). It's perfectly valid for this set of data to be this large and the web service can be called either sync or async, but I'm wondering what peopl...
0
11,806
08/15/2008 00:09:16
889
08/10/2008 08:04:03
101
8
How do you impersonate an Active Directory user in Powershell?
I'm trying to run powershell commands through a web interface (ASP.NET/C#) in order to create mailboxes/etc on Exchange 2007. When I run the page using Visual Studio (Cassini), the page loads up correctly. However, when I run it on IIS (v5.1), I get the error "unknown user name or bad password". The biggest problem tha...
c#
asp.net
powershell
activedirectory
null
null
open
How do you impersonate an Active Directory user in Powershell? === I'm trying to run powershell commands through a web interface (ASP.NET/C#) in order to create mailboxes/etc on Exchange 2007. When I run the page using Visual Studio (Cassini), the page loads up correctly. However, when I run it on IIS (v5.1), I get th...
0
11,809
08/15/2008 00:12:20
362
08/05/2008 04:38:30
42
1
How to create an all browser-compatible hanging indent style in CSS in a span
The only thing I've found has been; .hang { text-indent: -3em; margin-left: 3em; } The only way for this to work is putting text in a paragraph, which causes those horribly unsightly extra lines. I'd much rather just have them in a `<span class="hang"></span>` type of thing.
css
indent
hanging
span
null
null
open
How to create an all browser-compatible hanging indent style in CSS in a span === The only thing I've found has been; .hang { text-indent: -3em; margin-left: 3em; } The only way for this to work is putting text in a paragraph, which causes those horribly unsightly extra lines. I'd much rather just hav...
0
11,820
08/15/2008 00:29:57
26
08/01/2008 12:18:14
511
78
How much extra overhead is generated when sending a file over a web service as a byte array?
This [question and answer][1] shows how to send a file as a byte array through an XML web service. How much overhead is generated by using this method for file transfer? I assume the data looks something like this: <?xml version="1.0" encoding="UTF-8" ?> <bytes> <byte>16</byte> <byte>28</...
webservice
xml
null
null
null
null
open
How much extra overhead is generated when sending a file over a web service as a byte array? === This [question and answer][1] shows how to send a file as a byte array through an XML web service. How much overhead is generated by using this method for file transfer? I assume the data looks something like this: ...
0
11,831
08/15/2008 00:39:01
1,366
08/14/2008 18:30:52
30
2
Singletons: good design or a crutch?
Singletons are a hotly debated design pattern, so I am interested in what the Stackoverflow community thought about them. Please provide reasons for your opinions, not just "Singletons are for lazy programmers!" Here is a fairly good article on the issue, all though it is against the use of Singletons: [scientif...
language-agnostic
designpatterns
singleton
null
null
null
open
Singletons: good design or a crutch? === Singletons are a hotly debated design pattern, so I am interested in what the Stackoverflow community thought about them. Please provide reasons for your opinions, not just "Singletons are for lazy programmers!" Here is a fairly good article on the issue, all though it is...
0
11,854
08/15/2008 01:00:47
1,256
08/13/2008 23:17:37
16
5
Inheritance and Polymorphism - Ease of use vs Purity
In a project our team is using object lists to perform mass operations on sets of data that should all be processed in a similar way. In particular, different objects would ideally act the same, which would be very easily achieved with polymorphism. The problem I have with it is that inheritance implies the _is a_ re...
inheritance
polymorphism
oop
null
null
null
open
Inheritance and Polymorphism - Ease of use vs Purity === In a project our team is using object lists to perform mass operations on sets of data that should all be processed in a similar way. In particular, different objects would ideally act the same, which would be very easily achieved with polymorphism. The proble...
0
11,857
08/15/2008 01:05:30
1,117
08/12/2008 13:27:15
51
9
What do you use as a good alternative to Team System?
I would like to gauge what solutions other people put in place to get Team System functionality. We all know that Team System can be pricey for some of us. I know they offer a small team edition with five licenses with a MSDN subscription, but what if your team is bigger than five or you don't want to use Team System...
visual-studio-team-system
svn
fogbugz
warehouse
cruisecontrol.net
null
open
What do you use as a good alternative to Team System? === I would like to gauge what solutions other people put in place to get Team System functionality. We all know that Team System can be pricey for some of us. I know they offer a small team edition with five licenses with a MSDN subscription, but what if your te...
0
11,878
08/15/2008 01:50:02
285
08/04/2008 12:34:49
143
16
Best .NET Solution for Frequently Changed Database
I am currently architecting a small CRUD applicaton. Their database is a huge mess and will be changing frequently over the course of the next 6 months to a year. What would you recommend for my data layer: 1) ORM (if so, which one?) 2) Linq2Sql 3) Stored Procedures 4) Parametrized Queries I really need a solu...
asp.net
.net
c#
orm
linq-to-sql
null
open
Best .NET Solution for Frequently Changed Database === I am currently architecting a small CRUD applicaton. Their database is a huge mess and will be changing frequently over the course of the next 6 months to a year. What would you recommend for my data layer: 1) ORM (if so, which one?) 2) Linq2Sql 3) Stored Pro...
0
11,879
08/15/2008 01:51:48
391
08/05/2008 12:27:15
36
1
Is it possible to return objects from a WebService?
Instead of returning a common string, is there a way to return classic objects? If not: what are the best practices? Do you transpose your object to xml and rebuild the object on the other side? What are the other possibilities?
webservices
null
null
null
null
null
open
Is it possible to return objects from a WebService? === Instead of returning a common string, is there a way to return classic objects? If not: what are the best practices? Do you transpose your object to xml and rebuild the object on the other side? What are the other possibilities?
0
11,903
08/15/2008 02:29:50
257
08/04/2008 07:30:01
313
30
OpenID Attribute Exchange - should I use it?
My website will be using only OpenID for authentication. I'd like to pull user details down via attribute exchange, but attribute exchange seems to have caused a lot of grief for StackOverflow. What is the current state of play in the industry? Does any OpenID provider do a decent job of attribute exchange? Sh...
openid
null
null
null
null
null
open
OpenID Attribute Exchange - should I use it? === My website will be using only OpenID for authentication. I'd like to pull user details down via attribute exchange, but attribute exchange seems to have caused a lot of grief for StackOverflow. What is the current state of play in the industry? Does any OpenID prov...
0
11,915
08/15/2008 02:56:41
571
08/06/2008 20:19:59
773
60
RSS Feeds in ASP.NET MVC
How would you reccommend handling RSS Feeds in ASP.NET MVC? Using a third party library? Using the RSS stuff in the BCL? Just making an RSS view that render the XML? Or something completely different?
asp.net
mvc
rss
null
null
null
open
RSS Feeds in ASP.NET MVC === How would you reccommend handling RSS Feeds in ASP.NET MVC? Using a third party library? Using the RSS stuff in the BCL? Just making an RSS view that render the XML? Or something completely different?
0
11,919
08/15/2008 03:05:13
1,392
08/15/2008 03:01:55
1
0
How do I get PHP and MySQL working on IIS 7.0 ?
Okay, I've looked all over the internet for a good solution to get PHP and MySQL working on IIS7.0. It's nearly impossible, I've tried it so many times and given up in vain. Please please help by linking some great step-by-step tutorial to adding PHP and MySQL on IIS7.0 from scratch. PHP and MySQL are essential for ins...
php
mysql
iis7
null
null
null
open
How do I get PHP and MySQL working on IIS 7.0 ? === Okay, I've looked all over the internet for a good solution to get PHP and MySQL working on IIS7.0. It's nearly impossible, I've tried it so many times and given up in vain. Please please help by linking some great step-by-step tutorial to adding PHP and MySQL on IIS...
0
11,926
08/15/2008 03:25:31
105
08/01/2008 23:29:32
23
2
ASP.Net MVC route mapping
I'm new to MVC (and ASP.Net routing). I'm trying to map *.aspx to a controller called "PageController". routes.MapRoute( "Page", "{name}.aspx", new { controller = "Page", action = "Index", id = "" } ); Wouldn't the code above map *.aspx to "PageController"? When I run this and...
asp.net-mvc
null
null
null
null
null
open
ASP.Net MVC route mapping === I'm new to MVC (and ASP.Net routing). I'm trying to map *.aspx to a controller called "PageController". routes.MapRoute( "Page", "{name}.aspx", new { controller = "Page", action = "Index", id = "" } ); Wouldn't the code above map *.aspx to "PageCo...
0
11,930
08/15/2008 03:32:28
338
08/04/2008 18:34:44
1
0
How can I determine the IP of my router/gateway in Java?
How can I determine the IP of my router/gateway in Java? I can get my IP easily enough. I can get my internet IP using a service on a website. But how can I determine my gateway's IP? This is somewhat easy in .NET if you know your way around. But how do you do it in Java?
java
sockets
internet
ip
router
null
open
How can I determine the IP of my router/gateway in Java? === How can I determine the IP of my router/gateway in Java? I can get my IP easily enough. I can get my internet IP using a service on a website. But how can I determine my gateway's IP? This is somewhat easy in .NET if you know your way around. But how do y...
0
11,941
08/15/2008 03:47:18
1,394
08/15/2008 03:38:25
1
0
Getting started with Agile and TDD..
How do I get started in Agile and TDD. I have learnt a bit about Agile, but finding it difficult to get started. How do I get started.
agile
null
null
null
null
null
open
Getting started with Agile and TDD.. === How do I get started in Agile and TDD. I have learnt a bit about Agile, but finding it difficult to get started. How do I get started.
0
11,950
08/15/2008 04:05:10
1,130
08/12/2008 16:39:54
1
1
How do you log errors (Exceptions) in your Asp.Net apps ?
I'm looking for the best way to log errors in an Asp.Net application. I want to be able to receive Emails when errors occurs in my application, with detailed information about the Exception and the current Request. In my company we used to have our own ErrorMailer, catching everything in the Global.asax Application...
error-handling
asp.net
null
null
null
null
open
How do you log errors (Exceptions) in your Asp.Net apps ? === I'm looking for the best way to log errors in an Asp.Net application. I want to be able to receive Emails when errors occurs in my application, with detailed information about the Exception and the current Request. In my company we used to have our own ...
0
11,964
08/15/2008 04:32:29
1,220
08/13/2008 13:44:48
542
39
Pay for vmware or use Open Source?
What should I use to virtualize my desktop, vmx, xen, or vmware? **Needs to work on a linux or windows host, sorry virtual pc.**
virtualization
null
null
null
null
null
open
Pay for vmware or use Open Source? === What should I use to virtualize my desktop, vmx, xen, or vmware? **Needs to work on a linux or windows host, sorry virtual pc.**
0
11,974
08/15/2008 04:54:05
1,396
08/15/2008 04:14:04
11
2
What is the best way to upload a file via an HTTP POST with a web form?
Basically, something better than this: > [input type="file" name="myfile" size="50"] First of all, the "browse" button looks different on every browser. Unlike the "submit" button on a form, you have to come up with some [hack-y](http://www.quirksmode.org/dom/inputfile.html) way to style it. Secondly, there's...
forms
html
http
post
null
null
open
What is the best way to upload a file via an HTTP POST with a web form? === Basically, something better than this: > [input type="file" name="myfile" size="50"] First of all, the "browse" button looks different on every browser. Unlike the "submit" button on a form, you have to come up with some [hack-y](http:/...
0
11,975
08/15/2008 04:54:59
1,220
08/13/2008 13:44:48
540
39
Handling timezones in storage?
Store everything in GMT? Store everything the way it was entered with an embedded offset? Do the math everytime you render? Display relative Times "1 minutes ago"?
globalization
localization
null
null
null
null
open
Handling timezones in storage? === Store everything in GMT? Store everything the way it was entered with an embedded offset? Do the math everytime you render? Display relative Times "1 minutes ago"?
0
11,986
08/15/2008 05:23:02
1,396
08/15/2008 04:14:04
11
2
Why does sqlite3-ruby-1.2.2 not work on OS X?
I am running OS X 10.5, Ruby 1.8.6, Rails 2.1, and sqlite3-ruby 1.2.2 and I get the following error when trying to rake db:migrate on an app that works find connected to MySQL. > rake aborted! no such file to load -- sqlite3/database
ruby
ruby-on-rails
sqlite
rubyonrails
null
null
open
Why does sqlite3-ruby-1.2.2 not work on OS X? === I am running OS X 10.5, Ruby 1.8.6, Rails 2.1, and sqlite3-ruby 1.2.2 and I get the following error when trying to rake db:migrate on an app that works find connected to MySQL. > rake aborted! no such file to load -- sqlite3/database
0
12,008
08/15/2008 06:06:13
298
08/04/2008 13:29:28
17
4
How do you do system integration?
I curious to how different people solve integration of systems. I have a feeling that the last years more and more work has gone into integrating systems and that this kind of work need will increase as well. I wondering if you solve it developing your own small services that are then connected or if you use some so...
architecture
system-integration
null
null
null
null
open
How do you do system integration? === I curious to how different people solve integration of systems. I have a feeling that the last years more and more work has gone into integrating systems and that this kind of work need will increase as well. I wondering if you solve it developing your own small services that a...
0
12,009
08/15/2008 06:08:55
115
08/02/2008 05:44:40
155
27
STDIN usage
I regularly setup new Debian boxes and I am trying to automate the process more, I want to setup samba with my necessary settings, I have already setup the config, now I need to set the password. The man page says: -s This option causes smbpasswd to be silent (i.e. not issue prompts) a...
debian
stdin
automation
samba
smbpasswd
null
open
STDIN usage === I regularly setup new Debian boxes and I am trying to automate the process more, I want to setup samba with my necessary settings, I have already setup the config, now I need to set the password. The man page says: -s This option causes smbpasswd to be silent (i.e. not issue prom...
0
12,010
08/15/2008 06:11:07
115
08/02/2008 05:44:40
155
27
Shopping Cart
What should I take into consideration while building a Shopping Cart, for a eCommerce site (no metal work here =))?
e-commerce
shopping-cart
website
null
null
null
open
Shopping Cart === What should I take into consideration while building a Shopping Cart, for a eCommerce site (no metal work here =))?
0
12,023
08/15/2008 06:28:20
322
08/04/2008 16:38:52
267
16
How do I attract developers to an Open Source project?
How do I attract developers to an open source project? Obviously if the project were cool or valuable it would be easier to find people. (In fact, they would probably come to me.) But what do I do for the mundane or unexciting? Advertise the project? Spam forums? Or just keep on plugging away hoping that some other ...
opensource
null
null
null
null
null
open
How do I attract developers to an Open Source project? === How do I attract developers to an open source project? Obviously if the project were cool or valuable it would be easier to find people. (In fact, they would probably come to me.) But what do I do for the mundane or unexciting? Advertise the project? Spam f...
0
12,045
08/15/2008 07:02:45
276
08/04/2008 10:44:14
1
1
Unit testing a timer based application?
I am currently writing a simple, timer based mini app in C# that performs an action n times every k seconds. I am trying to adopt a test driven development style, so my goal is to unit test all parts of the app. So, my question is: Is there a good way to unit test a timer based class? The problem, as I see it, is...
unittesting
c#
.net
timer
null
null
open
Unit testing a timer based application? === I am currently writing a simple, timer based mini app in C# that performs an action n times every k seconds. I am trying to adopt a test driven development style, so my goal is to unit test all parts of the app. So, my question is: Is there a good way to unit test a timer...
0
12,051
08/15/2008 07:39:23
493
08/06/2008 10:25:05
1,575
129
Calling base constructor in c#
If I inherit from a base class and want to pass something from the constructor of the inherited class to the constructor of the base class, how do I do that? For example, If I inherit from the Exception class I want to do something like this: class MyExceptionClass : Exception { public MyExc...
c#
constructor
null
null
null
null
open
Calling base constructor in c# === If I inherit from a base class and want to pass something from the constructor of the inherited class to the constructor of the base class, how do I do that? For example, If I inherit from the Exception class I want to do something like this: class MyExceptionClass : Exc...
0
12,073
08/15/2008 08:30:55
988
08/11/2008 12:14:35
1
1
What is the best XML editor?
Is there a good XML / XSD editor out there? I've been using the editor in Visual Studio 2005 a little but find it lacking in features. Which editors do you use?
xml
xsd
developmentenvironment
null
null
08/23/2011 13:29:39
not constructive
What is the best XML editor? === Is there a good XML / XSD editor out there? I've been using the editor in Visual Studio 2005 a little but find it lacking in features. Which editors do you use?
4
12,075
08/15/2008 08:36:19
1,078
08/12/2008 10:39:00
106
6
Should I be worried about obfusicating my .NET code?
I'm sure may readers on SO have used Lutz Roeder's .NET reflector to decompile their .NET code. I was amazed just accurately our source code could be recontructed from our compiled assemblies. I'd be interested in hearing how many of you use obfusication, and for what sort of products? I'm sure that this is a ...
.net
obfuscation
null
null
null
null
open
Should I be worried about obfusicating my .NET code? === I'm sure may readers on SO have used Lutz Roeder's .NET reflector to decompile their .NET code. I was amazed just accurately our source code could be recontructed from our compiled assemblies. I'd be interested in hearing how many of you use obfusication, a...
0
12,088
08/15/2008 08:55:28
834
08/09/2008 07:29:24
57
6
Do you obfuscate your commercial Java code?
I wonder if anyone uses commercial/free java obfuscators on his own commercial product. I know only about one project that actually had an obfuscating step in the ant build step for releases. Do you obfuscate? And if so, why do you obfuscate? Is it really a way to protect the code or is it just a better feeling f...
java
obfuscation
null
null
null
null
open
Do you obfuscate your commercial Java code? === I wonder if anyone uses commercial/free java obfuscators on his own commercial product. I know only about one project that actually had an obfuscating step in the ant build step for releases. Do you obfuscate? And if so, why do you obfuscate? Is it really a way to ...
0
12,095
08/15/2008 09:19:04
1,166
08/13/2008 09:06:10
1
0
Windows Forms Threading and Events - ListBox updates promptly but progressbar experiences huge delay
Our team is creating a new recruitment workflow system to replace an old one. I have been tasked with migrating the old data into the new schema. I have decided to do this by creating a small Windows Forms project as the schema are radically different and straight TSQL scripts are not an adequate solution. The main ...
windows
events
multithreading
forms
delegates
null
open
Windows Forms Threading and Events - ListBox updates promptly but progressbar experiences huge delay === Our team is creating a new recruitment workflow system to replace an old one. I have been tasked with migrating the old data into the new schema. I have decided to do this by creating a small Windows Forms project ...
0
12,103
08/15/2008 09:38:31
274
08/04/2008 10:43:23
110
13
Perl and map not working... I don't understand
When I am running the following statement: @filtered = map {s/&nbsp;//g} @outdata; it is returning an empty list instead of the filtered list that I expected. What I am trying to do is remove every occurance of `&nbsp;` from an array of string (which is an XML file). Obviously, I am not understanding some...
perl
map
null
null
null
null
open
Perl and map not working... I don't understand === When I am running the following statement: @filtered = map {s/&nbsp;//g} @outdata; it is returning an empty list instead of the filtered list that I expected. What I am trying to do is remove every occurance of `&nbsp;` from an array of string (which is an ...
0
12,107
08/15/2008 09:47:38
982
08/11/2008 12:08:33
17
8
Configuring VisualSVN Server to use _svn instead of .svn
We were having a problem with our build server not checking out modifications from source control despite recognizing that there had been changes. It was traced to the control folder (not sure what it's real name is), the existing working builds were using _svn. Clearing the working folder forced a new complete chec...
continuous-integration
tortoisesvn
sourcecontrol
visualsvnserver
null
null
open
Configuring VisualSVN Server to use _svn instead of .svn === We were having a problem with our build server not checking out modifications from source control despite recognizing that there had been changes. It was traced to the control folder (not sure what it's real name is), the existing working builds were usin...
0
12,135
08/15/2008 11:03:30
905
08/10/2008 09:37:14
911
75
FileNotFoundException for mscorlib.XmlSerializers.DLL, which doesn't exist
I'm using an XmlSerializer to deserialize a particular type in mscorelib.dll XmlSerializer ser = new XmlSerializer( typeof( [.Net type in System] ) ); return ser.Deserialize( new StringReader( xmlValue ) ) as [.Net type in System]; This throws a caught `FileNotFoundException` when the assembly is loaded:...
c#
.net
assembly
serialization
null
null
open
FileNotFoundException for mscorlib.XmlSerializers.DLL, which doesn't exist === I'm using an XmlSerializer to deserialize a particular type in mscorelib.dll XmlSerializer ser = new XmlSerializer( typeof( [.Net type in System] ) ); return ser.Deserialize( new StringReader( xmlValue ) ) as [.Net type in Syste...
0
12,140
08/15/2008 11:12:35
1,037
08/11/2008 17:42:51
36
7
Access to global application settings
A database application that I'm currently working on, stores all sorts of settings in the database. Most of those settings are there to customize certain business rules, but there's also some other stuff in there. The app contains objects that specifically do a certain task, e.g., a certain complicated calculation. ...
language-agnostic
oop
null
null
null
null
open
Access to global application settings === A database application that I'm currently working on, stores all sorts of settings in the database. Most of those settings are there to customize certain business rules, but there's also some other stuff in there. The app contains objects that specifically do a certain task...
0
12,141
08/15/2008 11:13:53
990
08/11/2008 12:18:08
11
1
What's your worst database accident happened in production?
For example: Updating all rows of the customer table because you forgot to add the where clause. What was it like, realizing it and reporting it to your coworkers or customers? And, what's your lessons learned?
database
production
easeatwork
null
null
null
open
What's your worst database accident happened in production? === For example: Updating all rows of the customer table because you forgot to add the where clause. What was it like, realizing it and reporting it to your coworkers or customers? And, what's your lessons learned?
0
12,142
08/15/2008 11:15:05
968
08/11/2008 07:44:54
141
19
Update database schema in Entity Framework
I installed VS SP1 and played around with Entity Framework. I created a schema from an existing database and tried some basic operations. Most of it went well, except the database schema update. I changed the database in every basic way: - added a new table - deleted a table - added a new column to ...
.net
entityframework
schema
null
null
null
open
Update database schema in Entity Framework === I installed VS SP1 and played around with Entity Framework. I created a schema from an existing database and tried some basic operations. Most of it went well, except the database schema update. I changed the database in every basic way: - added a new table ...
0
12,144
08/15/2008 11:19:51
1,030
08/11/2008 15:40:52
181
14
Application configuration files
OK, so I don't want to start a holy-war here, but we're in the process of trying to consolidate the way we handle our application configuration files and we're struggling to make a descision on the best approach to take. At the moment, every application we distribute is using it's own ad-hoc configuration files, whethe...
java
json
xml
configurationfiles
null
null
open
Application configuration files === OK, so I don't want to start a holy-war here, but we're in the process of trying to consolidate the way we handle our application configuration files and we're struggling to make a descision on the best approach to take. At the moment, every application we distribute is using it's o...
0
12,159
08/15/2008 11:44:33
912
08/10/2008 10:09:35
10
8
How should I unit test threaded code?
Hot-on-the-heels of of my previous unit testing related question, here's another toughie: I have thus far avoided the nightmare that is testing multi-threaded code since it just seems like too much of a minefield. I'd like to ask how people have gone about testing code that relies on threads for successful executio...
unittesting
multithreading
methodology
null
null
null
open
How should I unit test threaded code? === Hot-on-the-heels of of my previous unit testing related question, here's another toughie: I have thus far avoided the nightmare that is testing multi-threaded code since it just seems like too much of a minefield. I'd like to ask how people have gone about testing code tha...
0
12,176
08/15/2008 12:15:31
194
08/03/2008 10:56:49
664
51
SVN Revision Version in .NET Assembly w/ out CC.NET
Is there any way to include the SVN repository revision number in the version string of a .NET assembly? Something like Major.Minor.SVNRev I've seen mention of doing this with something like CC.NET (although on ASP.NET actually), but is there any way to do it without any extra software? I've done similar things in...
.net
svn
subversion
versioning
null
null
open
SVN Revision Version in .NET Assembly w/ out CC.NET === Is there any way to include the SVN repository revision number in the version string of a .NET assembly? Something like Major.Minor.SVNRev I've seen mention of doing this with something like CC.NET (although on ASP.NET actually), but is there any way to do it...
0
12,225
08/15/2008 13:16:25
730
08/08/2008 12:40:04
46
11
MaskedEditExtender
I have a database that contains a date and we are using the MaskedEditExtender (MEE) and MaskedEditValidator to make sure the dates are appropriate. However, we want the Admins to be able to go in and change the data (specifically the date) if necessary. How can I have the MEE field pre-populate with the database...
ajax
maskededitextender
maskededitvalidator
null
null
null
open
MaskedEditExtender === I have a database that contains a date and we are using the MaskedEditExtender (MEE) and MaskedEditValidator to make sure the dates are appropriate. However, we want the Admins to be able to go in and change the data (specifically the date) if necessary. How can I have the MEE field pre-po...
0
12,243
08/15/2008 13:30:42
1,212
08/13/2008 13:17:40
6
0
Namespace/solution structure
I apologize for asking such a generalized question, but it's something that can prove challenging for me. My team is about to embark on a large project that will hopefully drag together all of the random one-off codebases that have evolved through the years. Given that this project will cover standardizing logical enti...
namespace
null
null
null
null
null
open
Namespace/solution structure === I apologize for asking such a generalized question, but it's something that can prove challenging for me. My team is about to embark on a large project that will hopefully drag together all of the random one-off codebases that have evolved through the years. Given that this project wil...
0
12,268
08/15/2008 14:01:15
1,228
08/13/2008 13:58:55
233
27
Have you ever reflected Reflector?
Lutz Roeder's Reflector, that is. Its obfuscated. ![alt text][1] I still don't understand this. Can somebody please explain? [1]: http://i37.tinypic.com/2lsd4dk.jpg
reflector
lutz
roeder
null
null
01/03/2012 20:19:35
not constructive
Have you ever reflected Reflector? === Lutz Roeder's Reflector, that is. Its obfuscated. ![alt text][1] I still don't understand this. Can somebody please explain? [1]: http://i37.tinypic.com/2lsd4dk.jpg
4
12,271
08/15/2008 14:04:01
214
08/03/2008 15:12:30
101
15
Creating Visual Studio templates under the "Windows" catagory.
I have created a template for Visual Studio 2008 and it currently shows up under File->New Project->Visual C#. However, it is only really specific to Visual C#/Windows but I can't work out how to get it to show up under the "Windows" category and not the more general "Visual C#".
visual-studio
templates
null
null
null
null
open
Creating Visual Studio templates under the "Windows" catagory. === I have created a template for Visual Studio 2008 and it currently shows up under File->New Project->Visual C#. However, it is only really specific to Visual C#/Windows but I can't work out how to get it to show up under the "Windows" category and not t...
0
12,290
08/15/2008 14:29:20
1,410
08/15/2008 14:29:20
1
0
N2 CMS
Hy, does anyone worked with N2 Content Management System(http://www.codeplex.com/n2). If yes, how does it perform, performance wise(under heavy load)? It seems pretty simple and easy to use. Adrian
asp.net
.net-3.5
content-management-system
null
null
null
open
N2 CMS === Hy, does anyone worked with N2 Content Management System(http://www.codeplex.com/n2). If yes, how does it perform, performance wise(under heavy load)? It seems pretty simple and easy to use. Adrian
0
12,294
08/15/2008 14:32:52
1,311
08/14/2008 13:43:09
35
13
Any good tools for creating timelines?
I need to create a historical timeline starting from 1600's to the present day. I also need to have some way of showing events on the timeline so that they do not appear cluttered when many events are close together. I have tried using Visio 2007 as well as Excel 2007 Radar Charts, but I could not get the results I ...
timeline
charts
null
null
null
null
open
Any good tools for creating timelines? === I need to create a historical timeline starting from 1600's to the present day. I also need to have some way of showing events on the timeline so that they do not appear cluttered when many events are close together. I have tried using Visio 2007 as well as Excel 2007 Rada...
0
12,297
08/15/2008 14:38:18
83
08/01/2008 16:31:56
604
52
How can I remove nodes from a SiteMapNodeCollection?
I've got a Repeater that lists all the web.sitemap child pages on an ASP.NET page. Its DataSource is a SiteMapNodeCollection. But, I don't want my registration form page to show up there. Dim Children As SiteMapNodeCollection = SiteMap.CurrentNode.ChildNodes 'remove registration page from collection ...
asp.net
aspnet
sitemap
visualbasic
null
null
open
How can I remove nodes from a SiteMapNodeCollection? === I've got a Repeater that lists all the web.sitemap child pages on an ASP.NET page. Its DataSource is a SiteMapNodeCollection. But, I don't want my registration form page to show up there. Dim Children As SiteMapNodeCollection = SiteMap.CurrentNode.Chi...
0
12,304
08/15/2008 14:45:33
1,219
08/13/2008 13:44:47
186
24
Why do Sql Server 2005 maintenance plans use the wrong database for dbcc checkdb?
This is a problem I have seen other people besides myself having, and I haven't found a good explanation. Let's say you have a maintenance plan with a task to check the database, something like this: USE [MyDb] GO DBCC CHECKDB with no_infomsgs, all_errormsgs If you go look in your logs after the ...
mssql
null
null
null
null
null
open
Why do Sql Server 2005 maintenance plans use the wrong database for dbcc checkdb? === This is a problem I have seen other people besides myself having, and I haven't found a good explanation. Let's say you have a maintenance plan with a task to check the database, something like this: USE [MyDb] GO ...
0
12,306
08/15/2008 14:46:07
767
08/08/2008 17:04:18
11
2
Can I serialize a C# Type object?
I'm trying to serialize a Type object in the following way: Type myType = typeof (StringBuilder); var serializer = new XmlSerializer(typeof(Type)); TextWriter writer = new StringWriter(); serializer.Serialize(writer, myType); When I do this, the call to Serialize throws the following except...
c#
serialization
null
null
null
null
open
Can I serialize a C# Type object? === I'm trying to serialize a Type object in the following way: Type myType = typeof (StringBuilder); var serializer = new XmlSerializer(typeof(Type)); TextWriter writer = new StringWriter(); serializer.Serialize(writer, myType); When I do this, the call t...
0
12,319
08/15/2008 14:59:11
268
08/04/2008 10:11:11
388
21
_wfopen equivalent under Mac OS X
I'm looking to the equivalent of Windows [`_wfopen()`](http://msdn.microsoft.com/fr-fr/library/yeby3zcb.aspx) under Mac OS X. Any idea?
osx
winapi
porting
fopen
null
null
open
_wfopen equivalent under Mac OS X === I'm looking to the equivalent of Windows [`_wfopen()`](http://msdn.microsoft.com/fr-fr/library/yeby3zcb.aspx) under Mac OS X. Any idea?
0
12,348
08/15/2008 15:17:30
1,418
08/15/2008 15:13:51
1
0
PHP / cURL on Windows install: "The specified module could not be found."
I'm running PHP 5.2.3 on Windows 2000 Server with IIS 5. I'm trying to get cURL working, so in my php.ini file, I have this line: extension_dir ="F:\PHP\ext" And later, I have: extension=php_curl.dll The file F:\PHP\ext\php_curl.dll exists, but when I try to run any PHP script, I get this in the error lo...
php
windows
curl
null
null
null
open
PHP / cURL on Windows install: "The specified module could not be found." === I'm running PHP 5.2.3 on Windows 2000 Server with IIS 5. I'm trying to get cURL working, so in my php.ini file, I have this line: extension_dir ="F:\PHP\ext" And later, I have: extension=php_curl.dll The file F:\PHP\ext\php_cu...
0
12,368
08/15/2008 15:26:41
1,271
08/14/2008 09:09:52
8
1
How to dispose a class in .net?
The .net garbage collector will eventually free up memory, but what if you want that memory back immediately? What code do you need to use in a class <b>myclass</b> to call myclass.dispose and free up all the used space by variables and objects in <b>myclass</b>?
.net
class
dispose
null
null
null
open
How to dispose a class in .net? === The .net garbage collector will eventually free up memory, but what if you want that memory back immediately? What code do you need to use in a class <b>myclass</b> to call myclass.dispose and free up all the used space by variables and objects in <b>myclass</b>?
0
12,374
08/15/2008 15:29:14
1,078
08/12/2008 10:39:00
136
8
Has anyone had any success in unit testing SQL stored procedures?
We’ve found that the unit tests we’ve written for our C#/C++ code have really paid off. But we still have thousands of lines of business logic in stored procedures, which only really get tested in anger when our product is rolled out to a large number of users. What makes this worse is that some of these stored p...
sql
linq-to-sql
unit-testing
null
null
null
open
Has anyone had any success in unit testing SQL stored procedures? === We’ve found that the unit tests we’ve written for our C#/C++ code have really paid off. But we still have thousands of lines of business logic in stored procedures, which only really get tested in anger when our product is rolled out to a large nu...
0
12,385
08/15/2008 15:34:20
93
08/01/2008 18:23:58
233
9
In silverlight, how to you attach a changeEvent handler to an inherited dependency property?
How would you attach a propertychanged callback to a property that is inherited? Like such: class A { DependencyProperty prop; } class B : A { //... prop.AddListener(PropertyChangeCallback); }
.net
silverlight
dependencyproperties
null
null
null
open
In silverlight, how to you attach a changeEvent handler to an inherited dependency property? === How would you attach a propertychanged callback to a property that is inherited? Like such: class A { DependencyProperty prop; } class B : A { //... prop.AddListener(PropertyC...
0
12,397
08/15/2008 15:41:53
475
08/06/2008 07:16:20
237
17
.NET VirtualPathProviders and Pre-Compilation
We've been working on an application that quite heavily relies on VirtualPathProviders in our ASP.NET application. We've just come to put the thing on a live server to demonstrate it and it appears that the VirtualPathProviders simply *don't work* when the site is pre-compiled!! I've been looking at the workaroun...
asp.net
virtualpathprovider
null
null
null
null
open
.NET VirtualPathProviders and Pre-Compilation === We've been working on an application that quite heavily relies on VirtualPathProviders in our ASP.NET application. We've just come to put the thing on a live server to demonstrate it and it appears that the VirtualPathProviders simply *don't work* when the site is p...
0
12,401
08/15/2008 15:45:21
1,432
08/15/2008 15:33:54
1
0
FOSS ASP.Net Session Replication Solution?
I've been searching (with little success) for a free/opensource session clustering and replication solution for asp.net. I've run across the usual suspects (indexus sharedcache, memcached), however, each has some limitations. - **Indexus** - Very immature, stubbed session interface implementation. Its otherwise ...
asp.net
clustering
failover
sessionreplication
null
null
open
FOSS ASP.Net Session Replication Solution? === I've been searching (with little success) for a free/opensource session clustering and replication solution for asp.net. I've run across the usual suspects (indexus sharedcache, memcached), however, each has some limitations. - **Indexus** - Very immature, stubbed s...
0
12,406
08/15/2008 15:48:58
5
07/31/2008 14:22:31
646
38
Is it possible to slipstream the Visual Studio 2008 / .NET 3.5 SP1 install?
From what I've read, [VS 2008 SP1 and Team Foundation Server SP1 packages are traditional service packs that require you to first install the original versions before you will be able to install the SP][1]. Is there a way, supported or not, to slipstream the install? [1]: http://blogs.msdn.com/astebner/archive/...
visualstudio
sp1
null
null
null
null
open
Is it possible to slipstream the Visual Studio 2008 / .NET 3.5 SP1 install? === From what I've read, [VS 2008 SP1 and Team Foundation Server SP1 packages are traditional service packs that require you to first install the original versions before you will be able to install the SP][1]. Is there a way, supported or ...
0
12,428
08/15/2008 16:09:37
849
08/09/2008 14:55:36
22
2
Automate adding entries to a wiki
This is a follow up to my previous question about [renaming a bunch of files][1] Once I have my renamed files I need to add them to my project wiki page. This is a fairly repetitive manual task, so I guess I could script it but I don't know where to start. The process is: Got to appropriate page on the wik...
productivity
scripting
null
null
null
null
open
Automate adding entries to a wiki === This is a follow up to my previous question about [renaming a bunch of files][1] Once I have my renamed files I need to add them to my project wiki page. This is a fairly repetitive manual task, so I guess I could script it but I don't know where to start. The process is: ...
0
12,476
08/15/2008 17:02:44
1,220
08/13/2008 13:44:48
607
42
Why is my asp.net application throwing ThreadAbortException?
self explanatory question. Why does this thing bubble into my try catch's even when nothing is wrong? Why is it showing up in my log, hundreds of times? **I know its a newb question, but if this site is gonna get search ranking and draw in newbs we have to ask them**
multithreading
asp.net
null
null
null
null
open
Why is my asp.net application throwing ThreadAbortException? === self explanatory question. Why does this thing bubble into my try catch's even when nothing is wrong? Why is it showing up in my log, hundreds of times? **I know its a newb question, but if this site is gonna get search ranking and draw in new...
0
12,482
08/15/2008 17:08:19
702
08/08/2008 01:31:17
3
2
How can you publish a ClickOnce application through CruiseControl.NET?
I have CruiseControl.NET Version 1.4 set up on my development server. Whenever a developer checks in code, in makes a compile. Now we're at a place where we can start giving our application to the testers. We'd like to use ClickOnce to distribute the application, with the idea being that when a tester goes to te...
msbuild
cruisecontrol.net
clickonce
publish
null
null
open
How can you publish a ClickOnce application through CruiseControl.NET? === I have CruiseControl.NET Version 1.4 set up on my development server. Whenever a developer checks in code, in makes a compile. Now we're at a place where we can start giving our application to the testers. We'd like to use ClickOnce to d...
0
12,488
08/15/2008 17:14:52
31,505
2008-09-01
198
10
do you or your company hire testers?
are you hiring employees just for testing or is it done by your developers? if you hire them, what are your experiences? what is the ratio of them to your developers? what kind of testers do you hire? do you use college grads or do your testers are masters and as good as your developers? do they make a huge...
testers
test
hiring
null
null
null
open
do you or your company hire testers? === are you hiring employees just for testing or is it done by your developers? if you hire them, what are your experiences? what is the ratio of them to your developers? what kind of testers do you hire? do you use college grads or do your testers are masters and as good ...
0
12,489
08/15/2008 17:15:04
432
08/05/2008 17:18:46
646
37
How do you get a directory listing in C?
How do you scan a directory for folders and files in C? It needs to be cross-platform.
c
file
folders
common-tasks
null
null
open
How do you get a directory listing in C? === How do you scan a directory for folders and files in C? It needs to be cross-platform.
0
12,492
08/15/2008 17:17:14
1,448
08/15/2008 16:16:35
1
1
Pretty printing XML files on Emacs
I use emacs to edit my xml files (nxml-mode) and the files were generated by machine don't have any pretty formatting of the tags. I have searched for pretty printing the entire file with indentation and saving it, but wasn't able to find an automatic way. Is there a way? Or atleast some editor on linux which ca...
xml
editor
emacs
null
null
null
open
Pretty printing XML files on Emacs === I use emacs to edit my xml files (nxml-mode) and the files were generated by machine don't have any pretty formatting of the tags. I have searched for pretty printing the entire file with indentation and saving it, but wasn't able to find an automatic way. Is there a way? ...
0
12,495
08/15/2008 17:20:46
479
08/06/2008 08:37:10
62
6
Who writes the documentation?
In your team, how is documentation written? Is there someone assigned to the task? Is there a technical documentation writer? Please elaborate for: - User documentation - System Administration docs - Development docs
documentation
null
null
null
null
08/31/2011 02:52:31
off topic
Who writes the documentation? === In your team, how is documentation written? Is there someone assigned to the task? Is there a technical documentation writer? Please elaborate for: - User documentation - System Administration docs - Development docs
2
12,501
08/15/2008 17:26:44
1,463
08/15/2008 17:26:44
1
0
Powershell's Invoke-Expression missing param
I thought that I had the latest CTP of Powershell 2 but when I try the command: invoke-expression –computername Server01 –command 'get-process powershell' I get an error message: A parameter cannot be found that matches parameter name 'computername'. So the question is: How can I tell which version of PowerShel...
powershell
null
null
null
null
null
open
Powershell's Invoke-Expression missing param === I thought that I had the latest CTP of Powershell 2 but when I try the command: invoke-expression –computername Server01 –command 'get-process powershell' I get an error message: A parameter cannot be found that matches parameter name 'computername'. So the ques...
0
12,509
08/15/2008 17:27:52
1,450
08/15/2008 16:26:21
1
0
Why Are People Still Creating RSS Feeds?
...instead of using the Atom syndication format? Atom is a [well-defined][1], general-purpose XML syndication format. RSS is fractured into four different versions. All the major feed readers have supported Atom for as long as I can remember, so why isn't its use more prevalent? Worst of all are sites that provid...
xml
rss
atom
null
null
null
open
Why Are People Still Creating RSS Feeds? === ...instead of using the Atom syndication format? Atom is a [well-defined][1], general-purpose XML syndication format. RSS is fractured into four different versions. All the major feed readers have supported Atom for as long as I can remember, so why isn't its use more pr...
0
12,516
08/15/2008 17:31:39
25
08/01/2008 12:15:23
556
43
"How do you go from an arithmetic expression (e.g. in a string) such as "2 + (2)" to an expression tree using polymorphism?" (Amazon Interview Question ala Steve Yegge)
This morning, I was reading [Steve Yegge's: When Polymorphism Fails][1], when I came across a question that a co-worker of his used to ask potential employees when they came for their interview at Amazon. > As an example of polymorphism in > action, let's look at the classic > "eval" interview question, which (...
interview-questions
polymorphism
oop
binary-tree
recursion
null
open
"How do you go from an arithmetic expression (e.g. in a string) such as "2 + (2)" to an expression tree using polymorphism?" (Amazon Interview Question ala Steve Yegge) === This morning, I was reading [Steve Yegge's: When Polymorphism Fails][1], when I came across a question that a co-worker of his used to ask potenti...
0
12,523
08/15/2008 17:37:06
1,455
08/15/2008 17:03:04
1
0
Tools for automating mouse and keyboard events sent to a windows application.
What tools are useful for automating clicking through a windows form application? Is this even useful? I see the testers at my company doing this a great deal and it seems like a waste of time.
testing
automation
null
null
null
null
open
Tools for automating mouse and keyboard events sent to a windows application. === What tools are useful for automating clicking through a windows form application? Is this even useful? I see the testers at my company doing this a great deal and it seems like a waste of time.
0
12,533
08/15/2008 17:47:28
1,219
08/13/2008 13:44:47
261
27
How do you convert the number you get from datepart to the name of the day?
Is there a quick one-liner to call datepart in Sql Server and get back the name of the day instead of just the number? select datepart(dw, getdate()); This will return 1-7, with Sunday being 1. I would like 'Sunday' instead of 1.
mssql
null
null
null
null
null
open
How do you convert the number you get from datepart to the name of the day? === Is there a quick one-liner to call datepart in Sql Server and get back the name of the day instead of just the number? select datepart(dw, getdate()); This will return 1-7, with Sunday being 1. I would like 'Sunday' instead of 1...
0
12,537
08/15/2008 17:49:20
479
08/06/2008 08:37:10
77
6
What tools are used to write documentation?
What tools are used to write documentation? Specifically for - User docs - System administration - Development I'm looking for software such MS Word, wiki, TeX (LaTeX, LyX) and for automated tools.
documentation
null
null
null
null
null
open
What tools are used to write documentation? === What tools are used to write documentation? Specifically for - User docs - System administration - Development I'm looking for software such MS Word, wiki, TeX (LaTeX, LyX) and for automated tools.
0
12,551
08/15/2008 17:56:24
863
08/09/2008 19:07:26
129
8
Any recommendations for in-depth Flex training?
I have several months experience creating Flex applications, but I'm interested in diving in a little deeper. My projects so far have involved web services and graphing work to create [RIAs][1]. In particular, I'm probably most interested in training related to: - BlazeDS & LiveCycle Data Services - Custom (v...
flex
training
adobe
null
null
null
open
Any recommendations for in-depth Flex training? === I have several months experience creating Flex applications, but I'm interested in diving in a little deeper. My projects so far have involved web services and graphing work to create [RIAs][1]. In particular, I'm probably most interested in training related to: ...
0
12,555
08/15/2008 17:58:54
572
08/06/2008 20:56:54
493
46
Is there an API that allows you to find out how many sites link to yours?
I know google has things like linkto:yourdomain.com and Alexa is around, but there's nothing that I can query and get the number of sites that link to me. Anyone know of such a thing, other than using Google or another search engine and scraping the HTML results?
api
metrics
analytics
counter
hit
null
open
Is there an API that allows you to find out how many sites link to yours? === I know google has things like linkto:yourdomain.com and Alexa is around, but there's nothing that I can query and get the number of sites that link to me. Anyone know of such a thing, other than using Google or another search engine and scra...
0
12,556
08/15/2008 18:00:04
1,341
08/14/2008 15:30:17
95
7
What is your experience using the TIBCO General Interface?
It looks interesting and I've played around with it some --- but the development IDE in a web browser seems to be nightmare eventually. Does anyone have experience using it and what are your thoughts?
crossbrowser
tibco
null
null
null
null
open
What is your experience using the TIBCO General Interface? === It looks interesting and I've played around with it some --- but the development IDE in a web browser seems to be nightmare eventually. Does anyone have experience using it and what are your thoughts?
0
12,565
08/15/2008 18:09:52
1,470
08/15/2008 18:09:52
1
0
What do the different brackets in Ruby Mean?
In Ruby, whats the difference between {} and []? {} seems to be used for both code blocks and hashes. are [] only for arrays? The documention isn't very clear.
ruby
syntax
null
null
null
null
open
What do the different brackets in Ruby Mean? === In Ruby, whats the difference between {} and []? {} seems to be used for both code blocks and hashes. are [] only for arrays? The documention isn't very clear.
0
12,569
08/15/2008 18:14:28
12,081
08/08/2008 17:40:28
127
11
Rigor in capturing test cases for unit testing
Let's say we have a simple function defined in a pseudo language. List<Numbers> SortNumbers(List<Numbers> unsorted, bool ascending); We pass in an unsorted list of numbers and a boolean specifying ascending or descending sort order. In return, we get a sorted list of numbers. In my experience, some people ...
unittesting
testing
sorting
null
null
null
open
Rigor in capturing test cases for unit testing === Let's say we have a simple function defined in a pseudo language. List<Numbers> SortNumbers(List<Numbers> unsorted, bool ascending); We pass in an unsorted list of numbers and a boolean specifying ascending or descending sort order. In return, we get a sorte...
0
12,576
08/15/2008 18:25:25
115
08/02/2008 05:44:40
179
31
PHP performance
What can I do to increase the performance/speed of my PHP scripts without installing software on my servers?
php
performance
null
null
null
null
open
PHP performance === What can I do to increase the performance/speed of my PHP scripts without installing software on my servers?
0
12,578
08/15/2008 18:28:45
501
08/06/2008 12:11:33
126
10
No trace info during processing of a cube in SSAS
When I process a cube in Visual Studio 2005 I get following message: > Process succeeded. Trace information > is still being transferred. If you do > not want to wait for all of the > information to arrive press Stop. and no trace info is displayed. Cube is processed OK by it is a little bit annoying. ANy idea...
mssql
2005
olap
ssas
null
null
open
No trace info during processing of a cube in SSAS === When I process a cube in Visual Studio 2005 I get following message: > Process succeeded. Trace information > is still being transferred. If you do > not want to wait for all of the > information to arrive press Stop. and no trace info is displayed. Cube i...
0
12,591
08/15/2008 18:42:20
207
08/03/2008 13:51:13
170
7
Using an XML catalog with Python's lxml?
Is there a way, when I parse an XML document using lxml, to validate that document against its DTD using an external catalog file? I need to be able to work the fixed attributes defined in a document’s DTD.
python
xml
lxml
null
null
null
open
Using an XML catalog with Python's lxml? === Is there a way, when I parse an XML document using lxml, to validate that document against its DTD using an external catalog file? I need to be able to work the fixed attributes defined in a document’s DTD.
0
12,592
08/15/2008 18:43:17
742
08/08/2008 13:33:41
30
1
Can you check that an exception is thrown with doctest in Python?
Is it possible to write a doctest unit test that will check that an exception is raised? For example, if I have a function `foo(x)` that is supposed to raise an exception if `x<0`, how would I write the doctest for that?
python
doctest
null
null
null
null
open
Can you check that an exception is thrown with doctest in Python? === Is it possible to write a doctest unit test that will check that an exception is raised? For example, if I have a function `foo(x)` that is supposed to raise an exception if `x<0`, how would I write the doctest for that?
0
12,593
08/15/2008 18:45:07
1,254
08/13/2008 22:34:57
53
9
Does System.Xml use MSXML?
I'm developing a C# application that uses a handful of XML files and some classes in System.Xml. A coworker insists on adding the MSXML6 redistributable to our install, along with the .NET framework but I don't think the .NET framework uses or needs MSXML in anyway. I am well aware that using MSXML from .NET is not s...
.net
xml
msxml
null
null
null
open
Does System.Xml use MSXML? === I'm developing a C# application that uses a handful of XML files and some classes in System.Xml. A coworker insists on adding the MSXML6 redistributable to our install, along with the .NET framework but I don't think the .NET framework uses or needs MSXML in anyway. I am well aware tha...
0
12,594
08/15/2008 18:45:36
179
08/03/2008 02:38:27
33
4
Windows/C++: How do I determine the share name associated with a shared drive?
Let's say I have a drive such as "C:\", and I want to find out if it's shared and what it's share name (e.g. "C$") is. To find out if it's shared, I can use [NetShareCheck][1]. How do I then map the drive to its share name? I thought that [NetShareGetInfo][2] would do it, but it looks like that takes the share na...
c++
windows
networking
share
null
null
open
Windows/C++: How do I determine the share name associated with a shared drive? === Let's say I have a drive such as "C:\", and I want to find out if it's shared and what it's share name (e.g. "C$") is. To find out if it's shared, I can use [NetShareCheck][1]. How do I then map the drive to its share name? I thou...
0
12,603
08/15/2008 18:58:54
1,463
08/15/2008 17:26:44
1
2
Why was the Profile provider not built into Web Apps?
If you create an ASP.NET web file project you have direct access to the Profile information in the web.config file. If you convert that to a Web App and have been using ProfileCommon etc. then you have to jump through a whole bunch of hoops to get your web app to work. Why wasn't the Profile provider built into the ...
asp.net
null
null
null
null
null
open
Why was the Profile provider not built into Web Apps? === If you create an ASP.NET web file project you have direct access to the Profile information in the web.config file. If you convert that to a Web App and have been using ProfileCommon etc. then you have to jump through a whole bunch of hoops to get your web app ...
0
12,611
08/15/2008 19:10:15
1,368
08/14/2008 18:57:47
1
0
Designing a Calender system like Google Calender
I have to create something similiar to Google calender, so I created an events table that contains all the events for a user. The hard part is handling re-occurring events, the row in the events table has an event_type field that tells you what kind of event it is, since an event can be for a single date only, OR a re...
design
algorithm
null
null
null
null
open
Designing a Calender system like Google Calender === I have to create something similiar to Google calender, so I created an events table that contains all the events for a user. The hard part is handling re-occurring events, the row in the events table has an event_type field that tells you what kind of event it is,...
0
12,612
08/15/2008 19:11:31
1,470
08/15/2008 18:09:52
16
1
Access Control Lists & Access Control Objects, good tutorial?
we're developing a web app to cover all aspects of a printing company from finances, to payroll, to job costing. Its important to be able to control who can access what parts of these applications. Don't want a line employee giving himself a raise, etc... I've heard of the concept of ACL & ACO, but haven't found a...
permissions
acl
null
null
null
null
open
Access Control Lists & Access Control Objects, good tutorial? === we're developing a web app to cover all aspects of a printing company from finances, to payroll, to job costing. Its important to be able to control who can access what parts of these applications. Don't want a line employee giving himself a raise, et...
0
12,613
08/15/2008 19:12:24
680
08/07/2008 17:29:04
194
8
Specify a Port Number in Emacs sql-mysql
I've been using Emacs's sql interactive mode to talk to the MySQL db server and gotten to enjoy it. A developer has set up another db on a new non-default port number but I don't know how to access it using sql-mysql. How do I specify a port number when I'm trying to connect to a database?
emacs
mysql
sql
null
null
null
open
Specify a Port Number in Emacs sql-mysql === I've been using Emacs's sql interactive mode to talk to the MySQL db server and gotten to enjoy it. A developer has set up another db on a new non-default port number but I don't know how to access it using sql-mysql. How do I specify a port number when I'm trying to con...
0
12,633
08/15/2008 19:31:01
1,467
08/15/2008 17:35:39
1
2
What is the easiest way to parse an INI File in C++?
I'm trying to parse an INI file using C++. Any tips on what is the best way to achieve this? Should I use the Windows API tools for INI file processing (with which I am totally unfamiliar), an open-source solution or attempt to parse it manually?
c++
winapi
fileparse
ini
null
null
open
What is the easiest way to parse an INI File in C++? === I'm trying to parse an INI file using C++. Any tips on what is the best way to achieve this? Should I use the Windows API tools for INI file processing (with which I am totally unfamiliar), an open-source solution or attempt to parse it manually?
0
12,638
08/15/2008 19:35:13
428,190
08/09/2008 23:23:13
74
16
Building an auditing system; MS Access frontend on SQL Server backend.
So basically I'm building an app for my company and it NEEDS to be built using MS Access and it needs to be built on SQL Server. I've drawn up most of the plans but am having a hard time figuring out a way to handle the auditing system. Since it is being used internally only and you won't even be able to touch th...
sql
sql-server
access
trigger
microsoft-access
null
open
Building an auditing system; MS Access frontend on SQL Server backend. === So basically I'm building an app for my company and it NEEDS to be built using MS Access and it needs to be built on SQL Server. I've drawn up most of the plans but am having a hard time figuring out a way to handle the auditing system. S...
0
12,642
08/15/2008 19:37:57
1,478
08/15/2008 19:37:57
1
0
Upload binary data with Silverlight 2b2
I am trying to upload a file or stream of data to our web server and I cant find a decent way of doing this. I have tried both WebClient and WebRequest both have their problems. **WebClient** Nice and easy but you do not get any notification that the asynchronous upload has completed, and the **UploadProgressCh...
silverlight
.net
silverlight2beta2
webclient
webrequest
null
open
Upload binary data with Silverlight 2b2 === I am trying to upload a file or stream of data to our web server and I cant find a decent way of doing this. I have tried both WebClient and WebRequest both have their problems. **WebClient** Nice and easy but you do not get any notification that the asynchronous upl...
0
12,647
08/15/2008 19:43:15
872
08/09/2008 23:52:40
2,361
178
Testing a variable to determine if it's numeric in Perl
Is there a simple way in Perl that will allow me to determine if a given variable is numeric? Something along the lines of: if (is_number($x)) { ... } would be ideal. A technique that won't throw warnings when the `-w` switch is being used is certainly preferred.
perl
number
null
null
null
null
open
Testing a variable to determine if it's numeric in Perl === Is there a simple way in Perl that will allow me to determine if a given variable is numeric? Something along the lines of: if (is_number($x)) { ... } would be ideal. A technique that won't throw warnings when the `-w` switch is being used is...
0
12,656
08/15/2008 19:50:52
1,344
08/14/2008 16:03:00
248
18
PHP + MYSQLI: Variable parameter/result binding with prepared statements.
In a project that I'm about to wrap up, I've written and implemented an object-relational mapping solution for PHP. Before the doubters and dreamers cry out "how on earth?", relax--I haven't found a way to make late static binding work--I'm just working around it in the best way that I possibly can. Anyway, I'm not ...
php
mysql
mysqli
objectrelationalmapping
null
null
open
PHP + MYSQLI: Variable parameter/result binding with prepared statements. === In a project that I'm about to wrap up, I've written and implemented an object-relational mapping solution for PHP. Before the doubters and dreamers cry out "how on earth?", relax--I haven't found a way to make late static binding work--I'm ...
0
12,657
08/15/2008 19:51:05
1,249
08/13/2008 19:56:10
1
3
Can I create a ListView with dynamic GroupItemCount?
I'm using the new ASP.Net ListView control to list database items that will be grouped together in sections based on one of their columns like so: region1 store1 store2 store3 region2 store4 region3 store5 store6 Is this possible to do with the L...
asp.net
.net-3.5
listview
null
null
null
open
Can I create a ListView with dynamic GroupItemCount? === I'm using the new ASP.Net ListView control to list database items that will be grouped together in sections based on one of their columns like so: region1 store1 store2 store3 region2 store4 region3 s...
0
12,661
08/15/2008 19:55:17
1,477
08/15/2008 19:28:36
1
0
Efficient JPEG Image Resizing in PHP
Whats the most efficient way to resize large images in PHP? I'm currently using the GD function imagecopyresampled to take hi-res images, and cleanly resize them down to a size for web viewing (roughly 700 pixels wide by 700 pixels tall). This works great on small (under 2MB photos) and the entire resize operati...
php
image
gd
jpeg
null
null
open
Efficient JPEG Image Resizing in PHP === Whats the most efficient way to resize large images in PHP? I'm currently using the GD function imagecopyresampled to take hi-res images, and cleanly resize them down to a size for web viewing (roughly 700 pixels wide by 700 pixels tall). This works great on small (under...
0
12,669
08/15/2008 20:00:28
322
08/04/2008 16:38:52
304
16
Resources for getting started with web development?
Let's say I woke up today and wanted to create a clone of StackOverflow.com, and reap the financial windfall of millions $0.02 ad clicks. Where do I start? My understanding of web technologies are: - HTML is what is ultimately displayed - CSS is a mechanism for making HTML look pleasing - ASP.NET lets yo...
language-agnostic
intro
null
null
null
null
open
Resources for getting started with web development? === Let's say I woke up today and wanted to create a clone of StackOverflow.com, and reap the financial windfall of millions $0.02 ad clicks. Where do I start? My understanding of web technologies are: - HTML is what is ultimately displayed - CSS is a mech...
0
12,671
08/15/2008 20:01:23
1,373
08/14/2008 21:13:46
41
3
How can I pass data from an aspx page to an ascx modal popup?
I'm fairly new to ASP.NET and trying to learn how things are done. I come from a C# background so the code-behind portion is easy, but thinking like a web developer is unfamiliar. I have an aspx page that contains a grid of checkboxes. I have a button that is coded via a Button_Click event to collect a list of which...
c#
asp.net
ajax
null
null
null
open
How can I pass data from an aspx page to an ascx modal popup? === I'm fairly new to ASP.NET and trying to learn how things are done. I come from a C# background so the code-behind portion is easy, but thinking like a web developer is unfamiliar. I have an aspx page that contains a grid of checkboxes. I have a butto...
0
12,692
08/15/2008 20:17:49
1,050
08/11/2008 21:06:09
11
3
IronPython and ASP.NET
Has anyone built a website with IronPython and ASP.NET. What were your experiences and is the combination ready for prime-time?
asp.net
ironpython
null
null
null
null
open
IronPython and ASP.NET === Has anyone built a website with IronPython and ASP.NET. What were your experiences and is the combination ready for prime-time?
0
12,702
08/15/2008 20:26:01
940
08/10/2008 19:58:38
75
4
.Net - Returning DataTables in WCF
I have a WCF service from which I want to return a DataTable. I know that this is often a highly debated topic, as far as whether or not returning DataTables is a good practice. Let's put that aside for a moment. When I create a DataTable from scratch, as below, there are no problems whatsoever. The table is crea...
.net
webservices
wcf
datatable
null
null
open
.Net - Returning DataTables in WCF === I have a WCF service from which I want to return a DataTable. I know that this is often a highly debated topic, as far as whether or not returning DataTables is a good practice. Let's put that aside for a moment. When I create a DataTable from scratch, as below, there are n...
0
12,706
08/15/2008 20:30:37
109
08/02/2008 00:20:47
171
8
Best way to custom edit records in ASP.NET?
I'm coming from a Rails background and doing some work on a ASP.NET project (not ASP MVC). Newbie question: what's the easiest way to make a custom editor for a table of records? For example: I have a bunch of data rows and want to change the "category" field on each -- maybe a dropdown, maybe a link, maybe the user...
asp.net
null
null
null
null
null
open
Best way to custom edit records in ASP.NET? === I'm coming from a Rails background and doing some work on a ASP.NET project (not ASP MVC). Newbie question: what's the easiest way to make a custom editor for a table of records? For example: I have a bunch of data rows and want to change the "category" field on each ...
0
12,709
08/15/2008 20:33:33
1,414
08/15/2008 15:07:31
21
6
Load an XmlNodeList into an XmlDocument without looping?
I originally asked this question on RefactorMyCode, but got no responses there... Basically I'm just try to load an XmlNodeList into an XmlDocument and I was wondering if there's a more efficient method than looping. Private Function GetPreviousMonthsXml(ByVal months As Integer, ByVal startDate As Date, ByVa...
vb
vb.net
xml
xmlnodelist
xmldocument
null
open
Load an XmlNodeList into an XmlDocument without looping? === I originally asked this question on RefactorMyCode, but got no responses there... Basically I'm just try to load an XmlNodeList into an XmlDocument and I was wondering if there's a more efficient method than looping. Private Function GetPreviousMo...
0
12,716
08/15/2008 20:40:11
814
08/09/2008 04:07:15
1
2
C++ Problems with #import of .NET out-of-proc server.
In C++ program, I am trying to #import TLB of .NET out of proc server. I get errors like: z:\server.tlh(111) : error C2146: syntax error : missing ';' before identifier 'GetType' z:\server.tlh(111) : error C2501: '_TypePtr' : missing storage-class or type specifiers z:\server.tli(74) : error C2143: syntax erro...
c#
c++
com
interop
null
null
open
C++ Problems with #import of .NET out-of-proc server. === In C++ program, I am trying to #import TLB of .NET out of proc server. I get errors like: z:\server.tlh(111) : error C2146: syntax error : missing ';' before identifier 'GetType' z:\server.tlh(111) : error C2501: '_TypePtr' : missing storage-class or ty...
0