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
38,612
09/01/2008 23:30:10
4,096
09/01/2008 18:43:59
1
1
asp:DropDownList Error: 'DropDownList1' has a SelectedValue which is invalid because it does not exist in the list of items.
I have a asp.net 2.0 web site with numerous asp:DropDownList controls. The DropDownList control contains the standard info city, state, county etc... info. In addition to the standard codes the site also has custom codes that the users can configure themselves. For example a animal dropdown may contain the values Do...
asp.net
null
null
null
null
null
open
asp:DropDownList Error: 'DropDownList1' has a SelectedValue which is invalid because it does not exist in the list of items. === I have a asp.net 2.0 web site with numerous asp:DropDownList controls. The DropDownList control contains the standard info city, state, county etc... info. In addition to the standard code...
0
38,615
09/01/2008 23:32:26
2,018
08/19/2008 20:14:45
538
54
Up-to-date libFoundation alternative
I was wondering if there is a more up to date alternative to libFoundation (which hasn't been updated since 2001) to develop modern cross-platform Obj-C applications. I don't need appKit features, only Foundation is needed. I know about GNUStep, but I've only heard bad things about it. [The Cocotron](http://www.c...
linux
objectivec
crossplatform
null
null
06/05/2012 16:35:46
not constructive
Up-to-date libFoundation alternative === I was wondering if there is a more up to date alternative to libFoundation (which hasn't been updated since 2001) to develop modern cross-platform Obj-C applications. I don't need appKit features, only Foundation is needed. I know about GNUStep, but I've only heard bad th...
4
38,618
09/01/2008 23:34:35
393,028
09/01/2008 13:58:49
6
3
LSP in OO programming?
Am I right in thinking the full name of the LSP is the Liskoff Substitution Principle? I'm having trouble finding an [online] source to cite for any information on this... it seems to be a cornerstone of OOP, and yet I'm having trouble finding definitions.
oop
null
null
null
null
null
open
LSP in OO programming? === Am I right in thinking the full name of the LSP is the Liskoff Substitution Principle? I'm having trouble finding an [online] source to cite for any information on this... it seems to be a cornerstone of OOP, and yet I'm having trouble finding definitions.
0
38,629
09/01/2008 23:42:26
3,747
08/30/2008 14:33:59
103
16
ASP.NET XML ObjectDataSource Wrapper Class Examples
I want to use XML instead of SQLServer for a simple website. Are their any good tutorials, code examples, and/or tools available to make a (prefer VB.NET) wrapper class to handle the basic list, insert, edit, and delete (CRUD) code? The closest one I found was on a Telerik Trainer video/code for their Scheduler ...
asp.net
vb.net
xml
objectdatasource
null
null
open
ASP.NET XML ObjectDataSource Wrapper Class Examples === I want to use XML instead of SQLServer for a simple website. Are their any good tutorials, code examples, and/or tools available to make a (prefer VB.NET) wrapper class to handle the basic list, insert, edit, and delete (CRUD) code? The closest one I found...
0
38,635
09/01/2008 23:54:02
3,656
08/29/2008 17:53:13
41
4
What static analysis tools are available for C#?
What tools are there available for static analysis against C# code? I know about FxCop and StyleCop. Are there others? I've run across NStatic before but it's been in development for what seems like forever - it's looking pretty slick from what little I've seen of it, so it would be nice if it would ever see the light...
static-analysis
c#
null
null
null
null
open
What static analysis tools are available for C#? === What tools are there available for static analysis against C# code? I know about FxCop and StyleCop. Are there others? I've run across NStatic before but it's been in development for what seems like forever - it's looking pretty slick from what little I've seen of ...
0
38,642
09/02/2008 00:05:59
1,196
08/13/2008 12:33:04
952
56
What tools do you use for WPF development
What tools beside Visual Studio's Cider do you use? Here is my list: 1. [Snoop][1] 2. [Mole debugger visualizer][2] Have you succeed in using something from Microsoft Expression product family? [1]: http://blois.us/Snoop/ [2]: http://www.codeproject.com/KB/macros/MoleForVisualStudioEdit.aspx
wpf
null
null
null
null
null
open
What tools do you use for WPF development === What tools beside Visual Studio's Cider do you use? Here is my list: 1. [Snoop][1] 2. [Mole debugger visualizer][2] Have you succeed in using something from Microsoft Expression product family? [1]: http://blois.us/Snoop/ [2]: http://www.codeproject.com...
0
38,645
09/02/2008 00:10:44
4,135
09/02/2008 00:02:37
1
0
Combining Structures
I want to know the best way to combine two structures with differing fields names. For example, starting with A.field1 = 1; A.field2 = 'a'; B.field3 = 2; B.field4 = 'b'; I would like to have C.field1 = 1; C.field2 = 'a'; C.field3 = 2; C.field4 = 'b'; Is there...
matlab
null
null
null
null
null
open
Combining Structures === I want to know the best way to combine two structures with differing fields names. For example, starting with A.field1 = 1; A.field2 = 'a'; B.field3 = 2; B.field4 = 'b'; I would like to have C.field1 = 1; C.field2 = 'a'; C.field3 = 2; C...
0
38,647
09/02/2008 00:14:56
708
08/08/2008 06:10:02
522
15
Linq to Entities vs ESQL
**When using the Entity Framework, does ESQL perform better than Linq to Entities?** I'd prefer to use Linq to Entities (mainly because of the strong-type checking), but some of my other team members are citing performance as a reason to use ESQL. I would like to get a full idea of the pro's/con's of using either m...
entity-framework
linq-to-entities
esql
null
null
null
open
Linq to Entities vs ESQL === **When using the Entity Framework, does ESQL perform better than Linq to Entities?** I'd prefer to use Linq to Entities (mainly because of the strong-type checking), but some of my other team members are citing performance as a reason to use ESQL. I would like to get a full idea of the...
0
38,651
09/02/2008 00:27:49
4,111
09/01/2008 20:34:03
1
1
Any way to have an ActionScript 3 (Flex/AIR) project print to standard output?
Is there any way to have a binary compiled from an ActionScript 3 project print stuff to *stdout* when executed? From what I've gathered, people have been going around this limitation by writing hacks that rely on local socket connections and AIR apps that write to files in the local filesystem, but that's pretty mu...
flex
flash
actionscript-3
adobe
null
null
open
Any way to have an ActionScript 3 (Flex/AIR) project print to standard output? === Is there any way to have a binary compiled from an ActionScript 3 project print stuff to *stdout* when executed? From what I've gathered, people have been going around this limitation by writing hacks that rely on local socket connec...
0
38,652
09/02/2008 00:28:45
1,196
08/13/2008 12:33:04
957
56
Do you use Microsoft's Prism (CompositeWPF) in commercial development?
Are you using or going to use Prism? I had experience with Composite Application block (composite UI for WinForms) and can say that it's an overengineered hard to use framework. I taken a look at Prism and it seems to be much better designed e.g. simple to use and fast. What do you think?
wpf
prism
null
null
null
null
open
Do you use Microsoft's Prism (CompositeWPF) in commercial development? === Are you using or going to use Prism? I had experience with Composite Application block (composite UI for WinForms) and can say that it's an overengineered hard to use framework. I taken a look at Prism and it seems to be much better designed e....
0
38,654
09/02/2008 00:33:09
3,715
08/30/2008 09:17:39
82
12
Automatically floating all fields in a VFP report?
I want to set all the fields and labels on a VFP7 report to "Float". I tried `USE`ing the `.frx` file and doing the following `REPLACE` but it didn't work. Is there some other field I need to change too? REPLACE float WITH .T. FOR objtype = 8
vfp
foxpro
report
null
null
null
open
Automatically floating all fields in a VFP report? === I want to set all the fields and labels on a VFP7 report to "Float". I tried `USE`ing the `.frx` file and doing the following `REPLACE` but it didn't work. Is there some other field I need to change too? REPLACE float WITH .T. FOR objtype = 8
0
38,661
09/02/2008 00:52:31
797
08/09/2008 02:14:04
962
37
Can IIS 6 serve requests for pages with no extensions?
Is there any way in IIS to map requests to a particular URL with no extension to a given application. For example, in trying to port something from a Java servlet, you might have a URL like this... http://[server]/MyApp/HomePage?some=parameter Ideally I'd like to be able to map everything under MyApp to a part...
iis
null
null
null
null
null
open
Can IIS 6 serve requests for pages with no extensions? === Is there any way in IIS to map requests to a particular URL with no extension to a given application. For example, in trying to port something from a Java servlet, you might have a URL like this... http://[server]/MyApp/HomePage?some=parameter Ideally...
0
38,664
09/02/2008 01:01:56
486
08/06/2008 09:19:11
615
46
Can you modify text files when committing to subversion?
I want to ran the following script on text files that are being committed: # Send the commands H and w to ed # ed will append newline if the file does not end in one printf "%s\n" H w | ed -s $1 # Strip trailing whitespace sed -i 's/[ \t]*$//g' $1 # Convert tabs to 4 spaces ...
svn
subversion
hook
null
null
null
open
Can you modify text files when committing to subversion? === I want to ran the following script on text files that are being committed: # Send the commands H and w to ed # ed will append newline if the file does not end in one printf "%s\n" H w | ed -s $1 # Strip trailing whitespace se...
0
38,669
09/02/2008 01:10:54
910
08/10/2008 10:02:18
21
2
Does the PHP mail() function work if I don't own the MX record
I'm not sure I'm using all the correct terminology here so be forgiving. I just put up a site with a contact form that sends an email using the PHP mail() function. Simple enough. However the live site doesn't actually send the email, the test site does. So it's not my code. It's a shared host and we have anothe...
php
dns
null
null
null
null
open
Does the PHP mail() function work if I don't own the MX record === I'm not sure I'm using all the correct terminology here so be forgiving. I just put up a site with a contact form that sends an email using the PHP mail() function. Simple enough. However the live site doesn't actually send the email, the test site ...
0
38,670
09/02/2008 01:10:54
4,140
09/02/2008 01:10:54
1
0
Visual Studio 2008 Fubared
Ok, so, my visual studio is broken. I say this NOT prematurely, as it was my first response to see where I had messed up in my code. When I add controls to the page I can't reference all of them in the code behind. Some of them I can, it seems that the first few I put on a page work, then it just stops. I first t...
asp.net
visual-studio
c#
microsoft
null
null
open
Visual Studio 2008 Fubared === Ok, so, my visual studio is broken. I say this NOT prematurely, as it was my first response to see where I had messed up in my code. When I add controls to the page I can't reference all of them in the code behind. Some of them I can, it seems that the first few I put on a page work, ...
0
38,674
09/02/2008 01:15:47
184
08/03/2008 05:34:19
1,636
23
Does Adobe Flash support databases?
Which all databases does Adobe Flash support?
database
flash
adobe
null
null
null
open
Does Adobe Flash support databases? === Which all databases does Adobe Flash support?
0
38,680
09/02/2008 01:25:18
2,515
08/22/2008 15:49:45
21
3
How to provide next page of updated content?
Feel free to edit the title if you know how to formulate the question better. (Tagging is a problem as well.) The problem may be too difficult in this general form, so let us consider a concrete example. You get a screenful of stackoverflow questions by requesting `/questions ?sort=newest` page. Next page link leads...
sql
stackoverflow
null
null
null
null
open
How to provide next page of updated content? === Feel free to edit the title if you know how to formulate the question better. (Tagging is a problem as well.) The problem may be too difficult in this general form, so let us consider a concrete example. You get a screenful of stackoverflow questions by requesting `/...
0
38,691
09/02/2008 01:41:59
428,190
08/09/2008 23:23:13
235
33
Need a little REGEX help... [PHP]
Hey so what I want to do is snag the content for the first paragraph. The string $blog_post contains a lot of paragraphs in the format: <p>Paragraph 1</p><p>Paragraph 2</p><p>Paragraph 3</p> The problem I'm running into is that I am writing a regex to grab everything between the first P tag and the first clo...
regex
php
regularexpression
null
null
null
open
Need a little REGEX help... [PHP] === Hey so what I want to do is snag the content for the first paragraph. The string $blog_post contains a lot of paragraphs in the format: <p>Paragraph 1</p><p>Paragraph 2</p><p>Paragraph 3</p> The problem I'm running into is that I am writing a regex to grab everything be...
0
38,713
09/02/2008 02:29:06
3,979
09/01/2008 06:40:24
1
0
ruby idioms for using command-line options
I'm trying to pick up ruby by porting a medium-sized (non-OO) perl program. One of my personal idioms is to set options like this: use Getopt::Std; our $opt_v; # be verbose getopts('v'); # and later ... $opt_v && print "something interesting\n"; In perl, I kind of grit my teeth and let $o...
ruby
idioms
null
null
null
null
open
ruby idioms for using command-line options === I'm trying to pick up ruby by porting a medium-sized (non-OO) perl program. One of my personal idioms is to set options like this: use Getopt::Std; our $opt_v; # be verbose getopts('v'); # and later ... $opt_v && print "something interesting\n"...
0
38,719
09/02/2008 02:34:13
1,292
08/14/2008 12:37:56
1
1
What is the best way to create a wizard in C# 2.0?
I have an application where users will be creating stock items, and a time of creation there are a number of different things that need to happen. I think the UI for this should probably be a wizard of some kind, but I'm unsure as to the best way to achieve this. I have seen a couple of 3rd party Wizard controls, an...
c#
gui
wizard
visual-studio
null
null
open
What is the best way to create a wizard in C# 2.0? === I have an application where users will be creating stock items, and a time of creation there are a number of different things that need to happen. I think the UI for this should probably be a wizard of some kind, but I'm unsure as to the best way to achieve thi...
0
38,726
09/02/2008 02:38:15
1,185
08/13/2008 12:02:03
863
60
WebClient.DownloadFileAsync fails to raise exception
An odd issue that I have been trying to address in a project - my calls to WebClient.DownloadFileAsync seem to be getting ignored and no exceptions are being raised. So far I have been able to determine this might be due to destination folder not existing, but from the looks of the [MSDN documentation][1] this should ...
webclient
.net
null
null
null
null
open
WebClient.DownloadFileAsync fails to raise exception === An odd issue that I have been trying to address in a project - my calls to WebClient.DownloadFileAsync seem to be getting ignored and no exceptions are being raised. So far I have been able to determine this might be due to destination folder not existing, but ...
0
38,729
09/02/2008 02:40:47
1,130,097
08/16/2008 14:58:30
213
23
Do you know how to implement transactions in Castle ActiveRecord?
I decided to make a system for a client using [Castle ActiveRecord][1], everything went well until I found that the transactions do not work, for instance; TransactionScope t = new TransactionScope(); try { member.Save(); ...
activerecord
castle
null
null
null
null
open
Do you know how to implement transactions in Castle ActiveRecord? === I decided to make a system for a client using [Castle ActiveRecord][1], everything went well until I found that the transactions do not work, for instance; TransactionScope t = new TransactionScope(); try ...
0
38,756
09/02/2008 03:09:38
361
08/05/2008 04:20:27
300
16
Concurrent collections in C#
I'm looking for a way of getting a concurrent collection in C# or at least a collection which supports a concurrent enumerator. Right now I'm getting an InvalidOperationException when the collection over which I'm iterating changes. I could just deep copy the collection and work with a private copy but I'm wondering ...
concurrency
c#
null
null
null
null
open
Concurrent collections in C# === I'm looking for a way of getting a concurrent collection in C# or at least a collection which supports a concurrent enumerator. Right now I'm getting an InvalidOperationException when the collection over which I'm iterating changes. I could just deep copy the collection and work with...
0
38,763
09/02/2008 03:24:33
577
08/06/2008 21:36:25
230
8
What design pattern is PEAR DB_DataObject implementing?
[DB_DataObject][1] does not appear to be ActiveRecord because you do not necessarily store business logic in the "table" classes. It seems more like Table Data Gateway or Row Data Gateway, but I really cannot tell. What I need is good ORM layer that we can use with DataMapper and a DomainModel. Any ideas? [1]: h...
php
design-patterns
db
pear
null
null
open
What design pattern is PEAR DB_DataObject implementing? === [DB_DataObject][1] does not appear to be ActiveRecord because you do not necessarily store business logic in the "table" classes. It seems more like Table Data Gateway or Row Data Gateway, but I really cannot tell. What I need is good ORM layer that we can us...
0
38,766
09/02/2008 03:26:09
2,375
08/21/2008 22:37:01
8
3
How do I get SQL Server Integration Services to use a different database connection for Package Configuration
I have an SSIS Package that sets some variable data from a SQL Server Package Configuration Table. (Selecting the "Specify configuration setings directly" option) This works well when I'm using the Database connection that I specified when developing the package. However when I run it on a server (64 bit) in the tes...
ssis
sql-server
connection-manager
null
null
null
open
How do I get SQL Server Integration Services to use a different database connection for Package Configuration === I have an SSIS Package that sets some variable data from a SQL Server Package Configuration Table. (Selecting the "Specify configuration setings directly" option) This works well when I'm using the Data...
0
38,769
09/02/2008 03:29:57
4,134
09/01/2008 23:40:41
1
3
How would you extract data from a MS Project .mpp file?
I need to extract data from a .mpp file on the network and combine it with other data from several different databases. The application can be written in Perl, VB6, VB.net or C# but must be easily scheduled from a Windows based server. What would you recommend to extract the MS Project data with no user intervention...
vb.net
vb6
c#
perl
project-management
null
open
How would you extract data from a MS Project .mpp file? === I need to extract data from a .mpp file on the network and combine it with other data from several different databases. The application can be written in Perl, VB6, VB.net or C# but must be easily scheduled from a Windows based server. What would you recom...
0
38,779
09/02/2008 03:41:06
781
08/08/2008 21:28:19
180
11
What SPN do I need to set for a net.tcp service?
I have a wcf application hosted in a windows service running a local windows account. Do I need to set an SPN for this account? If so, what's the protocol the SPN needs to be set under? I know how to do this for services over HTTP, but have never done it for net.tcp.
spns
wcf
security
null
null
null
open
What SPN do I need to set for a net.tcp service? === I have a wcf application hosted in a windows service running a local windows account. Do I need to set an SPN for this account? If so, what's the protocol the SPN needs to be set under? I know how to do this for services over HTTP, but have never done it for net.tcp...
0
38,784
09/02/2008 03:49:17
4,149
09/02/2008 03:48:11
1
0
Visual Studio equivalent to Delphi bookmarks
I use Delphi for many years, and although I have now moved on to Visual Studio I still fondly remember numbered bookmarks (CTRL+K+1 to set bookmark 1, CRTL+Q+1 to goto bookmark 1). Is there a Visual Studio equivalent? I'm find the dumb bookmarks in VS a chore after Delphi. I want to bookmark then return to a specifi...
visual-studio
delphi
null
null
null
null
open
Visual Studio equivalent to Delphi bookmarks === I use Delphi for many years, and although I have now moved on to Visual Studio I still fondly remember numbered bookmarks (CTRL+K+1 to set bookmark 1, CRTL+Q+1 to goto bookmark 1). Is there a Visual Studio equivalent? I'm find the dumb bookmarks in VS a chore after D...
0
38,789
09/02/2008 03:59:44
3,149
08/27/2008 01:05:12
76
2
Web Service Namespace Dynamic Naming
I have a webservice that I will be deploying to dev, staging and production. Along with this will be an ASP.net application that will be deploying separately but also in those three stages. What is the most pragmatic way to change the following line in the webservice to match the current environment? [WebSer...
c#
web-services
null
null
null
null
open
Web Service Namespace Dynamic Naming === I have a webservice that I will be deploying to dev, staging and production. Along with this will be an ASP.net application that will be deploying separately but also in those three stages. What is the most pragmatic way to change the following line in the webservice to mat...
0
38,791
09/02/2008 04:01:09
191
08/03/2008 09:55:26
21
2
Which database table Schema is more efficient?
Which Database table Schema is more efficient and why? "Users (UserID, UserName, CompamyId)" "Companies (CompamyId, CompanyName)" OR "Users (UserID, UserName)" "Companies (CompamyId, CompanyName)" "UserCompanies (UserID, CompamyId)" Given the fact that user and company have one-to-one...
database-design
null
null
null
null
null
open
Which database table Schema is more efficient? === Which Database table Schema is more efficient and why? "Users (UserID, UserName, CompamyId)" "Companies (CompamyId, CompanyName)" OR "Users (UserID, UserName)" "Companies (CompamyId, CompanyName)" "UserCompanies (UserID, CompamyId)" ...
0
38,801
09/02/2008 04:10:50
2,027
08/19/2008 21:06:37
23
2
SQL - how to store and navigate hierarchies
What are the ways that you use to model and retrieve hierarchical info in a database?
sql
sql-server
null
null
null
null
open
SQL - how to store and navigate hierarchies === What are the ways that you use to model and retrieve hierarchical info in a database?
0
38,811
09/02/2008 04:25:53
781
08/08/2008 21:28:19
192
10
How can I remote desktop to a Windows machine from a Linux machine?
At work I use Windows Server 2008. At home, I just got a openSUSE laptop. Is there an RDP client I can use?
remote-desktop
null
null
null
null
02/10/2012 16:48:59
off topic
How can I remote desktop to a Windows machine from a Linux machine? === At work I use Windows Server 2008. At home, I just got a openSUSE laptop. Is there an RDP client I can use?
2
38,820
09/02/2008 04:34:20
191
08/03/2008 09:55:26
38
2
Which class design is better?
Which class design is better and why? public class User { public String UserName; public String Password; public String FirstName; public String LastName; } public class Employee : User { public String EmployeeId; public String Emplo...
class-design
oop
null
null
null
null
open
Which class design is better? === Which class design is better and why? public class User { public String UserName; public String Password; public String FirstName; public String LastName; } public class Employee : User { public String Emplo...
0
38,822
09/02/2008 04:36:54
3,153
08/27/2008 02:45:05
316
14
Best full text search alternative to ms sql, c++ solution
What is the best full text search alternative to ms sql? I'm looking for something similar to [Lucene][1] and [Lucene.NET][2] but without the .NET and Java requirements. I would also like to find a solution that is usable in commercial applications. [1]: http://lucene.apache.org/java/docs/index.html [2]: h...
lucene
mssql
full-text-search
c++
lucene.net
null
open
Best full text search alternative to ms sql, c++ solution === What is the best full text search alternative to ms sql? I'm looking for something similar to [Lucene][1] and [Lucene.NET][2] but without the .NET and Java requirements. I would also like to find a solution that is usable in commercial applications. ...
0
38,824
09/02/2008 04:38:06
5
07/31/2008 14:22:31
2,447
96
Is Wiki Content Portable?
I'm thinking of starting a wiki, probably on a low cost LAMP hosting account. I'd like the option of exporting my content later in case I want to run it on IIS/ASP.NET down the line. I know in the weblog world, there's an open standard called BlogML which will let you export your blog content to an XML based format on ...
wiki
null
null
null
null
null
open
Is Wiki Content Portable? === I'm thinking of starting a wiki, probably on a low cost LAMP hosting account. I'd like the option of exporting my content later in case I want to run it on IIS/ASP.NET down the line. I know in the weblog world, there's an open standard called BlogML which will let you export your blog con...
0
38,838
09/02/2008 04:49:37
744
08/08/2008 13:43:38
161
2
Two-way password encryption without ssl
I am using the [twitter API][1] to [integrate twitter][2] with my blog's commenting system. The problem with the twitter API and many other web APIs out there is that they require the user's username and password to do anything useful. I don't want to deal with the hassle and cost of installing a SSL certificate, but...
encryption
javascript
passwords
null
null
null
open
Two-way password encryption without ssl === I am using the [twitter API][1] to [integrate twitter][2] with my blog's commenting system. The problem with the twitter API and many other web APIs out there is that they require the user's username and password to do anything useful. I don't want to deal with the hassle ...
0
38,842
09/02/2008 04:52:52
3,146
08/27/2008 00:25:15
204
18
How to do a simple mail merge in OpenOffice
I need to do a simple mail merge in OpenOffice using C++ via OLE or native API. Are there any good examples available?
c++
com
ole
openoffice
null
null
open
How to do a simple mail merge in OpenOffice === I need to do a simple mail merge in OpenOffice using C++ via OLE or native API. Are there any good examples available?
0
38,846
09/02/2008 04:58:46
3,153
08/27/2008 02:45:05
321
14
encrypt data with 2 keys/passwords
What are the fundamentals to accomplish encrypting data with exactly 2 keys/passwords, but only needing exactly one (either one) of the 2 keys/passwords to decrypt the data? For example, a user first encrypts his data with his own password and his company's password, and then him or his boss can decrypt the data. ...
cryptography
encryption
security
null
null
null
open
encrypt data with 2 keys/passwords === What are the fundamentals to accomplish encrypting data with exactly 2 keys/passwords, but only needing exactly one (either one) of the 2 keys/passwords to decrypt the data? For example, a user first encrypts his data with his own password and his company's password, and then ...
0
38,861
09/02/2008 05:14:49
1,463
08/15/2008 17:26:44
304
19
Will this hardware be 64bit Windows Server 2008 compatible?
I recently printed out Jeff Atwood's [Understanding The Hardware][1] blog post and plan on taking it to Fry's Electronics and saying to them "Give me all the parts on these sheets so I can put this together." However, I'm going to be installing 64bit Windows Server 2008 on this machine so before I get all the parts: ...
hardware
server2008
null
null
null
null
open
Will this hardware be 64bit Windows Server 2008 compatible? === I recently printed out Jeff Atwood's [Understanding The Hardware][1] blog post and plan on taking it to Fry's Electronics and saying to them "Give me all the parts on these sheets so I can put this together." However, I'm going to be installing 64bit Wind...
0
38,864
09/02/2008 05:16:23
1,596
08/17/2008 09:24:01
150
10
How do you find out which NIC is connected to the internet?
Consider the following setup: A windows PC with a LAN interface and a WiFi interface (the standard for any new laptop). Each of the interfaces might be connected or disconnected from a network. I need a way to determine which one of the adapters is the one connected to the internet - specifically, in case they are bot...
windows
networking
iphelper
null
null
null
open
How do you find out which NIC is connected to the internet? === Consider the following setup: A windows PC with a LAN interface and a WiFi interface (the standard for any new laptop). Each of the interfaces might be connected or disconnected from a network. I need a way to determine which one of the adapters is the o...
0
38,870
09/02/2008 05:21:36
51
08/01/2008 13:31:13
1,778
82
One or Two Primary Keys in Many-to-Many Table?
I have the following tables in my database that have a many-to-many relationship, which is expressed by a connecting table that has foreign keys to the primary keys of each of the main tables: - Widget: WidgetID (PK), Title, Price - User: UserID (PK), FirstName, LastName Assume that each User-Widget combinat...
database
data-structures
schema
indexing
null
null
open
One or Two Primary Keys in Many-to-Many Table? === I have the following tables in my database that have a many-to-many relationship, which is expressed by a connecting table that has foreign keys to the primary keys of each of the main tables: - Widget: WidgetID (PK), Title, Price - User: UserID (PK), FirstNam...
0
38,875
09/02/2008 05:24:28
2,644
08/23/2008 21:56:47
389
35
Best way to avoid code injection in PHP
My website was recently attacked by, what seemed to me as, an innocent code: <?php if ( isset( $ _GET['page'] ) ) { include( $ _GET['page'] . ".php" ); } else { include("home.php"); } ?> There where no SQL calls, so I wasn't afraid for SQL Injection. But, apparently...
php
security
injection
null
null
null
open
Best way to avoid code injection in PHP === My website was recently attacked by, what seemed to me as, an innocent code: <?php if ( isset( $ _GET['page'] ) ) { include( $ _GET['page'] . ".php" ); } else { include("home.php"); } ?> There where no SQL calls, so I was...
0
10,616,398
05/16/2012 10:10:44
107,627
05/15/2009 10:57:13
572
7
Is it possible to choose whether to generate heap dump or not on the fly?
We have an application which is deployed to a WebSphere server running on UNIX, and we are experiencing two issues: 1. a system hang which recovers after a few minutes - to investigate, we will need the thread dump (javacore). 2. a system hang which does not recover and requires WebSphere to be restarted - to inv...
websphere
thread-dump
heap-dump
null
null
null
open
Is it possible to choose whether to generate heap dump or not on the fly? === We have an application which is deployed to a WebSphere server running on UNIX, and we are experiencing two issues: 1. a system hang which recovers after a few minutes - to investigate, we will need the thread dump (javacore). 2. a sys...
0
10,616,402
05/16/2012 10:11:05
533,530
12/07/2010 10:36:52
407
2
How to install MySQL 5.5 using Source from non-root linux user?
I need a generic way to install MySQL 5.5 in almost any Linux OS from non-root User. Hence I thought to install MySQL from its source and install it where ever I need. Is it really possible to install MySQL in non-root user home? Anybody have any idea for this? Please do share your expertise for the same. **Maj...
mysql
linux
null
null
null
null
open
How to install MySQL 5.5 using Source from non-root linux user? === I need a generic way to install MySQL 5.5 in almost any Linux OS from non-root User. Hence I thought to install MySQL from its source and install it where ever I need. Is it really possible to install MySQL in non-root user home? Anybody have any...
0
10,616,406
05/16/2012 10:11:24
781,252
06/02/2011 14:00:06
35
0
multi thread launch arrangement
I have 2 thread to create thread1 and thread2. When creating threads with: pthread_create(&thread1, NULL, &function_th1, NULL); pthread_create(&thread2, NULL, &function_th2, NULL); The thread2 is launched before the thread1 and I'm looking for a solution to start thread1 before thread2. Not looking fo...
c
linux
multithreading
null
null
null
open
multi thread launch arrangement === I have 2 thread to create thread1 and thread2. When creating threads with: pthread_create(&thread1, NULL, &function_th1, NULL); pthread_create(&thread2, NULL, &function_th2, NULL); The thread2 is launched before the thread1 and I'm looking for a solution to start thre...
0
10,616,407
05/16/2012 10:11:24
299,635
03/23/2010 05:49:25
45
1
ASP.NET MVC and Payement gateway
I am working on a hotel reservation module. This is an ASP.NET MVC application. I have a requirement of building a workflow integrating with payment gateway. When customer reserve the facilitates in the hotel with valid debit/credit card, the amount has to be blocked against their card, and upon cancellation, the res...
asp.net-mvc
payment-gateway
null
null
null
null
open
ASP.NET MVC and Payement gateway === I am working on a hotel reservation module. This is an ASP.NET MVC application. I have a requirement of building a workflow integrating with payment gateway. When customer reserve the facilitates in the hotel with valid debit/credit card, the amount has to be blocked against thei...
0
10,616,413
05/16/2012 10:11:35
1,398,256
05/16/2012 09:36:52
1
0
How to bind in flexigrid from mysql in asp.net
I came across lot of posts about flexigrid. since i am new to .net i cant understand all the things about flexigrid, is there any tutorials where i can start on flexigrid , i need to bind the grid with mysql, where i need to do insert update and delete. Thanks and regards kishor
mysql
flexigrid
null
null
null
null
open
How to bind in flexigrid from mysql in asp.net === I came across lot of posts about flexigrid. since i am new to .net i cant understand all the things about flexigrid, is there any tutorials where i can start on flexigrid , i need to bind the grid with mysql, where i need to do insert update and delete. Thanks a...
0
10,616,418
05/16/2012 10:12:06
1,343,786
04/19/2012 11:06:01
45
0
editting a taglib of a plugin. and then how to commit it to svn?
I had a change required in the taglib of plugin. the local system now shows change I required. But what if I want to host it. I want to commit it. how do I do that?
grails
plugins
commit
taglib
null
null
open
editting a taglib of a plugin. and then how to commit it to svn? === I had a change required in the taglib of plugin. the local system now shows change I required. But what if I want to host it. I want to commit it. how do I do that?
0
10,616,419
05/16/2012 10:12:08
1,376,430
05/05/2012 07:22:27
3
0
Read images from a image sheet
I have one image sheet like the one in this link (http://jquerytools.org/media/img/demo-navi.jpg). I would like to get only a component of that image. How is this done in CSS?
css
null
null
null
null
null
open
Read images from a image sheet === I have one image sheet like the one in this link (http://jquerytools.org/media/img/demo-navi.jpg). I would like to get only a component of that image. How is this done in CSS?
0
38,881
09/02/2008 05:27:44
2,617
08/23/2008 16:49:41
251
14
How to find opensource projects looking for help ?
Earlier, sourceforge had up-to-date listings of volunteer requirements. Now, very few projects are asking for volunteers. Is there any other forum where requirements are posted, and people interested in particular languages/technologies sift through the listings and apply for volunteering ?
open-source
null
null
null
null
07/15/2012 13:30:42
off topic
How to find opensource projects looking for help ? === Earlier, sourceforge had up-to-date listings of volunteer requirements. Now, very few projects are asking for volunteers. Is there any other forum where requirements are posted, and people interested in particular languages/technologies sift through the listings a...
2
38,890
09/02/2008 05:34:35
3,153
08/27/2008 02:45:05
338
16
Enforce constraint checking only when inserting rows in MSSQL?
Is there a way to enforce constraint checking in MSSQL only when inserting new rows? I.e. allow the constraints to be violated when removing/updating rows?
mssql
database
null
null
null
null
open
Enforce constraint checking only when inserting rows in MSSQL? === Is there a way to enforce constraint checking in MSSQL only when inserting new rows? I.e. allow the constraints to be violated when removing/updating rows?
0
38,901
09/02/2008 05:43:40
2,293
08/21/2008 14:02:56
118
8
Strange Rails Authentication Issue
I'm using the RESTful authentication Rails plugin for an app I'm developing. I'm having a strange issue I can't get to the bottom of. Essentially, the first time I log into the app after a period of inactivity (the app is deployed in production, but only being used by me), I will be brought to a 404 page, but if I go...
ruby-on-rails
restful
authentication
plugin
ruby
null
open
Strange Rails Authentication Issue === I'm using the RESTful authentication Rails plugin for an app I'm developing. I'm having a strange issue I can't get to the bottom of. Essentially, the first time I log into the app after a period of inactivity (the app is deployed in production, but only being used by me), I wi...
0
38,907
09/02/2008 05:46:42
2,823
08/25/2008 11:53:23
1
6
Developing on Eclipse 3.4, running on Eclipse 3.3
I'm developing an Eclipse plug-in, based on a bunch of core Eclipse plug-ins like SWT, JDT, GEF and others. I need my plug-in to be compatible with Eclipse 3.3, since many potential customers are still using it. However, personally I like the new features in Eclipse 3.4 and would like to use it for my development. ...
eclipse
eclipse-pde
null
null
null
null
open
Developing on Eclipse 3.4, running on Eclipse 3.3 === I'm developing an Eclipse plug-in, based on a bunch of core Eclipse plug-ins like SWT, JDT, GEF and others. I need my plug-in to be compatible with Eclipse 3.3, since many potential customers are still using it. However, personally I like the new features in Ec...
0
38,920
09/02/2008 06:15:57
479
08/06/2008 08:37:10
193
17
php mail() not working windows 2003, IIS SMTP
getting this: problem PHP Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 Unable to relay for chris.mahan@gmail.com in c:\inetpub\wwwroot\mailtest.php on line 12 from this page: <?php $to = "chris.mahan@gmail.com"; $subject = "test"; $body = "this is a test"; if ...
smtp
iis
php
null
null
null
open
php mail() not working windows 2003, IIS SMTP === getting this: problem PHP Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 Unable to relay for chris.mahan@gmail.com in c:\inetpub\wwwroot\mailtest.php on line 12 from this page: <?php $to = "chris.mahan@gmail.com"; $subject = "...
0
38,922
09/02/2008 06:17:20
2,737
08/24/2008 19:41:43
1
1
Running DB Migrations from application
I have a rails application where each user has a separate database (taking Joel Spolsky's advice on this). I want to run DB migrations from the rails application to create a new database and tables for this user. What is the easiest way to do this? Maybe db migrations is not the best for this type of thing. Thanks!
ruby-on-rails
null
null
null
null
null
open
Running DB Migrations from application === I have a rails application where each user has a separate database (taking Joel Spolsky's advice on this). I want to run DB migrations from the rails application to create a new database and tables for this user. What is the easiest way to do this? Maybe db migrations is not ...
0
38,934
09/02/2008 06:38:18
3,911
08/31/2008 21:22:39
1
1
How to take screenshot in Mac OS X using Cocoa or C++
How to take screenshot programmically of desktop area in Mac OS X ?
c++
osx
cocoa
null
null
null
open
How to take screenshot in Mac OS X using Cocoa or C++ === How to take screenshot programmically of desktop area in Mac OS X ?
0
38,940
09/02/2008 06:50:58
393,028
09/01/2008 13:58:49
8
4
Generate field in MySQL SELECT
If I've got a table containing Field1 and Field2 can I generate a new field in the select statement? For example, a normal query would be: SELECT Field1, Field2 FROM Table And I want to also create Field3 and have that returned in the resultset... something along the lines of this would be ideal: SELE...
mysql
null
null
null
null
null
open
Generate field in MySQL SELECT === If I've got a table containing Field1 and Field2 can I generate a new field in the select statement? For example, a normal query would be: SELECT Field1, Field2 FROM Table And I want to also create Field3 and have that returned in the resultset... something along the lines...
0
38,949
09/02/2008 06:58:34
3,935
09/01/2008 00:21:37
1
1
cross platform unicode support
I find that getting Unicode support in my cross-platform apps a real pain in the butt. I need strings that can go from C code, to a database, to a Java application and into a Perl module. Each of these use a different Unicode encodings (UTF8, UTF16) or some other code page. The biggest thing that I need is a cross...
java
c
perl
unicode
null
null
open
cross platform unicode support === I find that getting Unicode support in my cross-platform apps a real pain in the butt. I need strings that can go from C code, to a database, to a Java application and into a Perl module. Each of these use a different Unicode encodings (UTF8, UTF16) or some other code page. The ...
0
38,952
09/02/2008 07:01:30
1,721
08/18/2008 09:58:47
38
5
Unable to determine guest operating system: Vmware error
Ok, here's a very short and to the point question. When trying to import a virtual PC 2004 Windows 2003 Server VM in VM Workstation 6.0.2 I'm getting an error 'unable to determine guest operating system'. Soo how to fix?
vmware
null
null
null
null
null
open
Unable to determine guest operating system: Vmware error === Ok, here's a very short and to the point question. When trying to import a virtual PC 2004 Windows 2003 Server VM in VM Workstation 6.0.2 I'm getting an error 'unable to determine guest operating system'. Soo how to fix?
0
38,955
09/02/2008 07:11:40
85
08/01/2008 16:38:08
88
1
Is it possible to get the maximum supported resolution of a connected display in os x from java?
What the title says. Assume java 1.6 and leopard. Ideally, it would also be nice to get a list of all supported resolutions and the current resolution. If this isn't possible in java, is there some way to do it that could be called from java?
java
osx
osx-leopard
resolution
null
null
open
Is it possible to get the maximum supported resolution of a connected display in os x from java? === What the title says. Assume java 1.6 and leopard. Ideally, it would also be nice to get a list of all supported resolutions and the current resolution. If this isn't possible in java, is there some way to do it that co...
0
38,960
09/02/2008 07:18:48
2,260
08/21/2008 11:39:22
244
22
How to find out if a file exists in C# / .NET?
I would like to test a string containing a path to a file for existence of that file (something like the -e test in Perl or the os.path.exists() in Python) in C#.
c#
.net
io
null
null
null
open
How to find out if a file exists in C# / .NET? === I would like to test a string containing a path to a file for existence of that file (something like the -e test in Perl or the os.path.exists() in Python) in C#.
0
38,974
09/02/2008 07:23:14
2,638
08/23/2008 20:10:14
596
34
Tool to check Doxygen markup is up to date
I'm using Doxygen to generate documentation for my (C++) code, and am wondering if there is a tool that would give me a list of all functions/methods for which the current Doxygen markup doesn't describe all the arguments (or describes too many)? Maybe this is already included in Doxygen? (in which case I couldn't find...
c++
documentation
doxygen
null
null
null
open
Tool to check Doxygen markup is up to date === I'm using Doxygen to generate documentation for my (C++) code, and am wondering if there is a tool that would give me a list of all functions/methods for which the current Doxygen markup doesn't describe all the arguments (or describes too many)? Maybe this is already inc...
0
38,987
09/02/2008 07:44:30
3,207
08/27/2008 13:12:39
320
16
How can I merge two Python dictionaries as a single expression?
I have two Python dictionaries, and I want to write a single expression that returns these two dictionaries, merged. The update() method would be what I need, if it returned its result instead of modifying a dict in-place. >>> x = {'a':1, 'b': 2} >>> y = {'b':10, 'c': 11} >>> z = x.update(y) >>> ...
python
dictionary
null
null
null
null
open
How can I merge two Python dictionaries as a single expression? === I have two Python dictionaries, and I want to write a single expression that returns these two dictionaries, merged. The update() method would be what I need, if it returned its result instead of modifying a dict in-place. >>> x = {'a':1, 'b':...
0
38,993
09/02/2008 08:05:43
4,161
09/02/2008 07:55:46
1
0
Regex to match unique substrings
Here's a basic regex technique that I've never managed to remember. Let's say I'm using a fairly generic regex implementation (e.g., grep or grep -e). If I were to do a list of files and match any that end in either ".sty" or ".cls", how would I do that?
regex
null
null
null
null
null
open
Regex to match unique substrings === Here's a basic regex technique that I've never managed to remember. Let's say I'm using a fairly generic regex implementation (e.g., grep or grep -e). If I were to do a list of files and match any that end in either ".sty" or ".cls", how would I do that?
0
38,998
09/02/2008 08:09:24
3,212
08/27/2008 13:16:46
1
0
Can I stop .NET eating IDs?
I'm an Information Architect and JavaScript developer by trade nowadays, but recently I've been getting back into back-end coding again. And, whilst trying to get an HTML prototype integrated and working with our C#-based CMS, I've come to blows with our programmers over the HTML ID attributes being arbitrarily rewrit...
c#
.net
javascript
html
css
null
open
Can I stop .NET eating IDs? === I'm an Information Architect and JavaScript developer by trade nowadays, but recently I've been getting back into back-end coding again. And, whilst trying to get an HTML prototype integrated and working with our C#-based CMS, I've come to blows with our programmers over the HTML ID at...
0
39,003
09/02/2008 08:13:58
3,024
08/26/2008 12:30:57
68
7
NUnit - How to test all classes that implement a particular interface
If I have interface IFoo, and have several classes that implement it, what is the best/most elegant/cleverest way to test all those classes against the interface? I'd like to reduce test code duplication, but still 'stay true' to the principles of Unit testing. What would you consider best practice? I'm using NUn...
c#
.net
unit-testing
nunit
null
null
open
NUnit - How to test all classes that implement a particular interface === If I have interface IFoo, and have several classes that implement it, what is the best/most elegant/cleverest way to test all those classes against the interface? I'd like to reduce test code duplication, but still 'stay true' to the principl...
0
39,006
09/02/2008 08:14:54
2,975
08/26/2008 09:40:04
301
21
Getting an error when starting WAMP - "VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results"
I'm running WAMP v2.0 on WindowsXP and I've got a bunch of virtual hosts setup in the http-vhosts.conf file. This was working, but in the last week whenever I try & start WAMP I get this error in the event logs: > VirtualHost *:80 -- mixing * ports and > non-* ports with a NameVirtualHost > address is not suppo...
wamp
apache
windows
null
null
null
open
Getting an error when starting WAMP - "VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results" === I'm running WAMP v2.0 on WindowsXP and I've got a bunch of virtual hosts setup in the http-vhosts.conf file. This was working, but in the ...
0
39,007
09/02/2008 08:15:20
1,367
08/14/2008 18:33:20
433
26
Speeding up XAML editing in VS2008
When editing XAML in VS2008 SP1, the editor is really slow. devenv process seems to be around at 40% CPU (the machine I’m using at the moment is only dual core, so that’s almost maxing out one core) most of the time. It spikes up a bit more when I switch to another XAML file. I do also have ReSharper installed, but I t...
vs2008
xaml
null
null
null
null
open
Speeding up XAML editing in VS2008 === When editing XAML in VS2008 SP1, the editor is really slow. devenv process seems to be around at 40% CPU (the machine I’m using at the moment is only dual core, so that’s almost maxing out one core) most of the time. It spikes up a bit more when I switch to another XAML file. I d...
0
39,020
09/02/2008 08:23:51
3,869
08/31/2008 14:21:44
69
3
What are some good IRC channels for programmers?
I am looking for some IRC channels for programmers. Websites, forums, and stackoverflow are good for large-ish questions, but for quick stupid things or just chatting about issues with easy back-and-forth then IRC would be ideal. Can anyone recommend IRC channels, either about specific languages or more general pro...
language-agnostic
irc
null
null
null
null
open
What are some good IRC channels for programmers? === I am looking for some IRC channels for programmers. Websites, forums, and stackoverflow are good for large-ish questions, but for quick stupid things or just chatting about issues with easy back-and-forth then IRC would be ideal. Can anyone recommend IRC channel...
0
39,029
09/02/2008 08:33:54
4,161
09/02/2008 07:55:46
18
0
Is LaTeX used outside mathematics and academia?
This seems like an interesting forum to ask if anyone's come across semi-serious LaTeX usage outside of its traditional fields like mathematics, computer science, and other academic disciplines. While the learning curve is rather steep (for some people), it seems in many cases like it *could* be a very useful tool i...
latex
null
null
null
null
null
open
Is LaTeX used outside mathematics and academia? === This seems like an interesting forum to ask if anyone's come across semi-serious LaTeX usage outside of its traditional fields like mathematics, computer science, and other academic disciplines. While the learning curve is rather steep (for some people), it seems ...
0
39,037
09/02/2008 08:42:22
3,611
08/29/2008 11:21:48
1
0
How to convert Word and Excel documents to PDF programmatically?
We are developing a little application that given a directory with PDF files creates a unique PDF file containing all the PDF files in the directory. This is a simple task using iTextSharp. The problem appears if in the directory exist some files like Word documents, or Excel documents. My question is, is there a wa...
automation
office
null
null
null
null
open
How to convert Word and Excel documents to PDF programmatically? === We are developing a little application that given a directory with PDF files creates a unique PDF file containing all the PDF files in the directory. This is a simple task using iTextSharp. The problem appears if in the directory exist some files lik...
0
39,051
09/02/2008 08:51:53
4,071
09/01/2008 16:23:50
1
2
Any recommended source code browser/explorers (Windows/C/C++)?
I'm looking for any recommendations for source code browsers, but especially ones that work on a large evolving source code base (somtimes in the order of 100k files, but more often about 10k files). My requirements would be: - Some level of C/C++ language symbol parsing - Straight text searches (with some rege...
software-tools
null
null
null
null
null
open
Any recommended source code browser/explorers (Windows/C/C++)? === I'm looking for any recommendations for source code browsers, but especially ones that work on a large evolving source code base (somtimes in the order of 100k files, but more often about 10k files). My requirements would be: - Some level of C/C++...
0
39,065
09/02/2008 09:05:04
1,090
08/12/2008 11:16:17
33
3
Referencing resource files from multiple projects in a solution
I am working on localization for a asp.net application that consists of several projects. For this, there are some strings that are used in several of these projects. Naturally, I would prefer to have only one copy of the resource file in each project. Since the resource files don't have an namespace (at least as...
localization
c#
resx
null
null
null
open
Referencing resource files from multiple projects in a solution === I am working on localization for a asp.net application that consists of several projects. For this, there are some strings that are used in several of these projects. Naturally, I would prefer to have only one copy of the resource file in each proj...
0
39,066
09/02/2008 09:05:28
4,161
09/02/2008 07:55:46
23
0
Move all windows to a single monitor (with two attached) in Mac OS X?
Whenever I use my MacBook away from my desk and later plug it into an external display (as primary), I get into the state of having windows deposited in both the notebook monitor and the external one. To move all windows to a single screen, my current solution is to "Turn on mirroring" in the display preferences and...
macosx
multiple-monitors
null
null
null
null
open
Move all windows to a single monitor (with two attached) in Mac OS X? === Whenever I use my MacBook away from my desk and later plug it into an external display (as primary), I get into the state of having windows deposited in both the notebook monitor and the external one. To move all windows to a single screen, m...
0
39,070
09/02/2008 09:06:04
4,180
09/02/2008 09:06:04
1
0
Programmable, secure FTP replacement.
We need to move off traditional FTP for security purposes (it transmits it's passwords unencrypted). I am hearing SSH touted as the obvious alternative. However I have been driving FTP from an ASP.NET program interface to automate my web-site development, which is now quite a highly web-enabled process. Can anyone ...
asp.net
ftp
null
null
null
null
open
Programmable, secure FTP replacement. === We need to move off traditional FTP for security purposes (it transmits it's passwords unencrypted). I am hearing SSH touted as the obvious alternative. However I have been driving FTP from an ASP.NET program interface to automate my web-site development, which is now quite a ...
0
39,086
09/02/2008 09:19:04
4,166
09/02/2008 08:38:50
1
0
Search and replace a line in a file in Python
I want to loop over the contents of a text file and do a search and replace on some lines and write the result back to the file. I could first load the whole file in memory and then write it back, but that probably is not the best way to do it. What is the best way to do this, within the following code? f...
python
null
null
null
null
null
open
Search and replace a line in a file in Python === I want to loop over the contents of a text file and do a search and replace on some lines and write the result back to the file. I could first load the whole file in memory and then write it back, but that probably is not the best way to do it. What is the best way ...
0
39,092
09/02/2008 09:28:12
2,948
08/26/2008 08:39:22
422
10
OpenGL or DirectX for a new Windows game project?
I'm starting a hobby game project on Windows that will make heavy use of 3D graphics effects. It will most likely be written in C++. Should I use OpenGL or DirectX for my graphics backend? Why? Some "how to get started" links would be useful. (On either technology, or both.)
opengl
directx
windows
null
null
null
open
OpenGL or DirectX for a new Windows game project? === I'm starting a hobby game project on Windows that will make heavy use of 3D graphics effects. It will most likely be written in C++. Should I use OpenGL or DirectX for my graphics backend? Why? Some "how to get started" links would be useful. (On either techn...
0
39,104
09/02/2008 09:40:26
4,198
09/02/2008 09:40:26
1
0
Finding a file in a Python module distribution
I've written a Python package that includes a bsddb database of pre-computed values for one of the more time-consuming computations. For simplicity, my setup script installs the database file in the same directory as the code which accesses the database (on Unix, something like /usr/lib/python2.5/site-packages/mypacka...
python
distutils
--file--
null
null
null
open
Finding a file in a Python module distribution === I've written a Python package that includes a bsddb database of pre-computed values for one of the more time-consuming computations. For simplicity, my setup script installs the database file in the same directory as the code which accesses the database (on Unix, som...
0
39,107
09/02/2008 09:41:23
1,578
08/16/2008 20:25:25
221
10
Tool for degrading my network connection ?
I've written some applications than heavily use network, and I would to test it over a slow network. I'm looking for a tool to simulate this kind of connections.
networking
null
null
null
null
null
open
Tool for degrading my network connection ? === I've written some applications than heavily use network, and I would to test it over a slow network. I'm looking for a tool to simulate this kind of connections.
0
39,108
09/02/2008 09:41:44
3,993
09/01/2008 08:11:56
1
1
drawing animations at the show of JDialog
What would be the best way to draw a simple animation just before showing a modal JDialog? (i.e. expanding borders from the mouse click point to the dialog location). I thought it would be possible to draw on the glasspane of the parent frame on the setVisible method of the dialog. However since the JDialog is modal to...
java
gui
swing
animation
null
null
open
drawing animations at the show of JDialog === What would be the best way to draw a simple animation just before showing a modal JDialog? (i.e. expanding borders from the mouse click point to the dialog location). I thought it would be possible to draw on the glasspane of the parent frame on the setVisible method of t...
0
39,112
09/02/2008 09:42:44
2,471
08/22/2008 12:47:10
51
2
What is the best way to lock cache in asp.net?
I know in certain circumstances, such as long running processes, it is important to lock ASP.NET cache in order to avoid subsequent requests by another user for that resource from executing the long process again instead of hitting the cache. What is the best way in c# to implement cache locking in ASP.NET?
c#
.net
asp.net
caching
null
null
open
What is the best way to lock cache in asp.net? === I know in certain circumstances, such as long running processes, it is important to lock ASP.NET cache in order to avoid subsequent requests by another user for that resource from executing the long process again instead of hitting the cache. What is the best way i...
0
39,116
09/02/2008 09:44:16
4,192
09/02/2008 09:26:43
1
1
Linking statically in C#
I'm working on a module for a CMS. This module is distributed as a class library DLL. I have several utility libraries I'd like to use in this module. Is there anyway I can link these libraries statically so I won't have to distribute several DLL's (thereby distributing my utility libraries separately)? I would l...
c#
vs2008
linker
null
null
null
open
Linking statically in C# === I'm working on a module for a CMS. This module is distributed as a class library DLL. I have several utility libraries I'd like to use in this module. Is there anyway I can link these libraries statically so I won't have to distribute several DLL's (thereby distributing my utility libra...
0
39,119
09/02/2008 09:46:16
905
08/10/2008 09:37:14
3,128
201
How can I control checkboxes in a .Net Forms.TreeView?
I have a .Net desktop application with a TreeView as one of the UI elements. I want to be able to multi-select that TreeView, only that isn't supported at all. So I'm adding check-boxes to the tree, My problem is that only some items are selectable, and those that aren't can't consistently cascade selections. ...
.net
treeview
null
null
null
null
open
How can I control checkboxes in a .Net Forms.TreeView? === I have a .Net desktop application with a TreeView as one of the UI elements. I want to be able to multi-select that TreeView, only that isn't supported at all. So I'm adding check-boxes to the tree, My problem is that only some items are selectable, and ...
0
39,121
09/02/2008 09:46:36
115
08/02/2008 05:44:40
480
70
Beta Testing
I have a project that I would like to start beta testing soon, it is a PHP/MySQL site for programmers.<br /> I have beta tested sites before however it was always in-house, and I have never done betas that could/should be seen by someone other then those associated with the project.<br /><br />So, how should I go abou...
beta
testing
null
null
null
null
open
Beta Testing === I have a project that I would like to start beta testing soon, it is a PHP/MySQL site for programmers.<br /> I have beta tested sites before however it was always in-house, and I have never done betas that could/should be seen by someone other then those associated with the project.<br /><br />So, ho...
0
39,125
09/02/2008 09:49:42
254
08/04/2008 05:45:21
26
0
How can a .net class library be protected so it cant be referenced by other applications?
How can a .net class library project and resulting dll be protected so it cant be referenced by other applications?
class-library
.net
c#
null
null
null
open
How can a .net class library be protected so it cant be referenced by other applications? === How can a .net class library project and resulting dll be protected so it cant be referenced by other applications?
0
39,135
09/02/2008 09:56:01
1,109
08/12/2008 12:16:58
860
63
Can you have virtual users using an SFTP server?
I've had a FTP server (Mac OS X, but not the server version) set up for a while where the users are virtual, i.e. they are not actual user accounts in the server's OS, but accounts handled by the FTP server software -- to the OS they all look like the `ftp` user account. I'd like to retire the FTP server software and g...
ftp
ssh
sftp
macosx
null
null
open
Can you have virtual users using an SFTP server? === I've had a FTP server (Mac OS X, but not the server version) set up for a while where the users are virtual, i.e. they are not actual user accounts in the server's OS, but accounts handled by the FTP server software -- to the OS they all look like the `ftp` user acc...
0
39,154
09/02/2008 10:06:25
4,161
09/02/2008 07:55:46
33
1
Do you version "derived" files?
Using online interfaces to a version control system is a nice way to have a published location for the most recent versions of code. For example, I have a LaTeX package here (which is released to CTAN whenever changes are verified to actually work): <http://github.com/wspr/pstool/tree/master> The package itself...
version-control
null
null
null
null
null
open
Do you version "derived" files? === Using online interfaces to a version control system is a nice way to have a published location for the most recent versions of code. For example, I have a LaTeX package here (which is released to CTAN whenever changes are verified to actually work): <http://github.com/wspr/psto...
0
39,159
09/02/2008 10:11:01
3,024
08/26/2008 12:30:57
83
7
Is it possible to run OSX in a virtual machine?
I'd love to be able to try Mac OSX in a VM, preferable on something shiny and new like KVM for linux. I'm a Linux and Windows person, but would like to try out OSX without investing in the expensive hardware or accumulating yet another box to fit somewhere under my desk. (Read: no I don't want to get a Mac Mini) ...
osx
vmware
virtualization
null
null
05/24/2011 20:21:42
off topic
Is it possible to run OSX in a virtual machine? === I'd love to be able to try Mac OSX in a VM, preferable on something shiny and new like KVM for linux. I'm a Linux and Windows person, but would like to try out OSX without investing in the expensive hardware or accumulating yet another box to fit somewhere under m...
2
39,186
09/02/2008 10:30:58
4,161
09/02/2008 07:55:46
48
1
Should I use GitHub+Fogbugz or Assembla?
I'm trying to work out the lowest friction hosting solution for a bunch of open source, one man (i.e., me) projects. Recently I started using Git and naturally fell into using GitHub as well, which I've found very nice. I also discovered that Fogbugz is free for small teams and started using that for my bug tracking. ...
version-control
git
null
null
null
null
open
Should I use GitHub+Fogbugz or Assembla? === I'm trying to work out the lowest friction hosting solution for a bunch of open source, one man (i.e., me) projects. Recently I started using Git and naturally fell into using GitHub as well, which I've found very nice. I also discovered that Fogbugz is free for small teams...
0
39,187
09/02/2008 10:31:38
4,203
09/02/2008 10:09:59
1
1
How do I install a color theme for IntelliJ IDEA 7.0.x
I prefer dark backgrounds for coding, and I've downloaded a jar file containing an IntelliJ IDEA color theme that has a dark background. How do I tell IntelliJ about it?
intellij
null
null
null
null
null
open
How do I install a color theme for IntelliJ IDEA 7.0.x === I prefer dark backgrounds for coding, and I've downloaded a jar file containing an IntelliJ IDEA color theme that has a dark background. How do I tell IntelliJ about it?
0
39,188
09/02/2008 10:32:20
4,021
09/01/2008 12:23:44
1
0
Repairing an MDF file
Can somebody in this forum recommend a tool/procedure to repair or recover a corrupt SQL Server 2000 database file?
sql-server
null
null
null
null
07/01/2012 13:12:34
not constructive
Repairing an MDF file === Can somebody in this forum recommend a tool/procedure to repair or recover a corrupt SQL Server 2000 database file?
4
39,194
09/02/2008 10:37:06
3,827
08/31/2008 04:42:17
246
20
Do I need a Mac to to make a Java application bundle?
I want to create a Java application bundle for Mac without using Mac. According to [Java Deployment Options for Mac OS X][1], I can do this by using Xcode, Jar Bundler, or from the command line. Once the files and folders are set up, all I need for the command line method is to call /Developer/Tools/SetFile. Is ther...
java
osx
deployment
null
null
null
open
Do I need a Mac to to make a Java application bundle? === I want to create a Java application bundle for Mac without using Mac. According to [Java Deployment Options for Mac OS X][1], I can do this by using Xcode, Jar Bundler, or from the command line. Once the files and folders are set up, all I need for the comma...
0
39,196
09/02/2008 10:37:14
2,138
08/20/2008 14:23:45
83
6
group_concat query performance
i am having serious performance problems (queries up to 55 seconds) while running a mysql query since i added a group_concat clause. my query looks like: select ... group_concat(distinct category.name) .... from page where left outer join page_category on page.id = story_category.page_id left ou...
mysql
sql
performance
null
null
null
open
group_concat query performance === i am having serious performance problems (queries up to 55 seconds) while running a mysql query since i added a group_concat clause. my query looks like: select ... group_concat(distinct category.name) .... from page where left outer join page_category on page.id = s...
0
39,222
09/02/2008 10:57:10
163
08/02/2008 20:40:09
499
21
Portaby handle exceptional errors in C++
I'm working on porting a Visual C++ application to GCC (should build on MingW and Linux). The existing code uses `__try { ... } __except(1) { ... }` blocks in a few places so that almost nothing (short of maybe out of memory type errors?) would make the program exit without doing some minimal logging. What are th...
visual-c++
gcc
portability
crossplatform
exception
null
open
Portaby handle exceptional errors in C++ === I'm working on porting a Visual C++ application to GCC (should build on MingW and Linux). The existing code uses `__try { ... } __except(1) { ... }` blocks in a few places so that almost nothing (short of maybe out of memory type errors?) would make the program exit with...
0
39,229
09/02/2008 11:07:23
184
08/03/2008 05:34:19
1,661
24
Can I use other IDEs other than Visual Studio for coding in .net?
What are the options? How popular are they? Do these IDEs give similar/better functionality compared to visual studio?
.net
visual-studio
null
null
null
null
open
Can I use other IDEs other than Visual Studio for coding in .net? === What are the options? How popular are they? Do these IDEs give similar/better functionality compared to visual studio?
0
39,240
09/02/2008 11:12:35
191
08/03/2008 09:55:26
64
2
"Similar Posts" like functionality using MS SQL Server
I have lots of article store in MS SQL server 2005 database in a table called Articles: "Articles (ArticleID, ArticleTitle, ArticleContent)" Now I want some SP or SQL query which could return me similar Article against any user's input (very much like "Similar Posts" in blogs OR "Related Questions" in stackov...
database
sql
mssql
null
null
null
open
"Similar Posts" like functionality using MS SQL Server === I have lots of article store in MS SQL server 2005 database in a table called Articles: "Articles (ArticleID, ArticleTitle, ArticleContent)" Now I want some SP or SQL query which could return me similar Article against any user's input (very much lik...
0
39,243
09/02/2008 11:14:36
4,021
09/01/2008 12:23:44
6
0
Query to identify the number of revisions made to a table
Is there any query which can return me the number of revisions made to the structure of a database table? Secondly, how can I determine the number of pages (in terms of size) present in mdf or ldf files?
sql-server
null
null
null
null
null
open
Query to identify the number of revisions made to a table === Is there any query which can return me the number of revisions made to the structure of a database table? Secondly, how can I determine the number of pages (in terms of size) present in mdf or ldf files?
0
39,254
09/02/2008 11:22:31
2,974
08/26/2008 09:39:16
464
38
What's the difference between DOCUMENT_URI and URI_REQUEST in SSI?
When looking at a SSI printenv dump I see a variable URI_REQUEST. When reading the Apache mod_include docs I see DOCUMENT_URI which they define as "The (%-decoded) URL path of the document requested by the user." Anyone know the difference between the two? TIA.
ssi
apache
null
null
null
null
open
What's the difference between DOCUMENT_URI and URI_REQUEST in SSI? === When looking at a SSI printenv dump I see a variable URI_REQUEST. When reading the Apache mod_include docs I see DOCUMENT_URI which they define as "The (%-decoded) URL path of the document requested by the user." Anyone know the difference be...
0
39,256
09/02/2008 11:26:07
1,970
08/19/2008 16:04:51
83
9
What web log file analyzer do you recommend
I am looking into getting a log file analysis tool for multiple sites. All the sites currently run Google analytics, however I have noticed that the stats that this provides can be a bit off (lower numbers than log files report etc etc). It needn't be expensive although expensive tools will be considered. It n...
analytics
null
null
null
null
null
open
What web log file analyzer do you recommend === I am looking into getting a log file analysis tool for multiple sites. All the sites currently run Google analytics, however I have noticed that the stats that this provides can be a bit off (lower numbers than log files report etc etc). It needn't be expensive alt...
0
39,276
09/02/2008 11:34:06
4,171
09/02/2008 08:46:59
1
3
.NET Scanning API
Is there any free or commercial component written in .NET (no COM interop) that will work with most twain scanners?
c#
.net
null
null
null
null
open
.NET Scanning API === Is there any free or commercial component written in .NET (no COM interop) that will work with most twain scanners?
0