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
10,860
08/14/2008 10:23:05
377
08/05/2008 10:01:14
435
41
Data Layer Best Practices
I am in the middle of a "discussion" with a colleague about the best way to implement the data layer in a new application. One viewpoint is that the data layer should be aware of business objects (our own classes that represent an entity), and be able to work with that object natively. The opposing viewpoint is...
.net
n-tier
null
null
null
null
open
Data Layer Best Practices === I am in the middle of a "discussion" with a colleague about the best way to implement the data layer in a new application. One viewpoint is that the data layer should be aware of business objects (our own classes that represent an entity), and be able to work with that object natively....
0
10,870
08/14/2008 10:32:52
1,109
08/12/2008 12:16:58
48
11
How can I "unaccept" a drag in Flex?
Once I've called <code>DragManager.acceptDrag</code> is there any way to "unaccept" the drag? Say that I have a view which can accept drag and drop, but only in certain areas. Once the user drags over one of these areas I call <code>DragManager.acceptDrag(this)</code> (from a <code>DragEvent.DRAG_OVER</code> handler), ...
flex
dragdrop
null
null
null
null
open
How can I "unaccept" a drag in Flex? === Once I've called <code>DragManager.acceptDrag</code> is there any way to "unaccept" the drag? Say that I have a view which can accept drag and drop, but only in certain areas. Once the user drags over one of these areas I call <code>DragManager.acceptDrag(this)</code> (from a <...
0
10,872
08/14/2008 10:34:05
1,384,652
08/01/2008 12:01:23
912
58
How to encourage someone to learn programming?
I have a friend that has a little bit of a holiday coming up and they want ideas on what they should do during the holiday, I plan to suggest programming to them, what are the pros and cons that I need to mention? I'll add to the list below as people reply. **Pros I have so far** 1. Minimal money requirement ...
language-agnostic
null
null
null
null
null
open
How to encourage someone to learn programming? === I have a friend that has a little bit of a holiday coming up and they want ideas on what they should do during the holiday, I plan to suggest programming to them, what are the pros and cons that I need to mention? I'll add to the list below as people reply. **Pr...
0
10,891
08/14/2008 11:05:21
1,075
08/12/2008 10:13:30
234
25
Best way to connect To Sql Server with MFC
Soooo, I am starting this new job soon where most of the code is legacy MFC. The end goal is to convert/rewrite to C#. I'm a little rusty with MFC so writing some code so I can try and spark my memory. Anyway, was wondering the best way to connect to a SS2005 database with MFC. Back in the day CDatabase via ODBC wa...
mssql
mfc
null
null
null
null
open
Best way to connect To Sql Server with MFC === Soooo, I am starting this new job soon where most of the code is legacy MFC. The end goal is to convert/rewrite to C#. I'm a little rusty with MFC so writing some code so I can try and spark my memory. Anyway, was wondering the best way to connect to a SS2005 database...
0
10,898
08/14/2008 11:18:39
162
08/02/2008 20:09:15
59
5
How to set up a DB2 linked server on a 64-bit SQL Server 2005
I need to create a linked server to a DB2 database on a mainframe. Has anyone done this successfully on a 64-bit version of SQL Server 2005? If so, which provider and settings were used. It's important that the linked server work whether we are using a windows authenticated account to login to SQL Server or a SQL S...
sql-server
sqlserver2005
null
null
null
null
open
How to set up a DB2 linked server on a 64-bit SQL Server 2005 === I need to create a linked server to a DB2 database on a mainframe. Has anyone done this successfully on a 64-bit version of SQL Server 2005? If so, which provider and settings were used. It's important that the linked server work whether we are usin...
0
10,901
08/14/2008 11:26:02
1,169
08/13/2008 09:39:24
11
2
Future proofing a large UI Application - MFC with 2008 Feature pack, or C# and Winforms?
My company has developed a long standing product using MFC in Visual C++ as the defacto standard for UI development. Our codebase contains ALOT of legacy/archaic code which must be kept operational. Some of this code is older than me (originally written in the late 70s) and some members of our team are still on Visual ...
c++
mfc
ui
c++cli
null
null
open
Future proofing a large UI Application - MFC with 2008 Feature pack, or C# and Winforms? === My company has developed a long standing product using MFC in Visual C++ as the defacto standard for UI development. Our codebase contains ALOT of legacy/archaic code which must be kept operational. Some of this code is older ...
0
10,905
08/14/2008 11:30:54
905
08/10/2008 09:37:14
607
49
Can you use genric forms in C#?
You should be able to create a genric form: public partial class MyGenericForm<T> : Form where T : class { /* form code */ public List<T> TypedList { get; set; } } Is valid C#, and compiles. However the designer won't work and the form will throw a runtime exception if yo...
c#
windowsforms
.net
null
null
null
open
Can you use genric forms in C#? === You should be able to create a genric form: public partial class MyGenericForm<T> : Form where T : class { /* form code */ public List<T> TypedList { get; set; } } Is valid C#, and compiles. However the designer won't work and the form...
0
10,915
08/14/2008 11:56:29
1,284
08/14/2008 11:34:29
1
0
Best way to model Many-To-One Relationships in NHibernate When Dealing With a Legacy DB?
Warning - I am very new to NHibernate. I know this question seems simple - and I'm sure there's a simple answer, but I've been spinning my wheels for some time on this one. I am dealing with a legacy db which really can't be altered structurally. I have a details table which lists payment plans that have been accepted ...
c#
nhibernate
null
null
null
null
open
Best way to model Many-To-One Relationships in NHibernate When Dealing With a Legacy DB? === Warning - I am very new to NHibernate. I know this question seems simple - and I'm sure there's a simple answer, but I've been spinning my wheels for some time on this one. I am dealing with a legacy db which really can't be a...
0
10,919
08/14/2008 12:07:27
383
08/05/2008 10:46:37
1,705
194
How do you measure SQL Fill Factor value
Usually when I'm creating indexes on tables, I generally guess what the Fill Factor should be based on an educated guess of how the table will be used (many reads or many writes). Is there a more scientific way to determine a more accurate Fill Factor value?
sql-server
fillfactor
null
null
null
null
open
How do you measure SQL Fill Factor value === Usually when I'm creating indexes on tables, I generally guess what the Fill Factor should be based on an educated guess of how the table will be used (many reads or many writes). Is there a more scientific way to determine a more accurate Fill Factor value?
0
10,926
08/14/2008 12:27:00
1,290
08/14/2008 12:26:59
1
0
Deleting / Replacing A Node in E4X (AS3 - Flex)
I'm building a listing/grid control in a Flex application and using it in a .NET web application. To make a really long story short I am getting XML from a webservice of serialized objects. I have a page limit of how many things can be on a page. I've taken a data grid and made it page, sort across pages, and handle...
flex
actionscript-3
e4x
null
null
null
open
Deleting / Replacing A Node in E4X (AS3 - Flex) === I'm building a listing/grid control in a Flex application and using it in a .NET web application. To make a really long story short I am getting XML from a webservice of serialized objects. I have a page limit of how many things can be on a page. I've taken a data...
0
10,933
08/14/2008 12:37:21
905
08/10/2008 09:37:14
652
53
Can you recommend a good .Net web-based repository browser for SVN?
We have a SVN repository running on a Windows server, and I want to link internal documentation, feature changes, bugs and so on to code changes. We've found WebSVN to be amazingly slow - the repository is too large for it (I think). The team using it is primarily coding in C#, and while some have experience with...
.net
asp.net
svn
null
null
null
open
Can you recommend a good .Net web-based repository browser for SVN? === We have a SVN repository running on a Windows server, and I want to link internal documentation, feature changes, bugs and so on to code changes. We've found WebSVN to be amazingly slow - the repository is too large for it (I think). The tea...
0
10,935
08/14/2008 12:41:43
1,100
08/12/2008 11:58:29
6
1
How to trace COM objects exceptions?
I have a **DLL** with some **COM objects**. Sometimes, this objects **crashes** and register an error event in the Windows Event Log with lots of hexadecimal informations. I have no clue why this crashes happens. **So, How can I trace those COM objects exceptions?**
exception
com
dll
trace
null
null
open
How to trace COM objects exceptions? === I have a **DLL** with some **COM objects**. Sometimes, this objects **crashes** and register an error event in the Windows Event Log with lots of hexadecimal informations. I have no clue why this crashes happens. **So, How can I trace those COM objects exceptions?**
0
10,936
08/14/2008 12:42:14
572
08/06/2008 20:56:54
267
25
"Projects" for learning a new language
When you are learning a new programming language, what are some good projects that can be done across a spectrum of languages? I'm familiar with [programming puzzles][1] and [read the other related question][2], but as I think about how I learn a language, I go through stages. First, I learn the basic syntax, then I...
education
programming-languages
new-language
null
null
null
open
"Projects" for learning a new language === When you are learning a new programming language, what are some good projects that can be done across a spectrum of languages? I'm familiar with [programming puzzles][1] and [read the other related question][2], but as I think about how I learn a language, I go through sta...
0
10,949
08/14/2008 12:49:03
987
08/11/2008 12:14:17
258
29
Unit tests for deep cloning
Let's say I have a complex .NET class, with lots of arrays and other class object members. I need to be able to generate a deep clone of this object - so I write a Clone() method, and implement it with a simple BinaryFormatter serialize/deserialize - or perhaps I do the deep clone using some other technique which is m...
c#
.net
unittesting
null
null
null
open
Unit tests for deep cloning === Let's say I have a complex .NET class, with lots of arrays and other class object members. I need to be able to generate a deep clone of this object - so I write a Clone() method, and implement it with a simple BinaryFormatter serialize/deserialize - or perhaps I do the deep clone usin...
0
10,953
08/14/2008 12:51:37
1,219
08/13/2008 13:44:47
46
18
What's the ideal development team composition?
This question might be a little too open-ended, because there are so many variables involved. I'm sure someone could describe a modern take on Brooks' Surgical Team from MMM. I'm wondering what people's opinions are on specialists vs. generalists. Should you build a team of people who can pretty much do it all (ja...
team
null
null
null
null
02/07/2012 19:52:26
off topic
What's the ideal development team composition? === This question might be a little too open-ended, because there are so many variables involved. I'm sure someone could describe a modern take on Brooks' Surgical Team from MMM. I'm wondering what people's opinions are on specialists vs. generalists. Should you buil...
2
10,980
08/14/2008 13:16:37
96
08/01/2008 18:33:48
176
14
IKVM and Licensing
I have been looking into IKVMing Apache's FOP project to use with our .NET app. It's a commercial product, and looking into licensing, IKVM runs into some sticky areas because of its use of GNU Classpath. From what I've seen, no one can say for sure if this stuff can be used in a commercial product. Has anyone used ...
.net
java
licensing
ikvm
null
null
open
IKVM and Licensing === I have been looking into IKVMing Apache's FOP project to use with our .NET app. It's a commercial product, and looking into licensing, IKVM runs into some sticky areas because of its use of GNU Classpath. From what I've seen, no one can say for sure if this stuff can be used in a commercial pr...
0
10,985
08/14/2008 13:19:08
1,304
08/14/2008 13:19:08
1
0
How to prevent an object being created on the heap?
Does nayone know how I can, in platform-independant C++ code prevent an object from being created on the heap? That is, for a class "Foo", I want to prevent users from doing this: Foo *ptr = new Foo; and only allow them to do this: Foo myfooObject; Does anyone have any ideas? Cheers,
c++
stack
heap
null
null
null
open
How to prevent an object being created on the heap? === Does nayone know how I can, in platform-independant C++ code prevent an object from being created on the heap? That is, for a class "Foo", I want to prevent users from doing this: Foo *ptr = new Foo; and only allow them to do this: Foo myfooObj...
0
10,990
08/14/2008 13:22:25
1,153
08/12/2008 23:20:02
1
0
What are the proper permissions for an upload folder with PHP/Apache?
Sorry for the basic question - I'm a .NET developer and don't have much experience with LAMP setups... I have a PHP site that will allow uploads to a specific folder. I have been told that this folder needs to be owned by the webserver user for the upload process to work, so I created the folder and then set permiss...
php
apache
upload
null
null
null
open
What are the proper permissions for an upload folder with PHP/Apache? === Sorry for the basic question - I'm a .NET developer and don't have much experience with LAMP setups... I have a PHP site that will allow uploads to a specific folder. I have been told that this folder needs to be owned by the webserver user f...
0
10,999
08/14/2008 13:27:40
1,122
08/12/2008 14:00:43
114
15
MS Team Foundation Server in distributed environments - hints tips tricks needed
Is anyone out there using Team Foundation Server within a team that is geographically distributed? We're in the UK, trying work with a team in Australia and we're finding it quite tough. For example, things are being checked out to us without us asking on a get latest. Even when using a proxy, most thing take a wh...
tfs
teamfoundationserver
null
null
null
null
open
MS Team Foundation Server in distributed environments - hints tips tricks needed === Is anyone out there using Team Foundation Server within a team that is geographically distributed? We're in the UK, trying work with a team in Australia and we're finding it quite tough. For example, things are being checked out t...
0
11,028
08/14/2008 13:44:43
1,030
08/11/2008 15:40:52
81
12
What are the advantages of explicit Join Transitive Closure in SQL?
When I'm joining three or more tables together by a common column, I'd write my query like this: SELECT * FROM a, b, c WHERE a.id = b.id AND b.id = c.id a colleague recently asked my why I didn't do explicit _Join Transitive Closure_ in my queries like this: SELECT * FROM a,...
sql
jointransitiveclosure
null
null
null
null
open
What are the advantages of explicit Join Transitive Closure in SQL? === When I'm joining three or more tables together by a common column, I'd write my query like this: SELECT * FROM a, b, c WHERE a.id = b.id AND b.id = c.id a colleague recently asked my why I didn't do explicit _Join Tr...
0
11,043
08/14/2008 13:53:33
637
08/07/2008 12:33:15
119
2
SQL Table Aliases - Good or Bad?
What are the pros and cons of using table aliases in SQL? I personally try to avoid them, as I think they make the code less readable (especially when reading through large where/and statements), but I'd be interested in hearing any counter-points to this. When is it generally a good idea to use table aliases, and do...
sql
table
alias
null
null
null
open
SQL Table Aliases - Good or Bad? === What are the pros and cons of using table aliases in SQL? I personally try to avoid them, as I think they make the code less readable (especially when reading through large where/and statements), but I'd be interested in hearing any counter-points to this. When is it generally a ...
0
11,045
08/14/2008 13:54:43
767
08/08/2008 17:04:18
1
1
Refresh Excel VBA Function Results
Does anyone know how I can get a user-defined function to re-evaluate itself (based on changed data in the spreadsheet)? I've tried F9 and Shift+F9, but those don't work. The only thing that seems to work is editing the cell with the function call and then pressing Enter. Any ideas? I seem to remember being able to...
excel
vba
null
null
null
null
open
Refresh Excel VBA Function Results === Does anyone know how I can get a user-defined function to re-evaluate itself (based on changed data in the spreadsheet)? I've tried F9 and Shift+F9, but those don't work. The only thing that seems to work is editing the cell with the function call and then pressing Enter. Any ...
0
11,046
08/14/2008 13:54:56
810
08/09/2008 03:49:52
439
28
Forum software recommandations (.net)
Do you use or do you know a good .net forum software? It can be free or not. It should have the common features normally found in a forum software. So far, the best I've come up with is: [YetAnotherForum][1] [1]: http://www.yetanotherforum.net/
.net
forum
null
null
null
11/20/2011 15:43:37
not constructive
Forum software recommandations (.net) === Do you use or do you know a good .net forum software? It can be free or not. It should have the common features normally found in a forum software. So far, the best I've come up with is: [YetAnotherForum][1] [1]: http://www.yetanotherforum.net/
4
11,055
08/14/2008 13:57:20
543
08/06/2008 15:41:31
100
12
How big would such a database be?
I'm trying to figure out how big a certain database would be (it hasn't been created yet). I know how many rows and what the tables will be. Is there a feature in Oracle that will tell me the size of such a theoretical database? Is there a known math formula I can use? I know there is a feature to determine the size of...
sql
databases
oracle
null
null
null
open
How big would such a database be? === I'm trying to figure out how big a certain database would be (it hasn't been created yet). I know how many rows and what the tables will be. Is there a feature in Oracle that will tell me the size of such a theoretical database? Is there a known math formula I can use? I know ther...
0
11,060
08/14/2008 13:59:21
912
08/10/2008 10:09:35
3
4
How should I unit test a code-generator?
This is a difficult and open-ended question I know, but I thought I'd throw it to the floor and see if anyone had any interesting suggestions. I have developed a code-generator that takes our python interface to our C++ code (generated via SWIG) and generates code needed to expose this as WebServices. When I develo...
c++
python
unittesting
swig
codegeneration
null
open
How should I unit test a code-generator? === This is a difficult and open-ended question I know, but I thought I'd throw it to the floor and see if anyone had any interesting suggestions. I have developed a code-generator that takes our python interface to our C++ code (generated via SWIG) and generates code needed...
0
11,070
08/14/2008 14:02:00
1,309
08/14/2008 13:27:05
11
2
Indispensable Books
If you were to be stuck on a desert island (in a sea of cubicles) with 5 CS/Engineering/Programming references - what would they be? Code Complete by Steve McConnell? Design Patterns by the gang of four? The venerable K&R? What are your favorites, and which do you find yourself coming back to most often?
books
reference
desert
island
null
09/18/2011 21:58:02
not constructive
Indispensable Books === If you were to be stuck on a desert island (in a sea of cubicles) with 5 CS/Engineering/Programming references - what would they be? Code Complete by Steve McConnell? Design Patterns by the gang of four? The venerable K&R? What are your favorites, and which do you find yourself coming b...
4
11,085
08/14/2008 14:11:42
166
08/02/2008 21:28:38
51
2
How to determine the type of a blessed reference in Perl
In Perl, an object is just a reference to any of the basic Perl data types that has been blessed into a particular class. When you use the ref() function on an unblessed reference, you are told what data type the reference points to. However, when you call ref() on a blessed reference, you are returned the name of th...
perl
null
null
null
null
null
open
How to determine the type of a blessed reference in Perl === In Perl, an object is just a reference to any of the basic Perl data types that has been blessed into a particular class. When you use the ref() function on an unblessed reference, you are told what data type the reference points to. However, when you call...
0
11,088
08/14/2008 14:14:03
1,309
08/14/2008 13:27:05
11
3
What is the best way to work around the fact that ALL Java bytes are signed?
In Java, there is no such thing as an unsigned byte. Working with some low level code, occasionally you need to work with bytes that have unsigned values greater than 128, which causes Java to interpret them as a negative number due to the MSB being used for sign. What's a good way to work around this? (Saying do...
java
byte
signed
unsigned
null
null
open
What is the best way to work around the fact that ALL Java bytes are signed? === In Java, there is no such thing as an unsigned byte. Working with some low level code, occasionally you need to work with bytes that have unsigned values greater than 128, which causes Java to interpret them as a negative number due to...
0
11,099
08/14/2008 14:23:11
1,185
08/13/2008 12:02:03
78
13
What is the prefered style for single decision and action statements?
In the case of languages that support single decision and action without brackets, such as the following example: if (var == true) doSomething(); What is the preferred way of writing this? Should brackets always be used, or should their usage be left as a preference of the individual developer? Addit...
language-agnostic
bestpractices
documentation
language-features
readablity
null
open
What is the prefered style for single decision and action statements? === In the case of languages that support single decision and action without brackets, such as the following example: if (var == true) doSomething(); What is the preferred way of writing this? Should brackets always be used, or sh...
0
11,112
08/14/2008 14:30:17
1,175
08/13/2008 10:21:54
41
7
Best Wiki for Mobile Users
Most wiki software I've presents lots of "features" on their pages. This is fine for desktop users, but is annoying when using an iPhone or other mobile device. I'd prefer pages that just had the content, along with maybe an Edit button and a Search button. What is a good wiki package for mobile users?
wiki
iphone
mobile-web
null
null
null
open
Best Wiki for Mobile Users === Most wiki software I've presents lots of "features" on their pages. This is fine for desktop users, but is annoying when using an iPhone or other mobile device. I'd prefer pages that just had the content, along with maybe an Edit button and a Search button. What is a good wiki packa...
0
11,127
08/14/2008 14:37:27
179
08/03/2008 02:38:27
13
3
In C++/Windows how do I get the network name of the computer I'm on?
In a C++ Windows (XP and NT, if it makes a difference) application I'm working on, I need to get the network name associated with the computer the code is executing on, so that I can convert local filenames from C:\filename.ext to \\\network_name\C$\filename.ext. How would I do this? Alternatively, if there's a func...
c++
windows
xp
nt
networking
null
open
In C++/Windows how do I get the network name of the computer I'm on? === In a C++ Windows (XP and NT, if it makes a difference) application I'm working on, I need to get the network name associated with the computer the code is executing on, so that I can convert local filenames from C:\filename.ext to \\\network_name...
0
11,135
08/14/2008 14:42:50
1,311
08/14/2008 13:43:09
1
0
How to remote shell scripts from ASP pages?
I need to create and ASP page (not .NET, yes I know its ancient) should run remote shell scripts on a UNIX server and then capture the output into variables in VBScript within the page itself. I ahve never done ASP or VBScipt before. I have tried to google this stuff, but all I find are references to remote server s...
asp
vbscript
remote-scripting
null
null
null
open
How to remote shell scripts from ASP pages? === I need to create and ASP page (not .NET, yes I know its ancient) should run remote shell scripts on a UNIX server and then capture the output into variables in VBScript within the page itself. I ahve never done ASP or VBScipt before. I have tried to google this stuff,...
0
11,141
08/14/2008 14:46:30
1,144
08/12/2008 19:00:54
19
4
ASP.NET Caching
Recently I have been investigating the possibilities of caching in ASP.NET. I rolled my own "Cache", because I didn't know any better, it looked a bit like this: public class DataManager { private static DataManager s_instance; public static DataManager GetInsta...
asp.net
null
null
null
null
null
open
ASP.NET Caching === Recently I have been investigating the possibilities of caching in ASP.NET. I rolled my own "Cache", because I didn't know any better, it looked a bit like this: public class DataManager { private static DataManager s_instance; public static...
0
11,145
08/14/2008 14:51:28
1,311
08/14/2008 13:43:09
1
0
Drawing Library for Ruby
I am trying to code a flowchart generator for a language using Ruby. I wanted to know if there were any libraries that I could use to draw various shapes for the various flowchart elements and write out text to those shapes. I would really prefer not having to write code for drawing basic shapes, if I can help ...
ruby
graphics
drawing
null
null
null
open
Drawing Library for Ruby === I am trying to code a flowchart generator for a language using Ruby. I wanted to know if there were any libraries that I could use to draw various shapes for the various flowchart elements and write out text to those shapes. I would really prefer not having to write code for drawin...
0
11,147
08/14/2008 14:53:32
673
08/07/2008 16:33:05
232
30
Pie Chart Drawing in PHP
I would like to be able to create a pie chart in PHP. Are there any libraries that will allow me to easily create a pie chart from a list of names and percentages?
php
null
null
null
null
null
open
Pie Chart Drawing in PHP === I would like to be able to create a pie chart in PHP. Are there any libraries that will allow me to easily create a pie chart from a list of names and percentages?
0
11,152
08/14/2008 14:56:30
1,010
08/11/2008 13:02:11
1
0
How do I create a workflow instance reliably based on an external event?
a little new to the windows workflow stuff so go easy :) I wish to design a workflow host environment that has high availability - a minimum of 2 WF runtime hosts on separate hardware both pointing to the same persistance or tracking SQL database. I am looking for a pattern whereby I can asynchronously create new...
.net
workflow
workflow-foundation
null
null
null
open
How do I create a workflow instance reliably based on an external event? === a little new to the windows workflow stuff so go easy :) I wish to design a workflow host environment that has high availability - a minimum of 2 WF runtime hosts on separate hardware both pointing to the same persistance or tracking SQL d...
0
11,156
08/14/2008 14:58:51
195
08/03/2008 11:02:15
62
3
managing two computers as if extended desktop is used
<p>I need to control two computers each connected to its own screen, using one mouse &amp; KB. switching between them by mouse moving to the side-end of the screen (as in extended desktop supporting graphics cards).</p> <p>regular KVM which forces some aware user input to choose the computer in work is not optimal.<...
keyboard
mouse
null
null
null
null
open
managing two computers as if extended desktop is used === <p>I need to control two computers each connected to its own screen, using one mouse &amp; KB. switching between them by mouse moving to the side-end of the screen (as in extended desktop supporting graphics cards).</p> <p>regular KVM which forces some aware...
0
11,194
08/14/2008 15:20:26
1,204
08/13/2008 13:02:12
1
0
Conditional Linq Queries
We're working on a Log Viewer. The use will have the option to filter by user, severity, etc. In the Sql days I'd add to the query string, but I want to do it with Linq. How can I conditionally add where-clauses?
linq
linq-to-sql
c#
null
null
null
open
Conditional Linq Queries === We're working on a Log Viewer. The use will have the option to filter by user, severity, etc. In the Sql days I'd add to the query string, but I want to do it with Linq. How can I conditionally add where-clauses?
0
11,199
08/14/2008 15:25:44
299
08/04/2008 13:31:09
173
16
.NET Framework dependency
When developing a desktop application in .NET, is it possible to not require the .NET Framework? Is developing software in .NET a preferred way to develop desktop applications? What is the most used programming language that software companies use to develop desktop applications?
.net
dependency
null
null
null
null
open
.NET Framework dependency === When developing a desktop application in .NET, is it possible to not require the .NET Framework? Is developing software in .NET a preferred way to develop desktop applications? What is the most used programming language that software companies use to develop desktop applications?
0
11,200
08/14/2008 15:26:11
26
08/01/2008 12:18:14
471
75
T-Sql date format for seconds since last epoch
I'm guessing it needs to be something like: CONVERT(CHAR(24), lastModified, 101) However I'm not sure of the right value for the third parameter. Thanks!
tsql
date
null
null
null
null
open
T-Sql date format for seconds since last epoch === I'm guessing it needs to be something like: CONVERT(CHAR(24), lastModified, 101) However I'm not sure of the right value for the third parameter. Thanks!
0
11,219
08/14/2008 15:34:26
160
08/02/2008 18:35:58
41
3
Calling REST web services from a classic asp page
I'd like to start moving our application business layers into a collection of REST web services. However, most of our Intranet has been built using Classic ASP and most of the developers where I work keep programming in Classic ASP. Ideally, then, for them to benefit from the advantages of a unique set of web APIs, it ...
webservices
asp
classicasp
rest
null
null
open
Calling REST web services from a classic asp page === I'd like to start moving our application business layers into a collection of REST web services. However, most of our Intranet has been built using Classic ASP and most of the developers where I work keep programming in Classic ASP. Ideally, then, for them to benef...
0
11,248
08/14/2008 15:59:25
1,145
08/12/2008 19:03:34
31
2
Trial wrapping
We have been using a third party trial wrapping solution for a while where I work to give users 15 or 30 day trial versions of our commercial software (the commercial versions are recompiled to use a USB hard key) - however I would like to see what other options are out there for creating trial software. What do you r...
trialware
null
null
null
null
null
open
Trial wrapping === We have been using a third party trial wrapping solution for a while where I work to give users 15 or 30 day trial versions of our commercial software (the commercial versions are recompiled to use a USB hard key) - however I would like to see what other options are out there for creating trial soft...
0
11,263
08/14/2008 16:09:55
1,192
08/13/2008 12:17:17
1
4
Do you know any patterns for GUI programming? (Not patterns on designing GUIs)
I'm looking for patterns that concern coding parts of a GUI. **Not** as global as **MVC**, that I'm quite familiar with, but patterns and good ideas and best practices concerning single controls and inputs. Let say I want to make a control that display some objects that may overlap. Now if I click on an object, I ne...
gui
designpatterns
null
null
null
null
open
Do you know any patterns for GUI programming? (Not patterns on designing GUIs) === I'm looking for patterns that concern coding parts of a GUI. **Not** as global as **MVC**, that I'm quite familiar with, but patterns and good ideas and best practices concerning single controls and inputs. Let say I want to make a c...
0
11,267
08/14/2008 16:14:36
832
08/09/2008 06:51:40
446
47
ASP.NET UserControl's and DefaultEvent
#Outline OK, I have Google'd this and already expecting a big fat **NO!!** But I thought I should ask since I know sometimes there can be the odd little gem of knowledge lurking around in peoples heads ^_^ I am working my way through some excercises in a book for study, and this particular exercise is User Controls...
asp.net
usercontrols
attributes
c#
null
null
open
ASP.NET UserControl's and DefaultEvent === #Outline OK, I have Google'd this and already expecting a big fat **NO!!** But I thought I should ask since I know sometimes there can be the odd little gem of knowledge lurking around in peoples heads ^_^ I am working my way through some excercises in a book for study, a...
0
11,275
08/14/2008 16:19:49
1,154
08/12/2008 23:39:07
94
15
Standard Signature a Text in a Message using Exchange Server
Anyone know how to do this without using a third party program? If there no way to do it with a add-on someone can recommend one? Thanks
exchange
outlook
null
null
null
null
open
Standard Signature a Text in a Message using Exchange Server === Anyone know how to do this without using a third party program? If there no way to do it with a add-on someone can recommend one? Thanks
0
11,279
08/14/2008 16:25:12
305
08/04/2008 14:04:19
247
23
Automaticaly incremented revision # doesn't show up in the About Box.
I suspect this is going to be a really easy one but I'm a .NET newbie so be gentle. I have a small VB .NET app that I'm working on using the full version of Visual Studio 2005. In the **Publish** properties of the project, I have it set to *Automatically increment revision with each publish*. The issue is that i...
visualbasic
dotnet
visual-studio
null
null
null
open
Automaticaly incremented revision # doesn't show up in the About Box. === I suspect this is going to be a really easy one but I'm a .NET newbie so be gentle. I have a small VB .NET app that I'm working on using the full version of Visual Studio 2005. In the **Publish** properties of the project, I have it set to *...
0
11,288
08/14/2008 16:30:49
1,346
08/14/2008 16:14:44
1
0
WPF - Sorting a composite collection
So WPF doesn't support standard sorting or filtering behavior for views of CompositeCollections, so what would be a best practice for solving tihs problem. There are two or more object collections of different types. You want to combine them into a single sortable and filterable collection (withing having to manual...
c#
wpf
data-binding
collections
null
null
open
WPF - Sorting a composite collection === So WPF doesn't support standard sorting or filtering behavior for views of CompositeCollections, so what would be a best practice for solving tihs problem. There are two or more object collections of different types. You want to combine them into a single sortable and filte...
0
11,291
08/14/2008 16:32:22
1,344
08/14/2008 16:03:00
11
2
Cocoa - best way to capture key events in NSTextView?
Well? I'm slowly learning Objective-C and Cocoa, and the only way I see so far to capture key events in Text Views is to use delegation, but I'm having trouble finding useful documentation and examples on how to implement such a solution. Can anyone point me in the right direction or supply some first-hand help? Th...
gui
osx
cocoa
events
objectivec
null
open
Cocoa - best way to capture key events in NSTextView? === Well? I'm slowly learning Objective-C and Cocoa, and the only way I see so far to capture key events in Text Views is to use delegation, but I'm having trouble finding useful documentation and examples on how to implement such a solution. Can anyone point m...
0
11,305
08/14/2008 16:41:25
895
08/10/2008 08:40:28
1
0
How to parse XML in VBA
I work in VBA, and want to parse a string eg <PointN xsi:type='typens:PointN' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:xs='http://www.w3.org/2001/XMLSchema'><X>24.365</X><Y>78.63</Y></PointN> and get the X & Y values into two separate integer variables. I'm a newbie when it...
xml
vba
vb6
null
null
null
open
How to parse XML in VBA === I work in VBA, and want to parse a string eg <PointN xsi:type='typens:PointN' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:xs='http://www.w3.org/2001/XMLSchema'><X>24.365</X><Y>78.63</Y></PointN> and get the X & Y values into two separate integer varia...
0
11,311
08/14/2008 16:43:03
299
08/04/2008 13:31:09
185
17
Formatting text in WinForm Label
Is it possible to format certain text in a WinForm Label instead of breaking the text into multiple labels? Please disregard the HTML tags within the label's text; it's only used to get my point out. For example: Dim myLabel As New Label myLabel.Text = "This is <b>bold</b> text. This is <green>green</g...
formatting
text
label
winform
null
null
open
Formatting text in WinForm Label === Is it possible to format certain text in a WinForm Label instead of breaking the text into multiple labels? Please disregard the HTML tags within the label's text; it's only used to get my point out. For example: Dim myLabel As New Label myLabel.Text = "This is <b>b...
0
11,318
08/14/2008 16:44:42
322
08/04/2008 16:38:52
232
14
Simple animation in WinForms
Imagine you want to animate some object on a WinForm. You setup a timer to update the state or model, and override the paint event of the Form. But from there, what's the best way to continually repaint the Form for the animation? - Invalidate the Form as soon as you are done drawing? - Setup a second timer and...
.net
winforms
animation
null
null
null
open
Simple animation in WinForms === Imagine you want to animate some object on a WinForm. You setup a timer to update the state or model, and override the paint event of the Form. But from there, what's the best way to continually repaint the Form for the animation? - Invalidate the Form as soon as you are done draw...
0
11,330
08/14/2008 16:51:07
432
08/05/2008 17:18:46
638
37
Passing more parameters in C function pointers
Let's say I'm creating a chess program. I have a function void foreachMove( void (*action)(chess_move*), chess_game* game); which will call the function pointer action on each valid move. This is all well and good, but what if I need to pass more parameters to the action function? For example: chess_m...
c
pointer
architecture
null
null
null
open
Passing more parameters in C function pointers === Let's say I'm creating a chess program. I have a function void foreachMove( void (*action)(chess_move*), chess_game* game); which will call the function pointer action on each valid move. This is all well and good, but what if I need to pass more parameters...
0
11,333
08/14/2008 16:56:24
1,124
08/12/2008 15:13:50
66
10
Open Source Licensing Options for ASP.NET MVC Application?
I'm working on a personal project in ASP.NET MVC that I plan on making open source. In the past, I've open-sourced quite a few PHP scripts and UNIX-based stuff. For those, I typically went with a BSD/Apache style license, unless I was including a library that prevented it. On the Linux/PHP side of things, that usually ...
asp.net
mvc
opensource
licensing
subsonic
null
open
Open Source Licensing Options for ASP.NET MVC Application? === I'm working on a personal project in ASP.NET MVC that I plan on making open source. In the past, I've open-sourced quite a few PHP scripts and UNIX-based stuff. For those, I typically went with a BSD/Apache style license, unless I was including a library t...
0
11,338
08/14/2008 17:04:25
1,318
08/14/2008 14:00:08
1
1
Getting Java and Twain to play together nicely
I'm working on building an app to scan directly from TWAIN scanner to a Java applet. I'm already aware of [Morena][1] and [JTwain][2], but they cost money. I need free. I could re-invent the wheel with JNI, but it seems like someone has probably already done this as a FOSS tool. Is anyone familiar with a **free**...
java
twain
scanner
null
null
null
open
Getting Java and Twain to play together nicely === I'm working on building an app to scan directly from TWAIN scanner to a Java applet. I'm already aware of [Morena][1] and [JTwain][2], but they cost money. I need free. I could re-invent the wheel with JNI, but it seems like someone has probably already done thi...
0
11,341
08/14/2008 17:06:46
1,104
08/12/2008 12:02:17
41
6
Create PDFs from multipage forms in WebObjects
I would like to automatically generate PDF documents from WebObjects based on mulitpage forms. Assuming I have a class which can assemble the related forms (java/wod files) is there a good way to then parse the individaul forms into a PDF instead of going to the screen?
java
pdf
webobjects
null
null
null
open
Create PDFs from multipage forms in WebObjects === I would like to automatically generate PDF documents from WebObjects based on mulitpage forms. Assuming I have a class which can assemble the related forms (java/wod files) is there a good way to then parse the individaul forms into a PDF instead of going to the scree...
0
11,345
08/14/2008 17:09:43
64
08/01/2008 14:27:12
4
4
XPATHS and Default Namespaces
What is the story behind XPATH and support for namespaces? Did XPATH as a specification precede namespaces? If I have a document where elements have been given a default namespace: >> &lt;foo xmlns="uri" /> It appears as though some of the XPATH processor libraries won't recognize //foo because of the namespace...
c#
xml
namespace
xpath
null
null
open
XPATHS and Default Namespaces === What is the story behind XPATH and support for namespaces? Did XPATH as a specification precede namespaces? If I have a document where elements have been given a default namespace: >> &lt;foo xmlns="uri" /> It appears as though some of the XPATH processor libraries won't recog...
0
11,350
08/14/2008 17:15:08
25
08/01/2008 12:15:23
491
42
What questions should you ask a potential future employer during an interview?
I'm going to start interviewing again over the next couple of months. I'm about three years out of school, got some good programming experience under my belt that I can boast about, and finally feel like I can call some of the shots. A question that has been bouncing around in my head for awhile is what *are* the bes...
interview-questions
joeltest
null
null
null
null
open
What questions should you ask a potential future employer during an interview? === I'm going to start interviewing again over the next couple of months. I'm about three years out of school, got some good programming experience under my belt that I can boast about, and finally feel like I can call some of the shots. ...
0
11,359
08/14/2008 17:17:30
327
08/04/2008 17:08:49
282
14
What is good remote performance monitoring software for Windows?
I'm looking for some software to monitor a single server for performance alerts. Preferably free and with a reasonable default configuration.
windows
performance
sysadmin
null
null
null
open
What is good remote performance monitoring software for Windows? === I'm looking for some software to monitor a single server for performance alerts. Preferably free and with a reasonable default configuration.
0
11,381
08/14/2008 17:25:29
1,030
08/11/2008 15:40:52
103
12
Making human readable representations of an Integer
Here's a coding problem for those that like this kind of thing. Let's see your implementations (in your language of choice, of course) of a function which returns a human readable String representation of a specified Integer. For example: <ul> <li>humanReadable(1) returns "one". <li>humanReadable(53) returns "fifty-...
practice
null
null
null
null
null
open
Making human readable representations of an Integer === Here's a coding problem for those that like this kind of thing. Let's see your implementations (in your language of choice, of course) of a function which returns a human readable String representation of a specified Integer. For example: <ul> <li>humanReadable...
0
11,405
08/14/2008 17:39:46
112
08/02/2008 05:39:11
1
1
template problem with gcc
The following code doesn't compile with gcc, but does with Visual Studio: template <typename T> class A { public: T foo; }; template <typename T> class B: public A <T> { public: void bar() { cout << foo << endl; } }; I get the error: test.cpp: In member func...
c++
gcc
templates
null
null
null
open
template problem with gcc === The following code doesn't compile with gcc, but does with Visual Studio: template <typename T> class A { public: T foo; }; template <typename T> class B: public A <T> { public: void bar() { cout << foo << endl; } }; I get the error: ...
0
11,423
08/14/2008 18:04:45
1,356
08/14/2008 17:53:58
1
0
How to host a WPF form in a MFC application
I'm looking for any resources on hosting a WPF form within an existing MFC application. Can anyone point me in the right direction on how to do this? Thanks, --Mark
c#
wpf
mfc
null
null
null
open
How to host a WPF form in a MFC application === I'm looking for any resources on hosting a WPF form within an existing MFC application. Can anyone point me in the right direction on how to do this? Thanks, --Mark
0
11,430
08/14/2008 18:08:00
1,194
08/13/2008 12:27:52
1
0
SQL 2008 .NET CLR
Does SQL 2008 ship with the .NET 3.5 CLR, so that stored procedures written in CLR can use 3.5 features?
mssql
null
null
null
null
null
open
SQL 2008 .NET CLR === Does SQL 2008 ship with the .NET 3.5 CLR, so that stored procedures written in CLR can use 3.5 features?
0
11,439
08/14/2008 18:11:31
1,360
08/14/2008 18:11:31
1
0
Visual Studio Setup Project Custom Dialog
I have created a custom dialog for Visual Studio Setup Project using the steps described here: [http://www.codeproject.com/KB/install/vsSetupCustomDialogs.aspx?fid=419622&df=90&mpp=25&noise=3&sort=Position&view=Quick&select=2640482&fr=26][1] [1]: http://www.codeproject.com/KB/install/vsSetupCustomDialogs.aspx?f...
.net
project
setup
visual
studio
null
open
Visual Studio Setup Project Custom Dialog === I have created a custom dialog for Visual Studio Setup Project using the steps described here: [http://www.codeproject.com/KB/install/vsSetupCustomDialogs.aspx?fid=419622&df=90&mpp=25&noise=3&sort=Position&view=Quick&select=2640482&fr=26][1] [1]: http://www.codepro...
0
11,459
08/14/2008 18:28:31
145
08/02/2008 14:40:17
298
15
Increasing Battery Life Under Linux
All right, this is something I think everyone can agree would be nice to have: **Longer Battery Life** I have a Thinkpad T61p and am currently running Fedora 9 on it. I love sitting outside and coding (required software tyin... check) and it would be nice to not have to worry about my battery running out while I...
laptop
linux
battery
null
null
10/25/2011 20:35:58
off topic
Increasing Battery Life Under Linux === All right, this is something I think everyone can agree would be nice to have: **Longer Battery Life** I have a Thinkpad T61p and am currently running Fedora 9 on it. I love sitting outside and coding (required software tyin... check) and it would be nice to not have to w...
2
11,460
08/14/2008 18:28:42
1,154
08/12/2008 23:39:07
94
17
ASP.NET Proxy Application
Let me try to explain what I need. I have a server that is visible from the internet. What I need is to create a ASP.NET application that get the request of a web Site and send to a internal server, then it gets the response and publish the the info. For the client this should be totally transparent. For different r...
.net
asp.net
iis
windowsserver
null
null
open
ASP.NET Proxy Application === Let me try to explain what I need. I have a server that is visible from the internet. What I need is to create a ASP.NET application that get the request of a web Site and send to a internal server, then it gets the response and publish the the info. For the client this should be totally ...
0
11,462
08/14/2008 18:30:01
730
08/08/2008 12:40:04
6
9
Sharepoint Wikis
Ok, I've seen a few posts that *mention* a few other posts about not using SP wikis because they suck. Since we are looking at doing our wiki *in* SP, I need to know why we shouldn't do it for a group of 6 automation-developers to document the steps in various automated processes and the changes that have to be made...
sharepoint
automation
mediawiki
sharepointwiki
null
null
open
Sharepoint Wikis === Ok, I've seen a few posts that *mention* a few other posts about not using SP wikis because they suck. Since we are looking at doing our wiki *in* SP, I need to know why we shouldn't do it for a group of 6 automation-developers to document the steps in various automated processes and the change...
0
11,489
08/14/2008 18:49:30
572
08/06/2008 20:56:54
337
36
Increasing Battery Life Under Windows
Are there any good (free?) tools for monitoring power consumption and aiding in reducing power consumption on a Windows laptop? I currently have a Lenovo T60p and the tools that Lenovo provides are OK, but nothing really that good. They really just provide a new interface to the Windows Power Manager options, at lea...
windows
laptop
battery
null
null
01/09/2012 13:50:31
off topic
Increasing Battery Life Under Windows === Are there any good (free?) tools for monitoring power consumption and aiding in reducing power consumption on a Windows laptop? I currently have a Lenovo T60p and the tools that Lenovo provides are OK, but nothing really that good. They really just provide a new interface t...
2
11,491
08/14/2008 18:49:47
1,366
08/14/2008 18:30:52
1
0
String To Lower/Upper in C++
What is the best way people have found to do String to Lower case / Upper case in C++? The issue is complicated by the fact that C++ isn't an English only programming language. Is there a good multilingual method?
c++
null
null
null
null
null
open
String To Lower/Upper in C++ === What is the best way people have found to do String to Lower case / Upper case in C++? The issue is complicated by the fact that C++ isn't an English only programming language. Is there a good multilingual method?
0
11,500
08/14/2008 18:52:54
149
08/02/2008 15:03:56
167
16
Speeding up an ASP.Net Web Site or Application
I have an Ajax.Net enabled ASP.Net 2.0 web site. Hosting for both the site and the database are out of my control as is the database's schema. In testing on hardware I do control the site performs well however on the client's hardware, there are noticeable delays when reloading or changing pages. What I would like ...
asp.net
ajax.net
ajax
performance
optimization
null
open
Speeding up an ASP.Net Web Site or Application === I have an Ajax.Net enabled ASP.Net 2.0 web site. Hosting for both the site and the database are out of my control as is the database's schema. In testing on hardware I do control the site performs well however on the client's hardware, there are noticeable delays when...
0
11,520
08/14/2008 19:03:53
1,327
08/14/2008 14:37:22
11
3
What are the list of Resharper like plugins for VS I should consider?
My license for Whole Tomatoes Visual AssistX is about to expire and I'm not really planning on renewing it. I use it for spell checking but that's about it. The refactoring abilities have been a little disappointing. Before I just jump into Resharper though what are your thoughts on other possible plugins?
.net
visual
studio
null
null
null
open
What are the list of Resharper like plugins for VS I should consider? === My license for Whole Tomatoes Visual AssistX is about to expire and I'm not really planning on renewing it. I use it for spell checking but that's about it. The refactoring abilities have been a little disappointing. Before I just jump into R...
0
11,532
08/14/2008 19:08:21
1,142
08/12/2008 18:52:53
39
2
Tool to find unused functions in php project
Does anyone know of a tool that can find unused functions in a php project?
php
null
null
null
null
null
open
Tool to find unused functions in php project === Does anyone know of a tool that can find unused functions in a php project?
0
11,540
08/14/2008 19:12:29
381
08/05/2008 10:39:26
709
14
Automation - what's your tipping point ?
If you're doing some textual manipulation of a file/files, at what point do you decide to automate the process (using your favorite scripting language or writing a macro in a tool) ? Is it after a certain number of repetitions or based on the likelihood you'll need to repeat the process ? Is it productive to auto...
productivity
language-agnostic
null
null
null
04/29/2012 05:55:24
not constructive
Automation - what's your tipping point ? === If you're doing some textual manipulation of a file/files, at what point do you decide to automate the process (using your favorite scripting language or writing a macro in a tool) ? Is it after a certain number of repetitions or based on the likelihood you'll need to re...
4
11,561
08/14/2008 19:23:54
1,310
08/14/2008 13:42:16
41
6
What is the difference between an endpoint, a service, and a port when working with webservices?
I've used Apache CXF to expose about ten java classes as web services. I've generated clients using CXF, Axis, and .NET. In Axis and CXF a "Service" or "Locator" is generated. From this service you can get a "Port". The "Port" is used to make individual calls to the methods exposed by the web service. In .N...
.net
java
webservices
apache
axis
null
open
What is the difference between an endpoint, a service, and a port when working with webservices? === I've used Apache CXF to expose about ten java classes as web services. I've generated clients using CXF, Axis, and .NET. In Axis and CXF a "Service" or "Locator" is generated. From this service you can get a "P...
0
11,562
08/14/2008 19:24:17
1,366
08/14/2008 18:30:52
13
0
How to override std::swap()
std::swap() is used by many std containers (such as std::list and std::vector) during sorting and even assignment. But the std implementation of swap() is very generalized and rather inefficient for custom types. Thus efficiency can be gained by overriding std::swap() with a custom type specific implementation. B...
c++
null
null
null
null
null
open
How to override std::swap() === std::swap() is used by many std containers (such as std::list and std::vector) during sorting and even assignment. But the std implementation of swap() is very generalized and rather inefficient for custom types. Thus efficiency can be gained by overriding std::swap() with a custo...
0
11,585
08/14/2008 19:39:32
383
08/05/2008 10:46:37
1,759
200
Clearing Page Cache in ASP.NET
For my blog I am wanting to use the Output Cache to save a cached version of a perticular post for around 10 minutes, and thats fine... <%@OutputCache Duration="600" VaryByParam="*" %> However, if someone posts a comment, I want to clear the cache so that the page is refreshed and the comment can be seen. ...
asp.net
csharp
outputcache
null
null
null
open
Clearing Page Cache in ASP.NET === For my blog I am wanting to use the Output Cache to save a cached version of a perticular post for around 10 minutes, and thats fine... <%@OutputCache Duration="600" VaryByParam="*" %> However, if someone posts a comment, I want to clear the cache so that the page is refres...
0
11,586
08/14/2008 19:39:32
322
08/04/2008 16:38:52
242
14
Do you use design patterns?
What's the penetration of design patterns in the real world? Do you use them in your day to day job - discussing how and where to apply them with your coworkers - or do they remain more of an academic concept? Do they actually provide actual value to your job? Or are they just something that people talk about to so...
language-agnostic
designpatterns
null
null
null
null
open
Do you use design patterns? === What's the penetration of design patterns in the real world? Do you use them in your day to day job - discussing how and where to apply them with your coworkers - or do they remain more of an academic concept? Do they actually provide actual value to your job? Or are they just somet...
0
11,612
08/14/2008 19:51:52
1,014
08/11/2008 13:25:25
1
0
Is there any wiki engine that supports page creation by email?
I want to consolidate all the loose information of the company I work for into a knowledge base. A wiki seems to be the way to go, but most of the relevant information is buried inside PST files, and it would take ages to convince people to manually translate their emails one by one (including attachments) into wiki pa...
email
wiki
mime
wiki-engine
null
null
open
Is there any wiki engine that supports page creation by email? === I want to consolidate all the loose information of the company I work for into a knowledge base. A wiki seems to be the way to go, but most of the relevant information is buried inside PST files, and it would take ages to convince people to manually tr...
0
11,615
08/14/2008 19:52:54
1,370
08/14/2008 19:52:54
1
0
Good Resources for Relational Database Design
I'm looking for a book/site/tutorial on best practices for relational database design, tuning for performance etc. It turns out this kind of resource is a bit difficult to find; there's a lot of "here's normalization, here's ER diagrams, have at it," but not much in the way of real examples. Anyone have any ideas?
sql
performance
bestpractices
design
databases
null
open
Good Resources for Relational Database Design === I'm looking for a book/site/tutorial on best practices for relational database design, tuning for performance etc. It turns out this kind of resource is a bit difficult to find; there's a lot of "here's normalization, here's ER diagrams, have at it," but not much in th...
0
11,620
08/14/2008 19:54:25
1,341
08/14/2008 15:30:17
66
4
How do you kill all current connections to a SQL Server 2005 database?
I want to rename a database, but keep getting the error that 'couldnt get exclusive lock' on the database, which implies there is some connection(s) still active. How can I kill all the connections to the database so that I can rename it?
sql-server-2005
null
null
null
null
null
open
How do you kill all current connections to a SQL Server 2005 database? === I want to rename a database, but keep getting the error that 'couldnt get exclusive lock' on the database, which implies there is some connection(s) still active. How can I kill all the connections to the database so that I can rename it?
0
11,632
08/14/2008 19:59:40
337
08/04/2008 18:11:42
46
1
What are the most important functional differences between C# and VB.NET?
Certainly there's the difference in general syntax, but what other critical distinctions exist? There are *some* differences, right?
c#
vb.net
comparison
null
null
null
open
What are the most important functional differences between C# and VB.NET? === Certainly there's the difference in general syntax, but what other critical distinctions exist? There are *some* differences, right?
0
11,635
08/14/2008 20:01:28
1,366
08/14/2008 18:30:52
15
0
Case insensitive string comparison in C++
What is the best way of doing case insensitive string comparison in C++ with out transforming a string to all upper or lower case? Also, what ever methods you present, are they Unicode friendly?
c++
null
null
null
null
null
open
Case insensitive string comparison in C++ === What is the best way of doing case insensitive string comparison in C++ with out transforming a string to all upper or lower case? Also, what ever methods you present, are they Unicode friendly?
0
11,665
08/14/2008 20:25:07
26
08/01/2008 12:18:14
511
78
How do I restyle an Adobe Flex Accordion to include a button in each canvas header?
Here is the sample code for my accordion: <mx:Accordion x="15" y="15" width="230" height="599" styleName="myAccordion"> <mx:Canvas id="pnlSpotlight" label="SPOTLIGHT" height="100%" width="100%" horizontalScrollPolicy="off"> <mx:VBox width="100%" height="80%" paddingTop="2" paddingBottom="1" verticalGap="1">...
flex
actionscript-3
wishfulthinking
null
null
null
open
How do I restyle an Adobe Flex Accordion to include a button in each canvas header? === Here is the sample code for my accordion: <mx:Accordion x="15" y="15" width="230" height="599" styleName="myAccordion"> <mx:Canvas id="pnlSpotlight" label="SPOTLIGHT" height="100%" width="100%" horizontalScrollPolicy="off"> ...
0
11,676
08/14/2008 20:34:07
1,368
08/14/2008 18:57:47
1
0
Creating a development environment for SharePoint.
I haven't touched sharepoint in years. If I want to setup a development environment to get up to speed, what options do I have? I don't have an MSDN license, is there anyway I can get up and running for free? (for development only)
sharepoint
null
null
null
null
null
open
Creating a development environment for SharePoint. === I haven't touched sharepoint in years. If I want to setup a development environment to get up to speed, what options do I have? I don't have an MSDN license, is there anyway I can get up and running for free? (for development only)
0
11,680
08/14/2008 20:36:07
1,048
08/11/2008 19:34:31
18
4
File Parse Design Pattern
Does anybody recommend a design pattern for taking a binary data file, parsing parts of it into objects and storing the resultant data into a database? I think a similar pattern could be used for taking an XML or tab-delimited file and parse it into their representative objects. A common data structure would in...
designpatterns
fileparse
null
null
null
null
open
File Parse Design Pattern === Does anybody recommend a design pattern for taking a binary data file, parsing parts of it into objects and storing the resultant data into a database? I think a similar pattern could be used for taking an XML or tab-delimited file and parse it into their representative objects. A...
0
11,686
08/14/2008 20:47:06
1,343
08/14/2008 15:46:01
1
3
Is there any kind of non text interface to MySQL?
I have a MySQL query that returns a result with a single column of integers. Is there any way to get the MySQL C API to transfer this as actually integers rather than as ASCII text? For that matter is there a way to get MySQL to do /any/ of the API stuff as other than ASCII text. I'm thinking this would save a bit of t...
mysql
api
null
null
null
null
open
Is there any kind of non text interface to MySQL? === I have a MySQL query that returns a result with a single column of integers. Is there any way to get the MySQL C API to transfer this as actually integers rather than as ASCII text? For that matter is there a way to get MySQL to do /any/ of the API stuff as other t...
0
11,689
08/14/2008 20:50:11
1,190
08/13/2008 12:15:38
210
16
Design debate: versioned temporal objects
I am intentionally leaving this quite vague at first. I'm looking for discussion and what issues are important more than I'm looking for hard answers. I'm in the middle of designing an app that does something like portfolio management. The design I have so far is * Problem: a problem that needs to be solved * ...
time
design
portfolio-management
risk-management
null
null
open
Design debate: versioned temporal objects === I am intentionally leaving this quite vague at first. I'm looking for discussion and what issues are important more than I'm looking for hard answers. I'm in the middle of designing an app that does something like portfolio management. The design I have so far is *...
0
11,690
08/14/2008 20:50:31
337
08/04/2008 18:11:42
46
1
How can I get Unicode characters to display properly for the tooltip for the IMG ALT in IE7?
I've got some Japanese in the ALT attribute, but the tooltip is showing me the ugly block characters in the tooltip. The rest of the content on the page renders correctly. So far, it seems to be limited to the tooltips.
unicode
internet-explorer
null
null
null
null
open
How can I get Unicode characters to display properly for the tooltip for the IMG ALT in IE7? === I've got some Japanese in the ALT attribute, but the tooltip is showing me the ugly block characters in the tooltip. The rest of the content on the page renders correctly. So far, it seems to be limited to the tooltips.
0
11,699
08/14/2008 21:04:11
580
08/06/2008 22:30:28
158
20
EFS encryption key pop up
I'm getting notifications to back up my encryption key for EFS in Vista, however i haven't enabled bit locker or drive encryption. Anyone know how to find out what files may be encrypted or have an explanation for why it would notify me?
windows-vista
efs
null
null
null
null
open
EFS encryption key pop up === I'm getting notifications to back up my encryption key for EFS in Vista, however i haven't enabled bit locker or drive encryption. Anyone know how to find out what files may be encrypted or have an explanation for why it would notify me?
0
11,711
08/14/2008 21:18:39
627
08/07/2008 12:03:09
16
3
How to use Scrum and Visual Studio without Team System
I'm interested in possibly using Scrum with my development team (yes, I know it'll be a little painful to transition over to it). However, we don't have Team System and probably can't currently afford to get it immediately. What are some possible tools for getting a team up and running on Scrum in a .NET/Visual Stud...
.net
visual-studio
scrum
agile
visual-studio-team-system
null
open
How to use Scrum and Visual Studio without Team System === I'm interested in possibly using Scrum with my development team (yes, I know it'll be a little painful to transition over to it). However, we don't have Team System and probably can't currently afford to get it immediately. What are some possible tools for ...
0
11,720
08/14/2008 21:32:34
1,341
08/14/2008 15:30:17
83
6
How can I create virtual machines as part of a build process using MSBuild and MS Virtual Server?
What I would like to do is create a clean virtual machine image as the output of a build of an application. So a new virtual machine would be created (from a template is fine, with the OS installed, and some base software installed) --- a new web site would be created in IIS, and the web app build output copied to a...
msbuild
virtualization
microsoft
null
null
null
open
How can I create virtual machines as part of a build process using MSBuild and MS Virtual Server? === What I would like to do is create a clean virtual machine image as the output of a build of an application. So a new virtual machine would be created (from a template is fine, with the OS installed, and some base s...
0
11,724
08/14/2008 21:48:45
459
08/05/2008 21:54:42
21
8
In Visual Studio you must be a member of Debug Users or Administrators to start debugging. What if you are but it doesn't work?
On my machine Visual Studio 2003 2005 and 2008 all complain that I cannot start debugging because I must either be a member of the Debug Users group or of the Administrators group. So, I am an Administrator and I added Debug Users just in case, and it still complains. Short of reformatting my machine and starting ov...
visual-studio
debugging
permissions
null
null
null
open
In Visual Studio you must be a member of Debug Users or Administrators to start debugging. What if you are but it doesn't work? === On my machine Visual Studio 2003 2005 and 2008 all complain that I cannot start debugging because I must either be a member of the Debug Users group or of the Administrators group. So, I ...
0
11,734
08/14/2008 22:29:57
1,254
08/13/2008 22:34:57
11
4
How to intercept and cancel auto play from my application?
I am developing an application to install a large number of data files from multiple DVDs. The application will prompt the user to insert the next disk, however Windows will automatically try to open that disk either in an explorer window or ask the user what to do with the new disk. How can I intercept and cancel au...
windows
disk
null
null
null
null
open
How to intercept and cancel auto play from my application? === I am developing an application to install a large number of data files from multiple DVDs. The application will prompt the user to insert the next disk, however Windows will automatically try to open that disk either in an explorer window or ask the user ...
0
11,737
08/14/2008 22:30:50
1,144
08/12/2008 19:00:54
17
4
.NET Library to unzip ZIP and RAR files
What are good libraries to use Unzip RAR and Zip files in .NET? Do they even exist? Do they cost money or are there also free ones?
.net
null
null
null
null
null
open
.NET Library to unzip ZIP and RAR files === What are good libraries to use Unzip RAR and Zip files in .NET? Do they even exist? Do they cost money or are there also free ones?
0
11,740
08/14/2008 22:32:58
1,336
08/14/2008 15:06:49
61
6
Configurable Table Prefixes with a .Net OR/M?
In a web application like wiki or forums or blogging software, it is often useful to store your data in a relational database. Since many hosting companies offer a single database with their hosting plans (with additional databases costing extra) it is very useful for your users when your database objects (tables, view...
.net
orm
data
table
null
null
open
Configurable Table Prefixes with a .Net OR/M? === In a web application like wiki or forums or blogging software, it is often useful to store your data in a relational database. Since many hosting companies offer a single database with their hosting plans (with additional databases costing extra) it is very useful for ...
0
11,743
08/14/2008 22:37:53
1,378
08/14/2008 22:37:53
1
0
Useful math for programmers
In your experience as a practicioner, what's the most useful math knowledge for a programmer? If "it depends", what's your field of expertise and what do you need there most as far as math is concerned? Can you point to any learning material for a beginner?
math
null
null
null
null
null
open
Useful math for programmers === In your experience as a practicioner, what's the most useful math knowledge for a programmer? If "it depends", what's your field of expertise and what do you need there most as far as math is concerned? Can you point to any learning material for a beginner?
0
11,761
08/14/2008 23:13:32
1,381
08/14/2008 23:13:32
1
0
Persisting data in .NET Web Service memory
I have a web service that queries data from this json file, but i don't want the web service to have to access the file every time. I'm thinking that maybe i can store the data somewhere else (maybe in memory) so the web service can just get the data from there the next time it's trying to query the same data. I kinda ...
.net
webservice
persistence
memory
json
null
open
Persisting data in .NET Web Service memory === I have a web service that queries data from this json file, but i don't want the web service to have to access the file every time. I'm thinking that maybe i can store the data somewhere else (maybe in memory) so the web service can just get the data from there the next ...
0
11,762
08/14/2008 23:14:38
369
08/05/2008 08:33:43
115
15
C# - CryptographicException: Padding is invalid and cannot be removed
I needed some simple string encryption, so I wrote the following code (with a great deal of "inspiration" from [here][1]): // create and initialize a crypto algorithm private static SymmetricAlgorithm getAlgorithm(string password) { SymmetricAlgorithm algorithm = Rijndael.Create(); ...
c#
.net
exception
encryption
null
null
open
C# - CryptographicException: Padding is invalid and cannot be removed === I needed some simple string encryption, so I wrote the following code (with a great deal of "inspiration" from [here][1]): // create and initialize a crypto algorithm private static SymmetricAlgorithm getAlgorithm(string pass...
0
11,764
08/14/2008 23:15:59
1,380
08/14/2008 23:07:58
1
0
Publishing to IIS - Best Practices
I'm not new to web publishing, BUT I am new to publishing against a web site that is frequently used. Previously, the apps on this server were not hit very often, but we're rolling out a high demand application. So, what is the best practice for publishing to a live web server? 1. Is it best to wait until the mid...
iis
publish
null
null
null
null
open
Publishing to IIS - Best Practices === I'm not new to web publishing, BUT I am new to publishing against a web site that is frequently used. Previously, the apps on this server were not hit very often, but we're rolling out a high demand application. So, what is the best practice for publishing to a live web server?...
0
11,767
08/14/2008 23:18:52
234
08/03/2008 20:25:38
1,077
100
Browse for a directory in C#
How can I preset a control to the user that allows them to select a directory? There doesn't seem to be any native .net controls which do this?
c#
.net
null
null
null
null
open
Browse for a directory in C# === How can I preset a control to the user that allows them to select a directory? There doesn't seem to be any native .net controls which do this?
0
11,782
08/14/2008 23:33:01
831
08/09/2008 06:37:00
45
2
File Uploads via Web Services
Is it possible to upload a file from a client's computer to the server through a web service? The client can be running anything from a native desktop app to a thin ajax client.
.net
webservices
upload
null
null
null
open
File Uploads via Web Services === Is it possible to upload a file from a client's computer to the server through a web service? The client can be running anything from a native desktop app to a thin ajax client.
0