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
51,262
09/09/2008 05:42:49
486
08/06/2008 09:19:11
904
57
Find long running query on Informix?
How can you find out what are the long running queries are on Informix database server? I have a query that is using up the CPU and want to find out what the query is.
database
informix
null
null
null
null
open
Find long running query on Informix? === How can you find out what are the long running queries are on Informix database server? I have a query that is using up the CPU and want to find out what the query is.
0
51,264
09/09/2008 05:46:34
4,491
09/04/2008 06:44:23
265
8
What table/view do you query against to select all the table names in a schema in Oracle?
What object do you query against to select all the table names in a schema in Oracle?
sql
oracle
query
null
null
null
open
What table/view do you query against to select all the table names in a schema in Oracle? === What object do you query against to select all the table names in a schema in Oracle?
0
51,266
09/09/2008 05:52:23
826
08/09/2008 05:24:54
396
27
High availability and scalable platform for Java/C++ on Solaris
I have an application that's a mix of Java and C++ on Solaris. The Java aspects of the code run the web UI and establish state on the devices that we're talking to, and the C++ code does the real-time crunching of data coming back from the devices. Shared memory is used to pass device state and context information from...
java
c++
scalability
solaris
high-availability
null
open
High availability and scalable platform for Java/C++ on Solaris === I have an application that's a mix of Java and C++ on Solaris. The Java aspects of the code run the web UI and establish state on the devices that we're talking to, and the C++ code does the real-time crunching of data coming back from the devices. Sh...
0
51,269
09/09/2008 05:55:53
3,834
08/31/2008 06:25:52
21
1
Change Attribute's parameter at runtime
I am not sure whether is it possible to change attribute's parameter during runtime? For example, inside an assembly I have the following class public class UserInfo { [Category("change me!")] public int Age { get; set; } [Cate...
c#
null
null
null
null
null
open
Change Attribute's parameter at runtime === I am not sure whether is it possible to change attribute's parameter during runtime? For example, inside an assembly I have the following class public class UserInfo { [Category("change me!")] public int Age { get...
0
51,271
09/09/2008 05:58:42
4,960
09/07/2008 02:07:20
226
13
What is a good resource for learning XSL?
Recently, I have started to have to read a lot of XSL and XSLT at my job. Some of it makes sense and some of it really doesn't. Here's an exmaple of what does not make sense to me <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output me...
xslt
null
null
null
null
null
open
What is a good resource for learning XSL? === Recently, I have started to have to read a lot of XSL and XSLT at my job. Some of it makes sense and some of it really doesn't. Here's an exmaple of what does not make sense to me <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1...
0
51,276
09/09/2008 06:05:02
5,045
09/07/2008 14:37:29
31
0
Performance gain in compiling java to native code?
Is there any performance to be gained these days from compiling java to native code, or do modern hotspot compilers end up doing this over time anyway?
java
performance
null
null
null
null
open
Performance gain in compiling java to native code? === Is there any performance to be gained these days from compiling java to native code, or do modern hotspot compilers end up doing this over time anyway?
0
51,279
09/09/2008 06:05:57
2,608
08/23/2008 14:39:53
200
10
Strategy for single sign on with legacy applications
I'm wondering what strategies people use for reduced sign on with legacy applications and how effective they have found them? We have an ASP.Net based intranet and own a lot of the legacy applications, but not all. We also have BizTalk and are considering the use of it's SSO engine too.
integration
legacy
singlesignon
null
null
null
open
Strategy for single sign on with legacy applications === I'm wondering what strategies people use for reduced sign on with legacy applications and how effective they have found them? We have an ASP.Net based intranet and own a lot of the legacy applications, but not all. We also have BizTalk and are considering ...
0
51,283
09/09/2008 06:12:10
5,321
09/09/2008 05:40:33
1
1
Access to restricted URI denied" code: "1012
How do you get around this Ajax cross site scripting problem on FireFox 3?
ajax
xss
null
null
null
null
open
Access to restricted URI denied" code: "1012 === How do you get around this Ajax cross site scripting problem on FireFox 3?
0
51,288
09/09/2008 06:19:51
1,915
08/19/2008 14:11:04
214
16
How to keep Stored Procedures and other scripts in SVN/Other repository?
Can anyone provide some real examples as to how best to keep script files for views, stored procedures and functions in a SVN (or other) repository. Obviously one solution is to have the script files for all the different components in a directory or more somewhere and simply using TortoiseSVN or the like to keep th...
sql-server
svn
tortoisesvn
repository
null
null
open
How to keep Stored Procedures and other scripts in SVN/Other repository? === Can anyone provide some real examples as to how best to keep script files for views, stored procedures and functions in a SVN (or other) repository. Obviously one solution is to have the script files for all the different components in a d...
0
51,289
09/09/2008 06:20:44
1,199,387
08/06/2008 23:58:10
377
22
Pass Silverlight type to Microsoft AJAX and pass parameter validation
I'm working on a Silverlight application where I want to take advantage of the Microsoft ASP.NET AJAX Client library. I'm calling the library using the HTML Bridge that is part of Silverlight 2. Silverlight got great support for passing types between JavaScript and Managed Code, but now I've bumped against a problem. ...
javascript
silverlight
htmlbridge
null
null
null
open
Pass Silverlight type to Microsoft AJAX and pass parameter validation === I'm working on a Silverlight application where I want to take advantage of the Microsoft ASP.NET AJAX Client library. I'm calling the library using the HTML Bridge that is part of Silverlight 2. Silverlight got great support for passing types be...
0
51,296
09/09/2008 06:32:42
2,915
08/25/2008 23:15:12
2,308
97
Checking network status or PPP status in a program on linux
So I'm running PPP under linux with a cellular modem. The program I'm writing needs to know if the link is active before sending any data. What are my options for seeing if the link is available, and further testing to see if it routes to the internet? C on Linux (custom distribution). -Adam
c
linux
networking
internet
ppp
null
open
Checking network status or PPP status in a program on linux === So I'm running PPP under linux with a cellular modem. The program I'm writing needs to know if the link is active before sending any data. What are my options for seeing if the link is available, and further testing to see if it routes to the internet...
0
51,320
09/09/2008 07:01:14
2,018
08/19/2008 20:14:45
965
83
Find all drive letters in Java
For a project I'm working on. I need to look for an executable on the filesystem. For UNIX derivatives, I assume the user has the file in the mighty $PATH variable, but there is no such thing on Windows. I can safely assume the file is at most 2 levels deep into the filesystem, but I don't know on what drive it will...
java
windows
null
null
null
null
open
Find all drive letters in Java === For a project I'm working on. I need to look for an executable on the filesystem. For UNIX derivatives, I assume the user has the file in the mighty $PATH variable, but there is no such thing on Windows. I can safely assume the file is at most 2 levels deep into the filesystem, bu...
0
51,338
09/09/2008 07:20:11
2,077
08/20/2008 07:26:21
259
6
How do I implement license management for on-site installation of webapps (preferably cross-platform)?
I have a web application running on a Gentoo-based LAMP stack. My customers buy the software as a service and I host everything. They can export their data if they want. However, there is some demand for on-site deployment inside the clients' own networks. For some of these scenarios, there would be a requirement for s...
licensing
web-application
null
null
null
null
open
How do I implement license management for on-site installation of webapps (preferably cross-platform)? === I have a web application running on a Gentoo-based LAMP stack. My customers buy the software as a service and I host everything. They can export their data if they want. However, there is some demand for on-site ...
0
51,339
09/09/2008 07:20:51
1,904
08/19/2008 11:19:01
156
12
How can you handle an IN sub-query with LINQ to SQL?
I'm a bit stuck on this. Basically I want to do something like the following SQL query in LINQ to SQL: SELECT f.* FROM Foo f WHERE f.FooId IN ( SELECT fb.FooId FROM FooBar fb WHERE fb.BarId = 1000 ) Any help would be gratefully received. Thanks.
sql
linq
linq-to-sql
null
null
null
open
How can you handle an IN sub-query with LINQ to SQL? === I'm a bit stuck on this. Basically I want to do something like the following SQL query in LINQ to SQL: SELECT f.* FROM Foo f WHERE f.FooId IN ( SELECT fb.FooId FROM FooBar fb WHERE fb.BarId = 1000 ) Any help w...
0
51,342
09/09/2008 07:24:12
3,661
08/29/2008 18:16:14
18
1
Implementing user defined display order
i have a list of products that are being displayed in particular order. store admin can reassign the display order, by moving the "hot" items to the top of the list. what's the best was of implementing the admin functionality [asp.net C#]? Products table has a [displayOrder(int)] filed which determines the display orde...
vs2005
c#
asp.net
null
null
null
open
Implementing user defined display order === i have a list of products that are being displayed in particular order. store admin can reassign the display order, by moving the "hot" items to the top of the list. what's the best was of implementing the admin functionality [asp.net C#]? Products table has a [displayOrder(...
0
51,349
09/09/2008 07:27:39
834
08/09/2008 07:29:24
240
14
How do you start Knowledge Transfer?
Do you use a formal event to get people talking in your IT department? Like a **monthly meetup** in a social place, a **internal wiki/chat** space or just a regular "information market" with some **presentations about technology or projects** made by your staff for your staff? Do you invite Sales people to participate ...
knowledge
knowledge-management
null
null
null
07/13/2012 03:23:47
off topic
How do you start Knowledge Transfer? === Do you use a formal event to get people talking in your IT department? Like a **monthly meetup** in a social place, a **internal wiki/chat** space or just a regular "information market" with some **presentations about technology or projects** made by your staff for your staff? ...
2
51,352
09/09/2008 07:33:36
3,847
08/31/2008 11:18:23
16
1
How to show a spinner while loading an image via JavaScript
I'm currently working on a web application which has a page which displays a single chart (a .png image). On another part of this page there are a set of links which, when clicked, the entire page reloads and looks exactly the same as before except for the chart in the middle of the page. What I want to do is when ...
javascript
jquery
dom
null
null
null
open
How to show a spinner while loading an image via JavaScript === I'm currently working on a web application which has a page which displays a single chart (a .png image). On another part of this page there are a set of links which, when clicked, the entire page reloads and looks exactly the same as before except for t...
0
51,363
09/09/2008 07:49:56
1,695
08/18/2008 02:49:06
542
52
How does the Licenses.licx based .Net component licensing model work?
I've encountered multiple third part .Net component-vendors use a licensing scheme. On an evaluation copy, the components show up with a nag-screen or watermark or some such indicator. On a licensed machine, a **Licenses.licx** is created - with what appears to be *just* the assembly full name/identifiers. This file ha...
.net
licensing
null
null
null
null
open
How does the Licenses.licx based .Net component licensing model work? === I've encountered multiple third part .Net component-vendors use a licensing scheme. On an evaluation copy, the components show up with a nag-screen or watermark or some such indicator. On a licensed machine, a **Licenses.licx** is created - with...
0
51,380
09/09/2008 08:19:01
4,728
09/05/2008 11:33:05
1
0
When can DataInputStream.skipBytes(n) not skip n bytes?
The [Sun Documentation for DataInput.skipBytes][1] states that it "makes an attempt to skip over n bytes of data from the input stream, discarding the skipped bytes. However, it may skip over some smaller number of bytes, possibly zero. This may result from any of a number of conditions; reaching end of file before n b...
java
null
null
null
null
null
open
When can DataInputStream.skipBytes(n) not skip n bytes? === The [Sun Documentation for DataInput.skipBytes][1] states that it "makes an attempt to skip over n bytes of data from the input stream, discarding the skipped bytes. However, it may skip over some smaller number of bytes, possibly zero. This may result from a...
0
51,390
09/09/2008 08:30:38
3,561
08/29/2008 05:25:35
259
29
Where did all the java applets go?
When java was young, people were excited about writing applets. They were cool and popular, for a little while. Now, I never see them anymore. Instead we have flash, javascript, and a plethora of other web app-building technologies. Why don't sites use java applets anymore? I'm also curious: historically, why ...
java
history
null
null
null
null
open
Where did all the java applets go? === When java was young, people were excited about writing applets. They were cool and popular, for a little while. Now, I never see them anymore. Instead we have flash, javascript, and a plethora of other web app-building technologies. Why don't sites use java applets anymore?...
0
51,407
09/09/2008 08:45:43
905
08/10/2008 09:37:14
3,933
236
Can you load a .Net form as a control?
I want to load a desktop application, via reflection, as a Control inside another application. The application I'm reflecting is a legacy one - I can't make changes to it. I can dynamically access the Form, but can't load it as a Control. In .Net Form expands on Control, and I can assign the reflected Form as ...
.net
winforms
null
null
null
null
open
Can you load a .Net form as a control? === I want to load a desktop application, via reflection, as a Control inside another application. The application I'm reflecting is a legacy one - I can't make changes to it. I can dynamically access the Form, but can't load it as a Control. In .Net Form expands on Cont...
0
51,412
09/09/2008 08:46:51
3,355
08/28/2008 07:36:57
306
14
Passing on named variable arguments in python
Say I have the following 2 methods: def methodA(arg, **kwargs): pass def methodB(arg, *args, **kwargs): pass In methodA I wish to call methodB, passing on the kwargs. However, it seems if I simply do: def methodA(arg, **kwargs): methodB("argvalue", kwargs) The secon...
python
varargs
null
null
null
null
open
Passing on named variable arguments in python === Say I have the following 2 methods: def methodA(arg, **kwargs): pass def methodB(arg, *args, **kwargs): pass In methodA I wish to call methodB, passing on the kwargs. However, it seems if I simply do: def methodA(arg, **kwargs)...
0
51,420
09/09/2008 08:56:23
4,187
09/02/2008 09:12:42
11
1
How to get the base 10 logarithm of a Fixnum in Ruby?
I want to get the base 10 logarithm of a Fixnum using Ruby, but found that n.log or n.log10 are not defined. Math::log is defined but uses a different base than 10. What is the easiest way to get the base 10 logarithm of a Fixnum?
ruby
math
logarithm
null
null
null
open
How to get the base 10 logarithm of a Fixnum in Ruby? === I want to get the base 10 logarithm of a Fixnum using Ruby, but found that n.log or n.log10 are not defined. Math::log is defined but uses a different base than 10. What is the easiest way to get the base 10 logarithm of a Fixnum?
0
51,435
09/09/2008 09:08:54
5,330
09/09/2008 07:44:06
11
1
Windows version of the Unix touch command
I'm looking for a Windows port of the UNIX touch command. I don't want to install an entire MKS toolkit just for the one tool. Is there a native port available somewhere or a command in Windows that does the same thing and supports features like all files in a directory by wildcard? Specifically I'm after changing m...
untagged
null
null
null
null
null
open
Windows version of the Unix touch command === I'm looking for a Windows port of the UNIX touch command. I don't want to install an entire MKS toolkit just for the one tool. Is there a native port available somewhere or a command in Windows that does the same thing and supports features like all files in a directory by...
0
51,436
09/09/2008 09:08:55
3,146
08/27/2008 00:25:15
794
38
How to host licensed .Net controls in unmanaged C++ app?
I need to host and run managed controls inside of a purely unmanaged C++ app. How to do this? To run unlicensed controls is typically simple: if (SUCCEEDED(ClrCreateManagedInstance(type, iid, &obj))) { // do something with obj } When using a licensed control however, we need to somehow e...
.net
c++
licensing
unmanaged
null
null
open
How to host licensed .Net controls in unmanaged C++ app? === I need to host and run managed controls inside of a purely unmanaged C++ app. How to do this? To run unlicensed controls is typically simple: if (SUCCEEDED(ClrCreateManagedInstance(type, iid, &obj))) { // do something with obj } ...
0
51,438
09/09/2008 09:11:06
1,900
08/19/2008 09:38:19
86
8
Getting A File's Mime Type In Java
I was just wondering how most people fetch a mime type from a file in Java? So far I've tried two utils: JMimeMagic & Mime-Util. The first gave me memory exceptions, the second doesn't close its streams off properly. I was just wondering if anyone else had a method/library that they used and worked correctly?
java
mime
null
null
null
null
open
Getting A File's Mime Type In Java === I was just wondering how most people fetch a mime type from a file in Java? So far I've tried two utils: JMimeMagic & Mime-Util. The first gave me memory exceptions, the second doesn't close its streams off properly. I was just wondering if anyone else had a method/library tha...
0
51,464
09/09/2008 09:33:55
1,695
08/18/2008 02:49:06
572
54
How do you show events in UML Class Diagrams?
This one has me stumped regularly while creating top level class diagrams for documentation. Methods and attributes/fields are easy to model. I usually end up adding a method named EvChanged to indicate a .Net event Changed. What is the right way to show that a type publishes a specific event?
uml
visio
null
null
null
null
open
How do you show events in UML Class Diagrams? === This one has me stumped regularly while creating top level class diagrams for documentation. Methods and attributes/fields are easy to model. I usually end up adding a method named EvChanged to indicate a .Net event Changed. What is the right way to show that a ty...
0
51,470
09/09/2008 09:36:39
917
08/10/2008 12:11:24
41
4
How do I reset a sequence in Oracle?
In postgresql I can do something like this: ALTER SEQUENCE serial RESTART WITH 0; Is there a oracle equivalent?
database
oracle
null
null
null
null
open
How do I reset a sequence in Oracle? === In postgresql I can do something like this: ALTER SEQUENCE serial RESTART WITH 0; Is there a oracle equivalent?
0
51,475
09/09/2008 09:41:14
5,049
09/07/2008 15:03:23
11
2
Polygon fill modes in GDI and GDI+
The system default polygon fill mode in current device context is `ALTERNATE` (as I've learned from the Petzold book on Windows programming) and this one is used in [`Polygon`][1] Win32 function unless you change the mode with [`SetPolyFillMode`][2]. **My question is**: Does the GDI+ [`Graphics::FillPolygon`][3] (w...
winapi
gdi+
gdi
null
null
null
open
Polygon fill modes in GDI and GDI+ === The system default polygon fill mode in current device context is `ALTERNATE` (as I've learned from the Petzold book on Windows programming) and this one is used in [`Polygon`][1] Win32 function unless you change the mode with [`SetPolyFillMode`][2]. **My question is**: Does ...
0
51,499
09/09/2008 10:01:06
4,406
09/03/2008 14:38:45
92
16
Any good automated frameworks for applying coding standards?
One I am aware of is [Perl::Critic](http://search.cpan.org/dist/Perl-Critic/) And my googling has resulted in no results on multiple attempts so far. :-( Does anyone have any recommendations here? Any resources to getting Perl::Critic up and running would be appreciated too.
perl
coding-style
framework
null
null
null
open
Any good automated frameworks for applying coding standards? === One I am aware of is [Perl::Critic](http://search.cpan.org/dist/Perl-Critic/) And my googling has resulted in no results on multiple attempts so far. :-( Does anyone have any recommendations here? Any resources to getting Perl::Critic up and run...
0
51,500
09/09/2008 10:03:27
2,974
08/26/2008 09:39:16
685
54
Bad Smells When Reviewing Code Affects Approach?
G'day, I was thinking about a comment from [Kristopher Johnson][1] about my answer to this [question][2] regarding Software Development Quality. I'd posted a list of software quality metrics that I could think of off the top of my head that included: 1. McCabe Cyclometric Complexity - basically a measure of...
quality
testing
design
null
null
null
open
Bad Smells When Reviewing Code Affects Approach? === G'day, I was thinking about a comment from [Kristopher Johnson][1] about my answer to this [question][2] regarding Software Development Quality. I'd posted a list of software quality metrics that I could think of off the top of my head that included: 1. ...
0
51,501
09/09/2008 10:04:03
1,068
08/12/2008 08:44:09
48
6
gdb linux arm
I have a ARM11 based hardware board which runs a Linux kernel ver. 2.6.21.5-cfs-v19. I have my application running on this ARM-LINUX board. To do sourlce level debugging, of my application i used to use gdb from command prompt of the linux board, that was with some earlier version of the board linux version. With t...
linux
gdb
arm
null
null
null
open
gdb linux arm === I have a ARM11 based hardware board which runs a Linux kernel ver. 2.6.21.5-cfs-v19. I have my application running on this ARM-LINUX board. To do sourlce level debugging, of my application i used to use gdb from command prompt of the linux board, that was with some earlier version of the board linux ...
0
51,502
09/09/2008 10:05:36
5,342
09/09/2008 09:55:09
1
0
Improving Python readability?
I've been really enjoying Python programming lately. I come from a background of a strong love for C-based coding, where everything is perhaps more complicated than it should be (but puts hair on your chest, at least). So switching from C to Python for more complex things that don't require tons of speed has been more ...
python
readability
null
null
null
null
open
Improving Python readability? === I've been really enjoying Python programming lately. I come from a background of a strong love for C-based coding, where everything is perhaps more complicated than it should be (but puts hair on your chest, at least). So switching from C to Python for more complex things that don't r...
0
51,519
09/09/2008 10:18:13
5,350
09/09/2008 10:15:37
1
0
How to make only certain parts of a site beta?
Most sites are either fully released, or in beta. But what happens if you have a large site, and some of the parts are still in Beta, and other parts aren't. How do you effectively communicate this to the customer?
beta
null
null
null
null
null
open
How to make only certain parts of a site beta? === Most sites are either fully released, or in beta. But what happens if you have a large site, and some of the parts are still in Beta, and other parts aren't. How do you effectively communicate this to the customer?
0
51,520
09/09/2008 10:19:32
974
08/11/2008 09:02:40
282
26
How to get an absolute file name in Python?
Given a path such as "mydir/myfile.txt" How do I find the absolute filename relative to the current working directory in Python? E.g. on Windows, I might end up with: "C:/example/cwd/mydir/myfile.txt"
python
file
path
null
null
null
open
How to get an absolute file name in Python? === Given a path such as "mydir/myfile.txt" How do I find the absolute filename relative to the current working directory in Python? E.g. on Windows, I might end up with: "C:/example/cwd/mydir/myfile.txt"
0
51,526
09/09/2008 10:23:29
3,989
09/01/2008 07:48:44
1
0
Changing the value of an element in a list of structs
I have a list of structs and I want to change one element. For example : MyList.Add(new MyStruct("john"); MyList.Add(new MyStruct("peter"); Now I want to change one element: MyList[1].Name = "bob" However, whenever I try and do this I get the following error: *Cannot modify the return value ...
c#
null
null
null
null
null
open
Changing the value of an element in a list of structs === I have a list of structs and I want to change one element. For example : MyList.Add(new MyStruct("john"); MyList.Add(new MyStruct("peter"); Now I want to change one element: MyList[1].Name = "bob" However, whenever I try and do this I g...
0
51,528
09/09/2008 10:23:55
5,352
09/09/2008 10:19:52
1
0
Saving emails
If you have a site which sends out emails to the customer, and you want to save a copy of the mail, what is an effective strategy? If you save it to a table in your database (eg create a table called Mail), it gets very large very quickly. Some strategies I've seen are: 1. Save it to the file system 2. Run a ...
email-integration
null
null
null
null
null
open
Saving emails === If you have a site which sends out emails to the customer, and you want to save a copy of the mail, what is an effective strategy? If you save it to a table in your database (eg create a table called Mail), it gets very large very quickly. Some strategies I've seen are: 1. Save it to the fil...
0
51,530
09/09/2008 10:24:44
1,709
08/18/2008 07:05:30
776
70
How do you treat legacy code (and data)?
I am currently in the process of restructuring my local Subversion repository by adding some new projects and merging legacy code and data from a couple of older repositories into it. When I have done this in the past I have usually put the legacy code in a dedicated "legacy" folder, as not to "disturb" the new and...
svn
version-control
legacy
project-management
null
null
open
How do you treat legacy code (and data)? === I am currently in the process of restructuring my local Subversion repository by adding some new projects and merging legacy code and data from a couple of older repositories into it. When I have done this in the past I have usually put the legacy code in a dedicated "l...
0
51,548
09/09/2008 10:32:18
342
08/04/2008 19:59:52
749
76
Finding unused files in a project
We are migrating our works repository so I want to do a cull of all the unreferenced files that exist in the source tree before moving it into the nice fresh (empty) repository. So far I have gone through by hand and found all the unreferenced files that I know about but I want to find out if I have caught them all....
c++
file
version-control
null
null
null
open
Finding unused files in a project === We are migrating our works repository so I want to do a cull of all the unreferenced files that exist in the source tree before moving it into the nice fresh (empty) repository. So far I have gone through by hand and found all the unreferenced files that I know about but I want...
0
51,553
09/09/2008 10:33:39
5,357
09/09/2008 10:33:23
1
0
Why are SQL aggregate functions so much slower than Python and Java (or Poor Man's OLAP)
I need a real DBA's opinion here: Using Postgres 8.3 I've built a table with 350,000 rows (responses to a survey): CREATE TABLE tuples (id integer primary key, a integer, b integer, c integer, d integer); \copy tuples from 'responses.csv' delimiter as ',' On my Macbook Pro it takes about 200 ms to e...
sql
optimization
aggregate
olap
python
null
open
Why are SQL aggregate functions so much slower than Python and Java (or Poor Man's OLAP) === I need a real DBA's opinion here: Using Postgres 8.3 I've built a table with 350,000 rows (responses to a survey): CREATE TABLE tuples (id integer primary key, a integer, b integer, c integer, d integer); \cop...
0
51,561
09/09/2008 10:38:25
988
08/11/2008 12:14:35
86
10
How do I automate finding unused #include directives?
Typically when writing new code you discover that you are missing a #include because the file doesn't compile. Simple enough, you add the required #include. But later you refactor the code somehow and now a couple of #include directives are no longer needed. How do I discover which ones are no longer needed? Of cou...
c
null
null
null
null
null
open
How do I automate finding unused #include directives? === Typically when writing new code you discover that you are missing a #include because the file doesn't compile. Simple enough, you add the required #include. But later you refactor the code somehow and now a couple of #include directives are no longer needed. Ho...
0
51,564
09/09/2008 10:40:03
1,360
08/14/2008 18:11:31
70
14
JavaScript culture sensitive currency formatting
How can i format currency related data in a manner that is culture aware in JavaScript?
javascript
culture
currency
null
null
null
open
JavaScript culture sensitive currency formatting === How can i format currency related data in a manner that is culture aware in JavaScript?
0
51,574
09/09/2008 10:47:34
5,346
09/09/2008 10:01:45
11
4
Good Java graph algorithm library?
Has anyone had good experiences with any Java libraries for Graph algorithms. I've tried [JGraph][1] and found it ok, and there are a lot of different ones in google. Are there any that people are actually using successfully in production code or would recommend? [1]: http://www.jgraph.com
java
algorithm
graphing
null
null
10/02/2011 13:58:42
not constructive
Good Java graph algorithm library? === Has anyone had good experiences with any Java libraries for Graph algorithms. I've tried [JGraph][1] and found it ok, and there are a lot of different ones in google. Are there any that people are actually using successfully in production code or would recommend? [1]: http...
4
51,582
09/09/2008 10:54:10
1,666
08/17/2008 21:07:18
916
56
Java Generics: Comparing the class of Object o to <E>
Let's say I have the following class: public class Test<E> { public boolean sameClassAs(Object o) { // TODO halp! } } How would I check that `o` is the same class as `E`? Test<String> test = new Test<String>(); test.sameClassAs("a string"); // returns true; test.sameCl...
java
generics
null
null
null
null
open
Java Generics: Comparing the class of Object o to <E> === Let's say I have the following class: public class Test<E> { public boolean sameClassAs(Object o) { // TODO halp! } } How would I check that `o` is the same class as `E`? Test<String> test = new Test<String>(); test...
0
51,584
09/09/2008 10:55:04
834
08/09/2008 07:29:24
289
14
Twitter for work updates
If you are sending work/progress reports to the project lead on a daily or weekly basis, I wondered if you would consider using [Twitter][1] or similar services for this updates. Say if you're working remotly or with a distributed team and the project lead has a hard time getting an overview about the topics people ...
project-management
project-planning
knowledge
knowledge-management
null
null
open
Twitter for work updates === If you are sending work/progress reports to the project lead on a daily or weekly basis, I wondered if you would consider using [Twitter][1] or similar services for this updates. Say if you're working remotly or with a distributed team and the project lead has a hard time getting an ove...
0
51,586
09/09/2008 10:56:45
2,597
08/23/2008 13:07:07
149
9
Accessing non-generic members of a generic object
Is there a way to collect (e.g. in a List) multiple 'generic' objects that don't share a common super class? If so, how can I access their common properties? For example: class MyObject<T> { public T Value { get; set; } public string Name { get; set; } public MyObject(string nam...
c#
.net
generics
null
null
null
open
Accessing non-generic members of a generic object === Is there a way to collect (e.g. in a List) multiple 'generic' objects that don't share a common super class? If so, how can I access their common properties? For example: class MyObject<T> { public T Value { get; set; } public string ...
0
51,589
09/09/2008 10:58:57
230
08/03/2008 19:32:46
559
34
Integration Services: Multiple-step OLE DB operation generated errors
I'm attempting to make a DTS package to transfer data between two databases on the same server and I'm getting the following errors. Iv read that the Multiple-step OLE DB operation generated error can occur when you are transferring between different database types and there is loss of precision, but this is not that c...
sql-server
ssis
null
null
null
null
open
Integration Services: Multiple-step OLE DB operation generated errors === I'm attempting to make a DTS package to transfer data between two databases on the same server and I'm getting the following errors. Iv read that the Multiple-step OLE DB operation generated error can occur when you are transferring between diff...
0
51,592
09/09/2008 10:59:38
1,721
08/18/2008 09:58:47
106
12
Is there a need to destroy char * = "string" or char * = new char[6]
I assume when I do **char* = "string"** its the same thing as **char* = new char[6]**. I believe these strings are created on the heap instead of the stack. So do I need to destroy them or free their memory when I'm done using them or do they get destroyed by themselves.
c++
c
memory
null
null
null
open
Is there a need to destroy char * = "string" or char * = new char[6] === I assume when I do **char* = "string"** its the same thing as **char* = new char[6]**. I believe these strings are created on the heap instead of the stack. So do I need to destroy them or free their memory when I'm done using them or do they get...
0
51,593
09/09/2008 10:59:41
279
08/04/2008 11:30:57
523
49
Apache XML-RPC Exception Handling
What is the easiest way to extract the original exception from an exception returned via Apache's implementation of XML-RPC?
exception
xml-rpc
null
null
null
null
open
Apache XML-RPC Exception Handling === What is the easiest way to extract the original exception from an exception returned via Apache's implementation of XML-RPC?
0
51,619
09/09/2008 11:11:45
2,313
08/21/2008 15:27:23
163
18
How to setup GIT bare HTTP-available repository on IIS-machine
server already runs IIS to serve 80 and 443 port over TCP. I want to make centralized "push/pull" GIT repository available to all my team members over the Internet. So I should use HTTP or HTTPS. But I cannot use Apache because of IIS already hooking up listening sockets on 80 and 443 ports! Is there any way to...
version-control
git
iis7
dvcs
null
null
open
How to setup GIT bare HTTP-available repository on IIS-machine === server already runs IIS to serve 80 and 443 port over TCP. I want to make centralized "push/pull" GIT repository available to all my team members over the Internet. So I should use HTTP or HTTPS. But I cannot use Apache because of IIS already h...
0
51,624
09/09/2008 11:16:47
5,023
09/07/2008 12:27:27
18
8
Designers and developers working together
The rich presentational capabilities of WPF and Silverlight mean developers like me will be working closely with graphic designers more often these days, as is the case in my next project. Does anyone out there have any tips/experience (from both points of view) on making this go more smoothly? For example when I...
wpf
design
silverlight
null
null
null
open
Designers and developers working together === The rich presentational capabilities of WPF and Silverlight mean developers like me will be working closely with graphic designers more often these days, as is the case in my next project. Does anyone out there have any tips/experience (from both points of view) on ma...
0
51,645
09/09/2008 11:28:30
5,019
09/07/2008 11:51:36
21
2
How to discover USB storage devices and writable CD/DVD drives (C#)
How can I discover any USB storage devices and/or CD/DVD writers available at a given time (using C# .Net2.0). I would like to present users with a choice of devices onto which a file can be stored for physically removal - i.e. not the hard drive.
c#
.net-2.0
null
null
null
null
open
How to discover USB storage devices and writable CD/DVD drives (C#) === How can I discover any USB storage devices and/or CD/DVD writers available at a given time (using C# .Net2.0). I would like to present users with a choice of devices onto which a file can be stored for physically removal - i.e. not the hard dri...
0
51,649
09/09/2008 11:31:03
572
08/06/2008 20:56:54
3,196
247
How does off-the-shelf software fit in with agile development?
Maybe my understanding of agile development isn't as good as it should be, but I'm curious how an agile developer would potentially use off-the-shelf (OTS) software when the requirements and knowledge of what the final system should be are changing as rapidly as I understand them to (often after each iteration of devel...
agile
off-the-shelf-software
null
null
null
null
open
How does off-the-shelf software fit in with agile development? === Maybe my understanding of agile development isn't as good as it should be, but I'm curious how an agile developer would potentially use off-the-shelf (OTS) software when the requirements and knowledge of what the final system should be are changing as ...
0
51,653
09/09/2008 11:34:07
3,221
08/27/2008 13:35:07
39
5
What to do with queries who don´t have a representation in a domain model?
This is not specific to any language, it´s just about best practices. I am using JPA/Hibernate (but it could be any other ORM solution) and I would like to know how do you guys deal with this situation: Let´s supose that you have a query returning something that is not represented by any of your domain classes. Do yo...
orm
null
null
null
null
null
open
What to do with queries who don´t have a representation in a domain model? === This is not specific to any language, it´s just about best practices. I am using JPA/Hibernate (but it could be any other ORM solution) and I would like to know how do you guys deal with this situation: Let´s supose that you have a query r...
0
51,654
09/09/2008 11:34:07
4,723
09/05/2008 11:19:37
81
11
(N)Hibernate - is it possible to dynamically map multiple tables to the one class
I have the situation where i use GIS software which stores the information about GIS objects into separate database table for each type/class of GIS object (road, river, building, sea, ...) and keeps the metadata table in which it stores info about the class name and its DB table. Those GIS objects of different clas...
c#
nhibernate
orm
hibernate
gis
null
open
(N)Hibernate - is it possible to dynamically map multiple tables to the one class === I have the situation where i use GIS software which stores the information about GIS objects into separate database table for each type/class of GIS object (road, river, building, sea, ...) and keeps the metadata table in which it st...
0
51,660
09/09/2008 11:38:54
123
08/02/2008 08:01:26
1,179
57
Metamodelling tools..
What tools are available for metamodelling? Especially for developing diagram editors, at the moment trying out [Eclipse GMF][1] Wondering what other options are out there? Any comparison available? [1]: http://www.eclipse.org/modeling/gmf/
model-driven
tool
diagram-editor
null
null
null
open
Metamodelling tools.. === What tools are available for metamodelling? Especially for developing diagram editors, at the moment trying out [Eclipse GMF][1] Wondering what other options are out there? Any comparison available? [1]: http://www.eclipse.org/modeling/gmf/
0
51,667
09/09/2008 11:41:38
5,109
09/07/2008 22:37:24
11
2
Where can I find a good template/example for doucmenting C files using doxygen?
My team is starting to document our C API headers using doxygen. There appears to be a lot of flexibility and different special commands in doxygen, which is great, but it's not clear where to get started. I am looking to create an example file for the rest of the team to reference, so far I have something like: ...
c
documentation
doxygen
null
null
null
open
Where can I find a good template/example for doucmenting C files using doxygen? === My team is starting to document our C API headers using doxygen. There appears to be a lot of flexibility and different special commands in doxygen, which is great, but it's not clear where to get started. I am looking to create an e...
0
51,673
09/09/2008 11:46:10
5,374
09/09/2008 11:29:39
21
1
What is th easiest way to copy a database from one Informix IDS 11 Server to another
The source database is quite large. The target database, doesn't grow automatically. They are on different machines. I'm coming from a MSSql, MySQl background and IDS11 seems overly complex (I am sure, with good reason)
migration
administration
informix
null
null
null
open
What is th easiest way to copy a database from one Informix IDS 11 Server to another === The source database is quite large. The target database, doesn't grow automatically. They are on different machines. I'm coming from a MSSql, MySQl background and IDS11 seems overly complex (I am sure, with good reason)
0
51,680
09/09/2008 11:48:24
2,902
08/25/2008 20:49:25
654
39
Graph (Chart) Algorithm
Does anyone have a decent algorithm for calculating axis minima and maxima? When creating a chart for a given set of data items, I'd like to be able to give the algorithm: - the maximum (y) value in the set - the minimum (y) value in the set - the number of tick marks to appear on the axis - an optional v...
algorithm
graph
charts
null
null
null
open
Graph (Chart) Algorithm === Does anyone have a decent algorithm for calculating axis minima and maxima? When creating a chart for a given set of data items, I'd like to be able to give the algorithm: - the maximum (y) value in the set - the minimum (y) value in the set - the number of tick marks to appear ...
0
51,684
09/09/2008 11:52:04
5,023
09/07/2008 12:27:27
38
8
Name of the process with highest cpu usage
I have a [Samurize](http://www.samurize.com/modules/news/) config that shows a CPU usage graph similar to Task manager. How do I also display the name of the process with the current highest CPU usage percentage? I would like this to be updated, at most, once per second. Samurize can call a command line tool...
performance
operating-system
null
null
null
null
open
Name of the process with highest cpu usage === I have a [Samurize](http://www.samurize.com/modules/news/) config that shows a CPU usage graph similar to Task manager. How do I also display the name of the process with the current highest CPU usage percentage? I would like this to be updated, at most, once pe...
0
51,686
09/09/2008 11:53:07
5,362
09/09/2008 10:53:45
1
0
Is it possible to deploy a native Delphi application with ClickOnce
Is it possible to deploy a native Delphi application with ClickOnce without a stub C# exe that would be used to launch the Delphi application?
deployment
delphi
clickonce
null
null
null
open
Is it possible to deploy a native Delphi application with ClickOnce === Is it possible to deploy a native Delphi application with ClickOnce without a stub C# exe that would be used to launch the Delphi application?
0
51,687
09/09/2008 11:53:23
379
08/05/2008 10:03:38
136
15
Lightbox style dialogs in MFC App
Has anyone implemented Lightbox style background dimming on a modal dialog box in a MFC/non .net app. I think the procedure would have to be something like: steps: 1. Get dialog parent HWND or CWnd* 2. Get the rect of the parent window and draw an overlay with a translucency over that window 3. a...
c++
gui
mfc
null
null
null
open
Lightbox style dialogs in MFC App === Has anyone implemented Lightbox style background dimming on a modal dialog box in a MFC/non .net app. I think the procedure would have to be something like: steps: 1. Get dialog parent HWND or CWnd* 2. Get the rect of the parent window and draw an overlay with a...
0
51,690
09/09/2008 11:58:31
5,383
09/09/2008 11:58:30
1
0
Vista BEX error
Recently I got IE7 crashed on Vista on jar loading (presumably) with the following error: Problem signature: Problem Event Name: BEX Application Name: iexplore.exe Application Version: 7.0.6001.18000 Application Timestamp: 47918f11 Fault Module Name: ...
winapi
windows-vista
null
null
null
null
open
Vista BEX error === Recently I got IE7 crashed on Vista on jar loading (presumably) with the following error: Problem signature: Problem Event Name: BEX Application Name: iexplore.exe Application Version: 7.0.6001.18000 Application Timestamp: 47918f11 ...
0
51,700
09/09/2008 12:10:27
5,363
09/09/2008 10:58:29
46
1
Property default values using Properties.Settings.Default
I am using .Net 2 and the normal way to store my settings. I store my custom object serialized to xml. I am trying to retrieve the default value of the property (but without reseting other properties). I use: ValuationInput valuationInput = (ValuationInput) Settings.Default.Properties["ValuationInput"].DefaultVa...
c#
.net
settings
null
null
null
open
Property default values using Properties.Settings.Default === I am using .Net 2 and the normal way to store my settings. I store my custom object serialized to xml. I am trying to retrieve the default value of the property (but without reseting other properties). I use: ValuationInput valuationInput = (Valuatio...
0
51,701
09/09/2008 12:10:44
393,028
09/01/2008 13:58:49
30
8
Mail Message Link Handling
I've written an Applescript which when supplied with a Windows network link, will convert it to the correct smb:// equivelent for the server in our office, mount the network drive, and open the requested folder in Finder. I have this built in an application which just takes a pasted network path. Ideally I need this...
osx
applescript
null
null
null
null
open
Mail Message Link Handling === I've written an Applescript which when supplied with a Windows network link, will convert it to the correct smb:// equivelent for the server in our office, mount the network drive, and open the requested folder in Finder. I have this built in an application which just takes a pasted n...
0
51,729
09/09/2008 12:26:36
123
08/02/2008 08:01:26
1,204
58
Copyright question - Dictionary Application..
I am wondering about what kind of copyright issues should one be aware of, when developing a dictionary application. There are plenty of sources where you can "collect" words from internet. But what precautions should be used before using them? Cheers
copyright
null
null
null
null
null
open
Copyright question - Dictionary Application.. === I am wondering about what kind of copyright issues should one be aware of, when developing a dictionary application. There are plenty of sources where you can "collect" words from internet. But what precautions should be used before using them? Cheers
0
51,741
09/09/2008 12:30:32
4,660
09/05/2008 02:23:19
96
1
Issue reading Xml file into C# DataSet
I was given an .xml file that I needed to read into my code as a DataSet (as background, the file was created by creating a DataSet in C# and calling dataSet.WriteXml(file, XmlWriteMode.IgnoreSchema), but this was done by someone else). The .xml file was shaped like this: <?xml version="1.0" standalone="yes"?> ...
c#
.net
xml
.net-2.0
null
null
open
Issue reading Xml file into C# DataSet === I was given an .xml file that I needed to read into my code as a DataSet (as background, the file was created by creating a DataSet in C# and calling dataSet.WriteXml(file, XmlWriteMode.IgnoreSchema), but this was done by someone else). The .xml file was shaped like this: ...
0
51,751
09/09/2008 12:35:35
5,389
09/09/2008 12:09:19
1
0
HTTP Errors with .Net 3.5 SP1
I have a ASP.Net website that is failing on AJAX postbacks (both with ASP.Net AJAX and a 3rd part control) in IE. FireFox works fine. If I install the website on another machine without .Net 3.5 SP1, it works as expected. When it fails, Fiddler shows that I'm getting a 405 "Method Not Allowed". The form seems t...
asp.net
.net3.5
sp1
null
null
null
open
HTTP Errors with .Net 3.5 SP1 === I have a ASP.Net website that is failing on AJAX postbacks (both with ASP.Net AJAX and a 3rd part control) in IE. FireFox works fine. If I install the website on another machine without .Net 3.5 SP1, it works as expected. When it fails, Fiddler shows that I'm getting a 405 "Met...
0
51,754
09/09/2008 12:36:49
4,232
09/02/2008 13:22:20
1
1
SpecialCells in VSTO
I'm trying to use the SpecialCells method in a VSTO project using c# against the 3.5 framework and Excel2007. Here's my code: Excel.Worksheet myWs = (Excel.Worksheet)ModelWb.Worksheets[1]; Range myRange = myWs.get_Range("A7", "A800"); //Range rAccounts = myRange.SpecialCells(XlCellType.x...
vsto
null
null
null
null
null
open
SpecialCells in VSTO === I'm trying to use the SpecialCells method in a VSTO project using c# against the 3.5 framework and Excel2007. Here's my code: Excel.Worksheet myWs = (Excel.Worksheet)ModelWb.Worksheets[1]; Range myRange = myWs.get_Range("A7", "A800"); //Range rAccounts = myRange...
0
51,768
09/09/2008 12:45:34
267
08/04/2008 10:11:06
3,352
172
Print stack trace information from C#
As part of some error handling in our product, we'd like to dump some stack trace information. However, we experience that many users will simply take a screenshot of the error message dialog instead of sending us a copy of the full report available from the program, and thus I'd like to make some minimal stack trace i...
c#
parsing
stack-trace
errorhandling
null
null
open
Print stack trace information from C# === As part of some error handling in our product, we'd like to dump some stack trace information. However, we experience that many users will simply take a screenshot of the error message dialog instead of sending us a copy of the full report available from the program, and thus ...
0
51,771
09/09/2008 12:46:21
1,736
08/18/2008 11:29:16
173
10
The best way to validate XML in a unit test?
I have a class with a `ToString` method that produces XML. I want to unit test it to ensure it is producing valid xml. I have a DTD to validate the XML against. **Should I include the DTD as a string within the unit test to avoid a dependency** on it, or is there a smarter way to do this?
language-agnostic
xml
unit-testing
dtd
null
null
open
The best way to validate XML in a unit test? === I have a class with a `ToString` method that produces XML. I want to unit test it to ensure it is producing valid xml. I have a DTD to validate the XML against. **Should I include the DTD as a string within the unit test to avoid a dependency** on it, or is there a ...
0
51,782
09/09/2008 12:53:47
2,260
08/21/2008 11:39:22
544
59
How do I export the code documentation in C# / VisualStudio 2008?
I have allways made a point of writing nice code comments for classes and methods with the C# xml syntax. I allways expected to easily be able to export them later on. Today I actually have to do so, but am having trouble finding out how. Is there something I'm missing? I want to go *Menu->Build->Build Code Document...
c#
vs2008
documentation
null
null
null
open
How do I export the code documentation in C# / VisualStudio 2008? === I have allways made a point of writing nice code comments for classes and methods with the C# xml syntax. I allways expected to easily be able to export them later on. Today I actually have to do so, but am having trouble finding out how. Is ther...
0
51,783
09/09/2008 12:54:05
1,428
08/15/2008 15:27:39
325
14
How to serialize a graph structure?
Flat files and relational databases give us a mechanism to serialize structured data. XML is superb for serializing un-structured tree-like data. But many problems are best represented by graphs. A thermal simulation program will, for instance, work with temperature nodes connected to each others through resistive e...
serialization
graph
null
null
null
null
open
How to serialize a graph structure? === Flat files and relational databases give us a mechanism to serialize structured data. XML is superb for serializing un-structured tree-like data. But many problems are best represented by graphs. A thermal simulation program will, for instance, work with temperature nodes con...
0
51,786
09/09/2008 12:56:05
1,772
08/18/2008 14:05:29
210
15
Eclipse plugins for diagram generation from code
Are there eclipse plugins that you can recommend for generating diagrams (UML, sequence) from code?
eclipse
plugins
uml
diagram
null
null
open
Eclipse plugins for diagram generation from code === Are there eclipse plugins that you can recommend for generating diagrams (UML, sequence) from code?
0
51,793
09/09/2008 12:58:22
1,219
08/13/2008 13:44:47
2,357
133
How can you set the SMTP envelope MAIL FROM using System.Net.Mail?
When you send an email using C# and the System.Net.Mail namespace, you can set the "From" and "Sender" properties on the MailMessage object, but neither of these allows you to make the MAIL FROM and the from address that goes into the DATA section different from each other. MAIL FROM gets set to the "From" property va...
c#
.net
smtp
null
null
null
open
How can you set the SMTP envelope MAIL FROM using System.Net.Mail? === When you send an email using C# and the System.Net.Mail namespace, you can set the "From" and "Sender" properties on the MailMessage object, but neither of these allows you to make the MAIL FROM and the from address that goes into the DATA section ...
0
51,827
09/09/2008 13:08:30
5,197
09/08/2008 12:42:51
1
1
Is there a standard approach to generating sql dynamically?
I want to ask how other programmers are producing Dynamic SQL strings for execution as the CommandText of a SQLCommand object. I am producing parameterised queries containing user generated "WHERE" clauses and SELECT fields. Sometimes the queries are complex and I need a lot of control over how the different parts a...
dynamic
sql
.net
null
null
null
open
Is there a standard approach to generating sql dynamically? === I want to ask how other programmers are producing Dynamic SQL strings for execution as the CommandText of a SQLCommand object. I am producing parameterised queries containing user generated "WHERE" clauses and SELECT fields. Sometimes the queries are c...
0
51,837
09/09/2008 13:12:31
730
08/08/2008 12:40:04
160
30
Open one of a series of files using a batch file
I have up to 4 files based on this structure (note the prefixes are dates) - 0830filename.txt - 0907filename.txt - 0914filename.txt - 0921filename.txt I want to open the the most recent one (0921filename.txt). how can i do this in a batch file? Thanks.
command-line
batch
ms-dos
cmd.exe
null
null
open
Open one of a series of files using a batch file === I have up to 4 files based on this structure (note the prefixes are dates) - 0830filename.txt - 0907filename.txt - 0914filename.txt - 0921filename.txt I want to open the the most recent one (0921filename.txt). how can i do this in a batch file? ...
0
51,845
09/09/2008 13:17:02
5,252
09/08/2008 17:54:32
49
1
Can MS Visual Studio compile projects using 2 or 4 cores on CPU?
Is it any compilator option of flag?
visual-studio
null
null
null
null
null
open
Can MS Visual Studio compile projects using 2 or 4 cores on CPU? === Is it any compilator option of flag?
0
51,859
09/09/2008 13:22:29
4,405
09/03/2008 14:26:48
116
3
Using Makefile instead of Solution/Project files under Visual Studio (2005)
Does anyone have experience using makefiles for Visual Studio builds (under VS 2005) as opposed to using the project/solution setup. For us, the way that the project/solutions work is not intuitive and leads to configuruation explosion when you are trying to tweak builds with specific compile time flags. Under Unix...
visual-studio
makefile
null
null
null
null
open
Using Makefile instead of Solution/Project files under Visual Studio (2005) === Does anyone have experience using makefiles for Visual Studio builds (under VS 2005) as opposed to using the project/solution setup. For us, the way that the project/solutions work is not intuitive and leads to configuruation explosion wh...
0
51,866
09/09/2008 13:23:24
3,875
08/31/2008 15:05:00
13
2
VC++ and MapPoint OCX problem
I am writing a VC++ MFC dialog based app which requires Microsoft MapPoint embedding in it. To do this I'm using MS VC++ .NET 2003 and MapPoint Europe 2006 to do this but am having problems as when I select "Insert ActiveX Control" no MapPoint control appears in the list of options. I have tried manually registering ma...
vc++
mappoint
null
null
null
null
open
VC++ and MapPoint OCX problem === I am writing a VC++ MFC dialog based app which requires Microsoft MapPoint embedding in it. To do this I'm using MS VC++ .NET 2003 and MapPoint Europe 2006 to do this but am having problems as when I select "Insert ActiveX Control" no MapPoint control appears in the list of options. I...
0
51,870
09/09/2008 13:25:36
3,208
08/27/2008 13:12:45
78
4
How to force my ASP.net 2.0 app to recompile
I have a ASP.net 2.0 app and I have made some changes the the source file ( cs files ). I uploaded the changes with the belief that it would auto-recompile. I also have the compiled dll in MY_APP/bin. I checked it and noticed that it did not recompile. Please understand I am new to this.
asp.net
null
null
null
null
null
open
How to force my ASP.net 2.0 app to recompile === I have a ASP.net 2.0 app and I have made some changes the the source file ( cs files ). I uploaded the changes with the belief that it would auto-recompile. I also have the compiled dll in MY_APP/bin. I checked it and noticed that it did not recompile. Please understan...
0
51,871
09/09/2008 13:26:12
2,744
08/24/2008 20:43:50
1
0
What is the best Visual Studio Plugin for Printing Code
What is the best Visual Studio 2005/2008 Plugin for Printing your code. Some of the features I think it must include are: 1) Print Entire Solution 2) Ability to print line numbers 3) Proper choice of coding font and size to improve readability 4) Nice Header Information 5) Ability to print regions col...
visual-studio-plugin
null
null
null
null
null
open
What is the best Visual Studio Plugin for Printing Code === What is the best Visual Studio 2005/2008 Plugin for Printing your code. Some of the features I think it must include are: 1) Print Entire Solution 2) Ability to print line numbers 3) Proper choice of coding font and size to improve readability ...
0
51,884
09/09/2008 13:30:38
1,694
08/18/2008 02:45:22
1,354
41
Use cases for regular expression find/replace
I recently discussed editors with a co-worker. He uses one of the less popular editors and I use another (I won't say which ones since it's not relevant and I want to avoid an editor flame war). I was saying that I didn't like his editor as much because it doesn't let you do find/replace with regular expressions. ...
regex
editor
null
null
null
null
open
Use cases for regular expression find/replace === I recently discussed editors with a co-worker. He uses one of the less popular editors and I use another (I won't say which ones since it's not relevant and I want to avoid an editor flame war). I was saying that I didn't like his editor as much because it doesn't le...
0
51,885
09/09/2008 13:30:42
5,369
09/09/2008 11:14:39
28
6
IDE placement on dual monitors.
What IDE placement (output, errors, threads, watch, etc..) do you use (coding/debugging) in Visual Studio on Dual Monitors?
ide
visual-studio
placement
null
null
null
open
IDE placement on dual monitors. === What IDE placement (output, errors, threads, watch, etc..) do you use (coding/debugging) in Visual Studio on Dual Monitors?
0
51,887
09/09/2008 13:31:28
1,068
08/12/2008 08:44:09
48
6
Operating System Overheads while profiling?
I am doing profiling of a C code in Microsoft VS 2005 on a Intel Core-2Duo platform. I measure the time(secs:millisecs) counsumed by my function. But i have some doubts about the accuracy of this measurement as the operating system will not continuously run my application, but instead schedule others apps/services in...
profile
null
null
null
null
null
open
Operating System Overheads while profiling? === I am doing profiling of a C code in Microsoft VS 2005 on a Intel Core-2Duo platform. I measure the time(secs:millisecs) counsumed by my function. But i have some doubts about the accuracy of this measurement as the operating system will not continuously run my applicat...
0
51,898
09/09/2008 13:35:10
3,106
08/26/2008 17:01:37
1
1
Activating the main form of a single instance application
In a C# Windows Forms application I want to detect if another instance of the application is already running. If so, activate the main form of the running instance and exit this instance. What is the best way to achieve this?
c#
.net
winforms
null
null
null
open
Activating the main form of a single instance application === In a C# Windows Forms application I want to detect if another instance of the application is already running. If so, activate the main form of the running instance and exit this instance. What is the best way to achieve this?
0
51,925
09/09/2008 13:47:10
3,111
08/26/2008 17:47:14
90
8
Continuous Integration
We are currently evaluating different applications that interface with Visual Studio and Subversion to do automated builds of our core libraries. We are hoping to have nightly builds performed and either email the list of changes made to each developer or have the latest versions be pushed to each workstation. What h...
visual-studio
svn
continuous-integration
null
null
null
open
Continuous Integration === We are currently evaluating different applications that interface with Visual Studio and Subversion to do automated builds of our core libraries. We are hoping to have nightly builds performed and either email the list of changes made to each developer or have the latest versions be pushed ...
0
51,927
09/09/2008 13:47:51
5,419
09/09/2008 13:47:51
1
0
How to check if element in groovy array/hash/collection/list?
How do I figure out if an array contains an element? I thought there might be something like [1,2,3].includes(1) which would evaluate as 'true'
arrays
list
groovy
grails
null
null
open
How to check if element in groovy array/hash/collection/list? === How do I figure out if an array contains an element? I thought there might be something like [1,2,3].includes(1) which would evaluate as 'true'
0
51,931
09/09/2008 13:50:12
2,086
08/20/2008 10:43:39
40
10
TypeLoadException on System.Xml.Linq.XDocument when running T4 template on build server
I'm having a problem running a T4 template using TextTransform.exe on my build server. On my dev machine the template works perfectly. The error message is as follows. error : Running transformation: System.TypeLoadException: Could not instantiate type 'System.Xml.Linq.XDocument' The build server has the windows ...
.net
t4
texttransform
typeloadexception
null
null
open
TypeLoadException on System.Xml.Linq.XDocument when running T4 template on build server === I'm having a problem running a T4 template using TextTransform.exe on my build server. On my dev machine the template works perfectly. The error message is as follows. error : Running transformation: System.TypeLoadException...
0
51,941
09/09/2008 13:54:58
2,665
08/24/2008 06:43:24
118
9
How do I create a status dialog box in Excel
I have created a database report generator in Excel. I am trying to create a dialog box that displays status information as the program runs. When I generate the report, although the dailog box appears, I cannot refresh/update the information it displays. Most of the time, the dialog box only partially appears. I ha...
excel
vba
microsoftoffice
null
null
null
open
How do I create a status dialog box in Excel === I have created a database report generator in Excel. I am trying to create a dialog box that displays status information as the program runs. When I generate the report, although the dailog box appears, I cannot refresh/update the information it displays. Most of the...
0
51,948
09/09/2008 13:57:24
4,880
09/06/2008 10:12:37
1
0
Do you know of a good program for editing/translating resource (.rc) files?
I'm building a C++/MFC program in a multilingual environment. I have one main (national) language and three international languages. Every time I add a feature to the program I have to keep the international languages up-to-date with the national one. The resource editor in Visual Studio is not very helpful because I f...
c++
mfc
null
null
null
null
open
Do you know of a good program for editing/translating resource (.rc) files? === I'm building a C++/MFC program in a multilingual environment. I have one main (national) language and three international languages. Every time I add a feature to the program I have to keep the international languages up-to-date with the n...
0
51,949
09/09/2008 13:57:34
445,087
09/02/2008 17:25:48
291
7
How to get file extension from string in C++
Given a string "filename.conf", how to I check get the extension part?
c++
string
filenames
null
null
null
open
How to get file extension from string in C++ === Given a string "filename.conf", how to I check get the extension part?
0
51,950
09/09/2008 13:58:03
4,694
09/05/2008 09:30:26
48
8
How do I allow assembly (unit testing one) to access internal properties of another assembly ?
I would like my Core assembly to not expose a certain class and I would still like to be able to test it. How can I do that ?
.net
unit-testing
null
null
null
null
open
How do I allow assembly (unit testing one) to access internal properties of another assembly ? === I would like my Core assembly to not expose a certain class and I would still like to be able to test it. How can I do that ?
0
51,954
09/09/2008 13:59:09
3,408
08/28/2008 13:20:22
76
12
Open source simple CRM database / Social Network site that
Does anyone know of a simple social network type of site that can be easily customised? It should suck, but in the sense the blosxom sucks in this article: http://www.plover.com/blog/oops/blosxom-sux.html I.e. take the "Worse-is-Better" approach, and try to cover most of the main features, more or less, while ke...
crm
social-networking
plone
zope
null
null
open
Open source simple CRM database / Social Network site that === Does anyone know of a simple social network type of site that can be easily customised? It should suck, but in the sense the blosxom sucks in this article: http://www.plover.com/blog/oops/blosxom-sux.html I.e. take the "Worse-is-Better" approach, a...
0
51,964
09/09/2008 14:03:13
2,757
08/24/2008 21:53:16
468
27
How do I remove items from the query string for redirection?
In my base page I need to remove an item from the query string and redirect. I can't use<br/> Request.QueryString.Remove("foo") because the collection is read-only. Is there any way to get the query string (except for that one item) without iterating through the collection and re-building it?
c#
asp.net
web-forms
null
null
null
open
How do I remove items from the query string for redirection? === In my base page I need to remove an item from the query string and redirect. I can't use<br/> Request.QueryString.Remove("foo") because the collection is read-only. Is there any way to get the query string (except for that one item) without ite...
0
51,969
09/09/2008 14:07:11
5,217
09/08/2008 14:34:27
1
0
How to detect READ_COMMITTED_SNAPSHOT is enabled?
In MS SQL Server is there a way to detect whether a database has had its isolation level set via the T-SQL command `ALTER DATABASE <database> SET READ_COMMITTED_SNAPSHOT ON;` I cannot find a simple way to detect this in either T-SQL or via the Management Studio's GUI. TIA
sql-server
microsoft
null
null
null
null
open
How to detect READ_COMMITTED_SNAPSHOT is enabled? === In MS SQL Server is there a way to detect whether a database has had its isolation level set via the T-SQL command `ALTER DATABASE <database> SET READ_COMMITTED_SNAPSHOT ON;` I cannot find a simple way to detect this in either T-SQL or via the Management Studio'...
0
51,971
09/09/2008 14:07:50
745
08/08/2008 13:47:26
613
51
Can anyone recommend a complete ObjC/Cocoa or Cocoa-Touch tutorial?
I went though "Become an Xcoder", which was very useful, but it ended very abruptly, just as I started to understand about ObjC's syntax, and about Inlets/Outlets and such in Interface Builder. I've looked around, and found a bunch of tutorials that cover writing an application, but these either seem to be "Open Int...
objectivec
cocoa
tutorials
cocoa-touch
null
null
open
Can anyone recommend a complete ObjC/Cocoa or Cocoa-Touch tutorial? === I went though "Become an Xcoder", which was very useful, but it ended very abruptly, just as I started to understand about ObjC's syntax, and about Inlets/Outlets and such in Interface Builder. I've looked around, and found a bunch of tutorials...
0
51,998
09/09/2008 14:22:34
3,298
08/27/2008 17:58:39
11
1
What .NET reporting tools are best for dynamic report generation?
I often need to create forms and reports for Windows applications that either require dynamic generation or where I need control over the formatting that stretches or goes beyond the capabilities of most report designers. Essentially, I need to ability to create my own pages using graphics primitives like you can do wi...
.net
reporting
null
null
null
null
open
What .NET reporting tools are best for dynamic report generation? === I often need to create forms and reports for Windows applications that either require dynamic generation or where I need control over the formatting that stretches or goes beyond the capabilities of most report designers. Essentially, I need to abil...
0
52,008
09/09/2008 14:26:39
1,782
08/18/2008 14:30:58
1,296
93
Options for PivotTables in Excel
I need to design a small project for generating excel reports in .NET, which will be sent to users to use. The excel reports will contain PivotTables. I don't have much experience with them, but I can think of three implementation alternatives: 1. Set a query for it, populate it, send it disconnected. This way...
.net
excel
vsto
pivot-table
null
null
open
Options for PivotTables in Excel === I need to design a small project for generating excel reports in .NET, which will be sent to users to use. The excel reports will contain PivotTables. I don't have much experience with them, but I can think of three implementation alternatives: 1. Set a query for it, popul...
0
52,016
09/09/2008 14:31:30
3,586
08/29/2008 07:51:02
78
5
Uml for ruby
Could any one recommend some good uml/modeling tools for ruby and ruby on rails?
uml
ruby
ruby-on-rails
null
null
null
open
Uml for ruby === Could any one recommend some good uml/modeling tools for ruby and ruby on rails?
0