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 Dog, Cat, Fish, ect... I am popluating the DropDownList from a SQL 2005 table that I created e.g. tblCodes Everything works great and users are able to add orders using the numerous DropDownList controls to choose items from the list. The problem occurrs if a user wants to change one of their custom dropdowns. For example a user would like to change the verbage on a animal type control from Dog to K9. This is where the problem starts. For all new orders the drop down works fine. When the user retrieved an old order I get the following error in the C# codebehind "'DropDownList1' has a SelectedValue which is invalid because it does not exist in the list of items." What's happening is the old order has a database field value of Dog and the DropDownList no longer has Dog in its list since the user changed it to K9. Any ideas on a workaround? Is there a way to make the asp:DropDownList accept items not seeded in its list? Is there another control I could use?
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 codes the site also has custom codes that the users can configure themselves. For example a animal dropdown may contain the values Dog, Cat, Fish, ect... I am popluating the DropDownList from a SQL 2005 table that I created e.g. tblCodes Everything works great and users are able to add orders using the numerous DropDownList controls to choose items from the list. The problem occurrs if a user wants to change one of their custom dropdowns. For example a user would like to change the verbage on a animal type control from Dog to K9. This is where the problem starts. For all new orders the drop down works fine. When the user retrieved an old order I get the following error in the C# codebehind "'DropDownList1' has a SelectedValue which is invalid because it does not exist in the list of items." What's happening is the old order has a database field value of Dog and the DropDownList no longer has Dog in its list since the user changed it to K9. Any ideas on a workaround? Is there a way to make the asp:DropDownList accept items not seeded in its list? Is there another control I could use?
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.cocotron.org/) seems nice, but doesn't seem like it has proper Linux support at the moment, which is a must. Have any of you used the above? How did you like it? Do you know any other implementations?
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 things about it. [The Cocotron](http://www.cocotron.org/) seems nice, but doesn't seem like it has proper Linux support at the moment, which is a must. Have any of you used the above? How did you like it? Do you know any other implementations?
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 component where they used XML to handle the scheduling data in the demo. They created an ObjectDataSource class. Here is a [LINK][1] to that demo if anyone is interested. [1]: http://www.telerik.com/support/teleriktrainer/teleriktrainerpreview/b332i-bb-b332c-a.aspx
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 was on a Telerik Trainer video/code for their Scheduler component where they used XML to handle the scheduling data in the demo. They created an ObjectDataSource class. Here is a [LINK][1] to that demo if anyone is interested. [1]: http://www.telerik.com/support/teleriktrainer/teleriktrainerpreview/b332i-bb-b332c-a.aspx
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 of day. Along these same lines (this is primarily my interest for static analysis), tools for testing code for multithreading issues (deadlocks, race conditions, etc.) also seem a bit scarce. Typemock Racer just popped up so I'll be looking at that. Anything beyond this?
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 it, so it would be nice if it would ever see the light of day. Along these same lines (this is primarily my interest for static analysis), tools for testing code for multithreading issues (deadlocks, race conditions, etc.) also seem a bit scarce. Typemock Racer just popped up so I'll be looking at that. Anything beyond this?
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/KB/macros/MoleForVisualStudioEdit.aspx
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 a more efficient way than using "fieldnames" and a for loop?
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.field4 = 'b'; Is there a more efficient way than using "fieldnames" and a for loop?
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 method.
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 pro's/con's of using either method.
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 much it -- it's obviously not possible with the Flash Player and AIR runtimes from Adobe. Is there any project (e.g. based on the Tamarin code) that is attempting to implement something that would provide this kind of functionality?
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 connections and AIR apps that write to files in the local filesystem, but that's pretty much it -- it's obviously not possible with the Flash Player and AIR runtimes from Adobe. Is there any project (e.g. based on the Tamarin code) that is attempting to implement something that would provide this kind of functionality?
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.g. simple to use and fast. What do you think?
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 particular application, but failing that, any suggestions about how to achieve the same effect would be really helpful.
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 I'd like to be able to map everything under MyApp to a particular application, but failing that, any suggestions about how to achieve the same effect would be really helpful.
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 sed -i -r "s/\t/ /g" $1 I see subversion has a start-commit and pre-commit hooks but I can't follow the documentation about how I could process the text files with the above script.
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 sed -i 's/[ \t]*$//g' $1 # Convert tabs to 4 spaces sed -i -r "s/\t/ /g" $1 I see subversion has a start-commit and pre-commit hooks but I can't follow the documentation about how I could process the text files with the above script.
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 another site that has the same function that works perfectly, so it's not the server. The only difference between the two is that the site that doesn't work just has the name server pointing to us and so the MX record never touches our server. So my question is, could some one please confirm that the mail() function wont work if we don't have the MX record pointing to our server. Thanks
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 does. So it's not my code. It's a shared host and we have another site that has the same function that works perfectly, so it's not the server. The only difference between the two is that the site that doesn't work just has the name server pointing to us and so the MX record never touches our server. So my question is, could some one please confirm that the mail() function wont work if we don't have the MX record pointing to our server. Thanks
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 thought it may be the type of control as initially I was trying to reference a repeater inside an update panel. I know I am correctly referencing the code behind in my aspx page. But just in case it was a screw up on my part I started to recreate the page from scratch and this time got a few more controls down before VS stopped recognizing my controls. After creating my page twice and getting stuck I thought maybe it was still the type of controls. I created a new page and just threw some labels on it. No dice, build fails when referencing the control from the code behind. In a possibly unrelated note when I switch to the dreaded "design" mode of the aspx pages VS 2008 errors out and restarts. I have already put a trouble ticket in to Microsoft. I uninstalled all add-ins, I reinstalled visual studio. Anyone that wants to see my code just ask, but I am using the straight WYSIWYG visual studio "new aspx page" nothing fancy. I doubt anyone has run into this, but have you? Has anyone had success trouble shooting these things with Microsoft? Any way to expedite this ticket without paying??? I have been talking to a rep from Microsoft for days with no luck yet and I am dead in the water. Thank you.
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, then it just stops. I first thought it may be the type of control as initially I was trying to reference a repeater inside an update panel. I know I am correctly referencing the code behind in my aspx page. But just in case it was a screw up on my part I started to recreate the page from scratch and this time got a few more controls down before VS stopped recognizing my controls. After creating my page twice and getting stuck I thought maybe it was still the type of controls. I created a new page and just threw some labels on it. No dice, build fails when referencing the control from the code behind. In a possibly unrelated note when I switch to the dreaded "design" mode of the aspx pages VS 2008 errors out and restarts. I have already put a trouble ticket in to Microsoft. I uninstalled all add-ins, I reinstalled visual studio. Anyone that wants to see my code just ask, but I am using the straight WYSIWYG visual studio "new aspx page" nothing fancy. I doubt anyone has run into this, but have you? Has anyone had success trouble shooting these things with Microsoft? Any way to expedite this ticket without paying??? I have been talking to a rep from Microsoft for days with no luck yet and I am dead in the water. Thank you.
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 to `/questions?page=2 &sort=newest`. I suppose that at server side, the request is translated into an SQL query with LIMIT clause. Problem with this approach is, that if new question were added while user browses first page, his second page will start with some questions he already saw. (If he has 10 question per page, and 10 new questions happened to be added, he’ll get exactly the same content second time!) Is there an elegant way to solve this common problem? I realize that it is not that big a problem, at least not for stackoverflow, but still. The best idea I have (apart from storing request history per client) is to use `/questions?answer_id=NNN` format. Server returns a page that starts with the requested answer, and puts the id of the first answer on the next page into next page link. There must be a way to write SQL for that, right? Is it how it usually done? Or there is a better way?
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 `/questions ?sort=newest` page. Next page link leads to `/questions?page=2 &sort=newest`. I suppose that at server side, the request is translated into an SQL query with LIMIT clause. Problem with this approach is, that if new question were added while user browses first page, his second page will start with some questions he already saw. (If he has 10 question per page, and 10 new questions happened to be added, he’ll get exactly the same content second time!) Is there an elegant way to solve this common problem? I realize that it is not that big a problem, at least not for stackoverflow, but still. The best idea I have (apart from storing request history per client) is to use `/questions?answer_id=NNN` format. Server returns a page that starts with the requested answer, and puts the id of the first answer on the next page into next page link. There must be a way to write SQL for that, right? Is it how it usually done? Or there is a better way?
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 closing P tag, however it is grabbing the first P tag and the **LAST** closing P tag which results in me grabbing everything. Here is my current code: if (preg_match("/[\\s]*<p>[\\s]*(?<firstparagraph>[\\s\\S]+)[\\s]*<\\/p>[\\s\\S]*/",$blog_post,$blog_paragraph)) echo "<p>" . $blog_paragraph["firstparagraph"] . "</p>"; else echo $blog_post;
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 between the first P tag and the first closing P tag, however it is grabbing the first P tag and the **LAST** closing P tag which results in me grabbing everything. Here is my current code: if (preg_match("/[\\s]*<p>[\\s]*(?<firstparagraph>[\\s\\S]+)[\\s]*<\\/p>[\\s\\S]*/",$blog_post,$blog_paragraph)) echo "<p>" . $blog_paragraph["firstparagraph"] . "</p>"; else echo $blog_post;
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 $opt_v be (effectively) a global. In ruby, while I'm fine with the mechanics of processing command-line options, having classes know about global flags like that seems a bit wrong. What's the idiomatic way of doing this? * Let the main routine take care of all the I/O and have the classes just return things to it that it decides how to deal with? * Have classes know how to be verbose and set a mode via an attr_writer sort of thing?
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"; In perl, I kind of grit my teeth and let $opt_v be (effectively) a global. In ruby, while I'm fine with the mechanics of processing command-line options, having classes know about global flags like that seems a bit wrong. What's the idiomatic way of doing this? * Let the main routine take care of all the I/O and have the classes just return things to it that it decides how to deal with? * Have classes know how to be verbose and set a mode via an attr_writer sort of thing?
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, and I have also seen manual implementations of making panel visible/invisible. What are the best ways that people have used in the past, that are easy to implement, and also make it easy to add "pages" to the wizard later on if needed?
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 this. I have seen a couple of 3rd party Wizard controls, and I have also seen manual implementations of making panel visible/invisible. What are the best ways that people have used in the past, that are easy to implement, and also make it easy to add "pages" to the wizard later on if needed?
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 still cause an exception to be raised. I did find one [MSDN forum thread][2] that seems to imply that this has been known to happen, but there doesn't seem to be any resolution for it. Any ideas what might be going on? [1]: http://msdn.microsoft.com/en-us/library/ms144196(VS.80).aspx [2]: http://forums.msdn.microsoft.com/en-US/netfxnetcom/thread/1c046c42-5b45-43d1-9d48-65ffabd6f798/
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 from the looks of the [MSDN documentation][1] this should still cause an exception to be raised. I did find one [MSDN forum thread][2] that seems to imply that this has been known to happen, but there doesn't seem to be any resolution for it. Any ideas what might be going on? [1]: http://msdn.microsoft.com/en-us/library/ms144196(VS.80).aspx [2]: http://forums.msdn.microsoft.com/en-US/netfxnetcom/thread/1c046c42-5b45-43d1-9d48-65ffabd6f798/
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(); //This is just to see transaction working throw new Exception("Exception"); foreach (qfh.Beneficiary b1 in l) { b1.Create(); } } catch (Exception ex) { t.VoteRollBack(); MessageBox.Show(ex.Message); } finally { t.Dispose(); } But it doesn't work, I throw an Exception just to try the transaction rolls back, but for my surprise I see that the first [Save] records into the database. What is happening? I'm new on Castle and NHibernate, firstly I saw it very attractive and I decided to go on with it and MySQL (I've never worked with this DB), I tried ActiveWriter and it seemed very promising but after a long and effortly week I see this issue and now I feel like I'm stuck and like I've wasted my time. It is supposed to be easy but right now I'm feeling a frustated cause I cannot find enough information to make this workout, can you help me? [1]: http://www.castleproject.org/activerecord/index.html
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 { member.Save(); //This is just to see transaction working throw new Exception("Exception"); foreach (qfh.Beneficiary b1 in l) { b1.Create(); } } catch (Exception ex) { t.VoteRollBack(); MessageBox.Show(ex.Message); } finally { t.Dispose(); } But it doesn't work, I throw an Exception just to try the transaction rolls back, but for my surprise I see that the first [Save] records into the database. What is happening? I'm new on Castle and NHibernate, firstly I saw it very attractive and I decided to go on with it and MySQL (I've never worked with this DB), I tried ActiveWriter and it seemed very promising but after a long and effortly week I see this issue and now I feel like I'm stuck and like I've wasted my time. It is supposed to be easy but right now I'm feeling a frustated cause I cannot find enough information to make this workout, can you help me? [1]: http://www.castleproject.org/activerecord/index.html
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 if there is perhaps a better way Code snippet: foreach (String s in (List<String> )callingForm.Invoke(callingForm.delegateGetKillStrings)) { //do some jazz }
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 a private copy but I'm wondering if there is perhaps a better way Code snippet: foreach (String s in (List<String> )callingForm.Invoke(callingForm.delegateGetKillStrings)) { //do some jazz }
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]: http://pear.php.net/manual/en/package.database.db-dataobject.php
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 use with DataMapper and a DomainModel. Any ideas? [1]: http://pear.php.net/manual/en/package.database.db-dataobject.php
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 testing environment (either as an Agent job or running the package directly) and I Specify the new connection string in the Connection managers, the package still reads the settings from the DB server that I specified in development. All the other Connections take up the correct connection strings, it only seems to be the Package Configuration that reads from the wrong place. Any Ideas? Cheers Nige
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 Database connection that I specified when developing the package. However when I run it on a server (64 bit) in the testing environment (either as an Agent job or running the package directly) and I Specify the new connection string in the Connection managers, the package still reads the settings from the DB server that I specified in development. All the other Connections take up the correct connection strings, it only seems to be the Package Configuration that reads from the wrong place. Any Ideas? Cheers Nige
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? Is there any ODBC drivers available for MS Project? Is any modules (for Perl, VB, VB.net or C#) for opening a .mpp and reading activity data?
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 recommend to extract the MS Project data with no user intervention? Is there any ODBC drivers available for MS Project? Is any modules (for Perl, VB, VB.net or C#) for opening a .mpp and reading activity data?
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 specific place in the file.
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 Delphi. I want to bookmark then return to a specific place in the file.
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? [WebService(Namespace = "http://dev.mycompany.com/MyAppsWebService")] [WebService(Namespace = "http://stage.mycompany.com/MyAppsWebService")] [WebService(Namespace = "http://mycompany.com/MyAppsWebService")]
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 match the current environment? [WebService(Namespace = "http://dev.mycompany.com/MyAppsWebService")] [WebService(Namespace = "http://stage.mycompany.com/MyAppsWebService")] [WebService(Namespace = "http://mycompany.com/MyAppsWebService")]
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 relation.
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)" Given the fact that user and company have one-to-one relation.
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 EmployeeCode; public String DepartmentId; } public class Member : User { public String MemberId; public String JoinDate; public String ExpiryDate; } OR public class User { public String UserId; public String UserName; public String Password; public String FirstName; public String LastName; } public class Employee { public User UserInfo; public String EmployeeId; public String EmployeeCode; public String DepartmentId; } public class Member { public User UserInfo; public String MemberId; public String JoinDate; public String ExpiryDate; }
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 EmployeeId; public String EmployeeCode; public String DepartmentId; } public class Member : User { public String MemberId; public String JoinDate; public String ExpiryDate; } OR public class User { public String UserId; public String UserName; public String Password; public String FirstName; public String LastName; } public class Employee { public User UserInfo; public String EmployeeId; public String EmployeeCode; public String DepartmentId; } public class Member { public User UserInfo; public String MemberId; public String JoinDate; public String ExpiryDate; }
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]: http://incubator.apache.org/lucene.net/
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. [1]: http://lucene.apache.org/java/docs/index.html [2]: http://incubator.apache.org/lucene.net/
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 one site and import it into another. Is there something similar with wikis?
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 content to an XML based format on one site and import it into another. Is there something similar with wikis?
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 I also don't want passwords passed over the wire in clear text. I guess my general question is: **How can I send sensitive data over an insecure channel?** This is my current solution and I'd like to know if there are any holes in it: 1. Generate a random key on the server (I'm using php). 2. Save the key in a session and also output the key in a javascript variable. 3. On form submit, use [Triple DES in javascript][3] with the key to encrypt the password. 4. On the server, decrypt the password using the key from the session and then destroy the session. The end result is that only the encrypted password is sent over the wire and the key is only used once and never sent with the password. Problem solved? [1]: http://apiwiki.twitter.com/ [2]: http://www.simsbox.net/blog/7/integrating-twitter-with-blog-comments/ [3]: http://tero.co.uk/des/
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 and cost of installing a SSL certificate, but I also don't want passwords passed over the wire in clear text. I guess my general question is: **How can I send sensitive data over an insecure channel?** This is my current solution and I'd like to know if there are any holes in it: 1. Generate a random key on the server (I'm using php). 2. Save the key in a session and also output the key in a javascript variable. 3. On form submit, use [Triple DES in javascript][3] with the key to encrypt the password. 4. On the server, decrypt the password using the key from the session and then destroy the session. The end result is that only the encrypted password is sent over the wire and the key is only used once and never sent with the password. Problem solved? [1]: http://apiwiki.twitter.com/ [2]: http://www.simsbox.net/blog/7/integrating-twitter-with-blog-comments/ [3]: http://tero.co.uk/des/
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. I don't mean public/private key.
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 him or his boss can decrypt the data. I don't mean public/private key.
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: Will all this hardware be 64bit Server 2008 compatible? - i.e. all drivers available for this hardware for this OS? [1]: http://www.codinghorror.com/blog/archives/001157.html
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 Windows Server 2008 on this machine so before I get all the parts: Will all this hardware be 64bit Server 2008 compatible? - i.e. all drivers available for this hardware for this OS? [1]: http://www.codinghorror.com/blog/archives/001157.html
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 both connected to different networks, one with connection to the internet and one without. My current solution involves using IPHelper's "[GetBestInterface][1]" function and supplying it with the IP address "0.0.0.0". Do you have any other solutions you might suggest to this problem? [1]: http://msdn.microsoft.com/en-us/library/aa365920(VS.85).aspx
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 one connected to the internet - specifically, in case they are both connected to different networks, one with connection to the internet and one without. My current solution involves using IPHelper's "[GetBestInterface][1]" function and supplying it with the IP address "0.0.0.0". Do you have any other solutions you might suggest to this problem? [1]: http://msdn.microsoft.com/en-us/library/aa365920(VS.85).aspx
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 combination is unique. I can see two options for how to structure the connecting table that defines the data relationship: 1. UserWidgets1: UserWidgetID (PK), WidgetID (FK), UserID (FK) 2. UserWidgets2: WidgetID (PK, FK), UserID (PK, FK) Option 1 has a single column for the Primary Key. However, this seems unnecessary since the only data being stored in the table is the relationship between the two primary tables, and this relationship itself can form a unique key. Thus leading to option 2, which has a two-column primary key, but loses the one-column unique identifier that option 1 has. I could also optionally add a two-column unique index (WidgetID, UserID) to the first table. Is there any real difference between the two performance-wise, or any reason to prefer one approach over the other for structuring the UserWidgets many-to-many table?
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), FirstName, LastName Assume that each User-Widget combination is unique. I can see two options for how to structure the connecting table that defines the data relationship: 1. UserWidgets1: UserWidgetID (PK), WidgetID (FK), UserID (FK) 2. UserWidgets2: WidgetID (PK, FK), UserID (PK, FK) Option 1 has a single column for the Primary Key. However, this seems unnecessary since the only data being stored in the table is the relationship between the two primary tables, and this relationship itself can form a unique key. Thus leading to option 2, which has a two-column primary key, but loses the one-column unique identifier that option 1 has. I could also optionally add a two-column unique index (WidgetID, UserID) to the first table. Is there any real difference between the two performance-wise, or any reason to prefer one approach over the other for structuring the UserWidgets many-to-many table?
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, SQL isn't the only kind of injection. This website has an explanation and a few examples of avoiding code injection: [http://www.theserverpages.com/articles/webmasters/php/security/Code_Injection_Vulnerabilities_Explained.html][1] How would you protect this code from code injection? [1]: http://www.theserverpages.com/articles/webmasters/php/security/Code_Injection_Vulnerabilities_Explained.html
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 wasn't afraid for SQL Injection. But, apparently, SQL isn't the only kind of injection. This website has an explanation and a few examples of avoiding code injection: [http://www.theserverpages.com/articles/webmasters/php/security/Code_Injection_Vulnerabilities_Explained.html][1] How would you protect this code from code injection? [1]: http://www.theserverpages.com/articles/webmasters/php/security/Code_Injection_Vulnerabilities_Explained.html
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 investigate, we will need the thread dump and heap dump. The problem is: when a system hang occurs, we do not know whether it is issue 1 or 2. Ideally we would like to manually generate the thread dump first, and wait to see if the system recovers. If it does not, then we generate the thread dump and the heap dump, before restarting WebSphere. I know about the "kill -3" (or "kill -QUIT") command. The command would generate thread dump only (if the parameter IBM_HEAPDUMP=false), or thread dump and heap dump (if IBM_HEAPDUMP=true). This command does not seem to do what I want, because IBM_HEAPDUMP has to be set before WebSphere is started. Is my understanding correct, regarding the IBM_HEAPDUMP parameter and the "kill -3" command? Also, is it possible get the logs in the way I described? (i.e. when generating JVM diagnostics, choose whether to generate heap dump or not on the fly) Thank you.
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 system hang which does not recover and requires WebSphere to be restarted - to investigate, we will need the thread dump and heap dump. The problem is: when a system hang occurs, we do not know whether it is issue 1 or 2. Ideally we would like to manually generate the thread dump first, and wait to see if the system recovers. If it does not, then we generate the thread dump and the heap dump, before restarting WebSphere. I know about the "kill -3" (or "kill -QUIT") command. The command would generate thread dump only (if the parameter IBM_HEAPDUMP=false), or thread dump and heap dump (if IBM_HEAPDUMP=true). This command does not seem to do what I want, because IBM_HEAPDUMP has to be set before WebSphere is started. Is my understanding correct, regarding the IBM_HEAPDUMP parameter and the "kill -3" command? Also, is it possible get the logs in the way I described? (i.e. when generating JVM diagnostics, choose whether to generate heap dump or not on the fly) Thank you.
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. **Major constraint here is that, I need to install MySQL 5.5 from any non-root User in a Generic way And possibly for almost any Linux OS.** Any suggestion would be appreciated. Thanks.
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 idea for this? Please do share your expertise for the same. **Major constraint here is that, I need to install MySQL 5.5 from any non-root User in a Generic way And possibly for almost any Linux OS.** Any suggestion would be appreciated. Thanks.
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 for this solution: pthread_create(&thread2, NULL, &function_th2, NULL); pthread_create(&thread1, NULL, &function_th1, NULL);
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 thread1 before thread2. Not looking for this solution: pthread_create(&thread2, NULL, &function_th2, NULL); pthread_create(&thread1, NULL, &function_th1, NULL);
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 reservation fees has to be charged and cancel the reservation. Can anyone suggest a suitable and affordable payment gateway and their product that support my requirement? George
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 their card, and upon cancellation, the reservation fees has to be charged and cancel the reservation. Can anyone suggest a suitable and affordable payment gateway and their product that support my requirement? George
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 and regards kishor
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 and apply for volunteering ?
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 back to the home page and log in again, everything works according to plan. Any ideas?
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 will be brought to a 404 page, but if I go back to the home page and log in again, everything works according to plan. Any ideas?
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. This means I need PDE to reference 3.3 code and, when debug, execute a 3.3 instance. Any tips on how this can be achieved? Thanks.
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 Eclipse 3.4 and would like to use it for my development. This means I need PDE to reference 3.3 code and, when debug, execute a 3.3 instance. Any tips on how this can be achieved? Thanks.
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 [email protected] in c:\inetpub\wwwroot\mailtest.php on line 12 from this page: <?php $to = "[email protected]"; $subject = "test"; $body = "this is a test"; if (mail($to, $subject, $body)){ echo "mail sent"; } else { echo "problem"; } ?> section from php.ini on the server: [mail function] ; For Win32 only. SMTP = server.domain.com; for Win32 only smtp_port = 25 ; For Win32 only. sendmail_from = [email protected] ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). ;sendmail_path = (note that "server" and "domain" refer accurately to the actual server and domain name) In IIS, SMTP is running. Under "Access" tab, "Relay" button, the Select which computers may relay through this virtual server is set to checkbox "only the list below" and on the list is "127.0.0.1(xxx.xxx.xxx.xxx)" (x's representing actual server IP address). Server is running Windows Server 2003 Service Pack 2, fully patched as of 5 PM Sept 1st 2008. I assume it is running IIS7 (how to check?). Any ideas?
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 [email protected] in c:\inetpub\wwwroot\mailtest.php on line 12 from this page: <?php $to = "[email protected]"; $subject = "test"; $body = "this is a test"; if (mail($to, $subject, $body)){ echo "mail sent"; } else { echo "problem"; } ?> section from php.ini on the server: [mail function] ; For Win32 only. SMTP = server.domain.com; for Win32 only smtp_port = 25 ; For Win32 only. sendmail_from = [email protected] ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). ;sendmail_path = (note that "server" and "domain" refer accurately to the actual server and domain name) In IIS, SMTP is running. Under "Access" tab, "Relay" button, the Select which computers may relay through this virtual server is set to checkbox "only the list below" and on the list is "127.0.0.1(xxx.xxx.xxx.xxx)" (x's representing actual server IP address). Server is running Windows Server 2003 Service Pack 2, fully patched as of 5 PM Sept 1st 2008. I assume it is running IIS7 (how to check?). Any ideas?
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 the best for this type of thing. Thanks!
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: SELECT Field1, Field2, Field3 = 'Value' FROM Table Is this possible at all?
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 of this would be ideal: SELECT Field1, Field2, Field3 = 'Value' FROM Table Is this possible at all?
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-platform way of doing conversions. What kind of tools, libraries or techniques do people use to make handling these things easier?
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 biggest thing that I need is a cross-platform way of doing conversions. What kind of tools, libraries or techniques do people use to make handling these things easier?
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 could be called from java?
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 the feature !)
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 included in Doxygen? (in which case I couldn't find the feature !)
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) >>> print z None >>> x {'a': 1, 'b': 10, 'c': 11} So I want that final merged dict in z, not x. How can I do this?
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': 2} >>> y = {'b':10, 'c': 11} >>> z = x.update(y) >>> print z None >>> x {'a': 1, 'b': 10, 'c': 11} So I want that final merged dict in z, not x. How can I do this?
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 rewritten by .NET for form elements. I can understand the code-behind reasoning for .NET changing IDs, but the fact you can no longer use IDs when trying to develop e.g. jQuery enhanced interfaces is causing some friction. What can I do to work around this? I've tried using the class attribute instead, but that's really crappy, not what it's meant for and doesn't get around that problem of .NET effectively changing rendered source on the fly. It also means that CSS is less useful now and less efficient to create and maintain. Any tips or advice greatly appreciated--anything for a few less sleepless nights...
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 attributes being arbitrarily rewritten by .NET for form elements. I can understand the code-behind reasoning for .NET changing IDs, but the fact you can no longer use IDs when trying to develop e.g. jQuery enhanced interfaces is causing some friction. What can I do to work around this? I've tried using the class attribute instead, but that's really crappy, not what it's meant for and doesn't get around that problem of .NET effectively changing rendered source on the fly. It also means that CSS is less useful now and less efficient to create and maintain. Any tips or advice greatly appreciated--anything for a few less sleepless nights...
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 NUnit, but I suppose examples from any Unit testing framework would be valid
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 principles of Unit testing. What would you consider best practice? I'm using NUnit, but I suppose examples from any Unit testing framework would be valid
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 supported, proceeding > with undefined results. and the server won't start. I can't think of what's changed. I've copied the conf file below. NameVirtualHost * <VirtualHost *:80> ServerName dev.blog.slaven.net.au ServerAlias dev.blog.slaven.net.au ServerAdmin [email protected] DocumentRoot "c:/Project Data/OtherProjects/slaven.net.au/blog/" ErrorLog "logs/blog.slaven.localhost-error.log" CustomLog "logs/blog.slaven.localhost-access.log" common <Directory "c:/Project Data/OtherProjects/slaven.net.au/blog/"> Options Indexes FollowSymLinks MultiViews AllowOverride all Order allow,deny Allow from all </Directory> </VirtualHost>
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 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 supported, proceeding > with undefined results. and the server won't start. I can't think of what's changed. I've copied the conf file below. NameVirtualHost * <VirtualHost *:80> ServerName dev.blog.slaven.net.au ServerAlias dev.blog.slaven.net.au ServerAdmin [email protected] DocumentRoot "c:/Project Data/OtherProjects/slaven.net.au/blog/" ErrorLog "logs/blog.slaven.localhost-error.log" CustomLog "logs/blog.slaven.localhost-access.log" common <Directory "c:/Project Data/OtherProjects/slaven.net.au/blog/"> Options Indexes FollowSymLinks MultiViews AllowOverride all Order allow,deny Allow from all </Directory> </VirtualHost>
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 think I’d rather put up with the slowness than remove that :) Any suggestions on how I can speed things up a bit?
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 do also have ReSharper installed, but I think I’d rather put up with the slowness than remove that :) Any suggestions on how I can speed things up a bit?
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 programming chat?
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 channels, either about specific languages or more general programming chat?
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 in the real world for producing high-quality, semi-automated documents. So, have you seen LaTeX used in the real world? If so, how? If not, why?
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 in many cases like it *could* be a very useful tool in the real world for producing high-quality, semi-automated documents. So, have you seen LaTeX used in the real world? If so, how? If not, why?
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 way to convert word, excel documents into PDF programmatically? And even better, is this possible without having the office suite installed on the computer running the application?
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 like Word documents, or Excel documents. My question is, is there a way to convert word, excel documents into PDF programmatically? And even better, is this possible without having the office suite installed on the computer running the application?
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 regex) - The tools also should allow text searches of non-source files (flat text files) - Optionally (but preferably) has a good GUI interface - The tool works on a windows based development environment - Optionally some level of customisation (file extension, language parsing extension) - Easy to use! It seems to me that a lot of developer IDEs are oriented towards single application, relatively small projects, or sub-components of a larger source base. It just so happens that in my job(s) I have had to navigate across the entire source code base of large systems. I have a background in UNIX systems/kernel development and typically used command line tools such as vi(m), ctags and cscope to navigate a large source code base. Now I work in a windows based development environment (all the build tools and toolchain works on windows only), in my old age I actually have started to prefer 'good' (subjective I know) GUIs - so ctags and cscope though good tools aren't quite what I'm looking for.
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++ language symbol parsing - Straight text searches (with some regex) - The tools also should allow text searches of non-source files (flat text files) - Optionally (but preferably) has a good GUI interface - The tool works on a windows based development environment - Optionally some level of customisation (file extension, language parsing extension) - Easy to use! It seems to me that a lot of developer IDEs are oriented towards single application, relatively small projects, or sub-components of a larger source base. It just so happens that in my job(s) I have had to navigate across the entire source code base of large systems. I have a background in UNIX systems/kernel development and typically used command line tools such as vi(m), ctags and cscope to navigate a large source code base. Now I work in a windows based development environment (all the build tools and toolchain works on windows only), in my old age I actually have started to prefer 'good' (subjective I know) GUIs - so ctags and cscope though good tools aren't quite what I'm looking for.
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 far as I can tell), they can't be accessed like regular classes. Is there any way to reference resx files in another poject, within the same solution?
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 project. Since the resource files don't have an namespace (at least as far as I can tell), they can't be accessed like regular classes. Is there any way to reference resx files in another poject, within the same solution?
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 then turn it off again. This is rather tedious, though. Does anyone know of a better way?
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, my current solution is to "Turn on mirroring" in the display preferences and then turn it off again. This is rather tedious, though. Does anyone know of a better way?
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 recommend a secure way to transfer files around which has a program interface that I can drive from ASP.NET?
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 highly web-enabled process. Can anyone recommend a secure way to transfer files around which has a program interface that I can drive from ASP.NET?
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 = open(file) for line in f: if line.contains('foo'): newline = line.replace('foo', 'bar') # how to write this newline back to the file
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 to do this, within the following code? f = open(file) for line in f: if line.contains('foo'): newline = line.replace('foo', 'bar') # how to write this newline back to the file
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 technology, or both.)
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/mypackage/). How do I store the final location of the database file so my code can access it? Right now, I'm using a hack based on the __file__ variable in the module which accesses the database: <pre> dbname = os.path.join(os.path.dirname(__file__), "database.dat") </pre> It works, but it seems... hackish. Is there a better way to do this? I'd like to have the setup script just grab the final installation location from the distutils module and stuff it into a "dbconfig.py" file that gets installed alongside the code that accesses the database.
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, something like /usr/lib/python2.5/site-packages/mypackage/). How do I store the final location of the database file so my code can access it? Right now, I'm using a hack based on the __file__ variable in the module which accesses the database: <pre> dbname = os.path.join(os.path.dirname(__file__), "database.dat") </pre> It works, but it seems... hackish. Is there a better way to do this? I'd like to have the setup script just grab the final installation location from the distutils module and stuff it into a "dbconfig.py" file that gets installed alongside the code that accesses the database.
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 the parent, I couldn't find a way to pump drawing events into EDT before the JDialog becomes visible since the current event on the EDT has not been completed yet.
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 the dialog. However since the JDialog is modal to the parent, I couldn't find a way to pump drawing events into EDT before the JDialog becomes visible since the current event on the EDT has not been completed yet.
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 in c# to implement cache locking in ASP.NET?
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 like to have only one DLL.
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 libraries separately)? I would like to have only one DLL.
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. Is there any way to disable or hide some check-boxes while displaying others?
.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 those that aren't can't consistently cascade selections. Is there any way to disable or hide some check-boxes while displaying others?
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 about starting the beta, and what problems, aside from those the beta is supposed to expose, should I be prepared for?
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, how should I go about starting the beta, and what problems, aside from those the beta is supposed to expose, should I be prepared for?
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 go SFTP instead. Is there a way to set up SFTP/SSH so that I can create virtual users and at the same time sandbox them? The reason I want virtual users is because I add and remove accounts from time to time, and doing that with proper user accounts tend to get messy, and I don't know of a good way to sandbox them. There's always some files left and each user has their own user directory (with a lot of files only relevant if they would actually log on to the machine when sitting in front of it), which is quarantined when the account is removed, so you have to remove it by hand yourself, and so on.
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 account. I'd like to retire the FTP server software and go SFTP instead. Is there a way to set up SFTP/SSH so that I can create virtual users and at the same time sandbox them? The reason I want virtual users is because I add and remove accounts from time to time, and doing that with proper user accounts tend to get messy, and I don't know of a good way to sandbox them. There's always some files left and each user has their own user directory (with a lot of files only relevant if they would actually log on to the machine when sitting in front of it), which is quarantined when the account is removed, so you have to remove it by hand yourself, and so on.
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 is derived from a single file (in this case, pstool.tex) which, when processed, produces the documentation, the readme, the installer file, and the actual files that make up the package as it is used by LaTeX. In order to make it easy for users who want to download this stuff, I include all of the derived files mentioned above in the repository itself as well as the master file pstool.tex. This means that I'll have double the number of changes every time I commit because the package file pstool.sty is a generated subset of the master file. Is this a perversion of version control?
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/pstool/tree/master> The package itself is derived from a single file (in this case, pstool.tex) which, when processed, produces the documentation, the readme, the installer file, and the actual files that make up the package as it is used by LaTeX. In order to make it easy for users who want to download this stuff, I include all of the derived files mentioned above in the repository itself as well as the master file pstool.tex. This means that I'll have double the number of changes every time I commit because the package file pstool.sty is a generated subset of the master file. Is this a perversion of version control?
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) Is this possible? Legal? If so, what are the drawbacks and tricks
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 my desk. (Read: no I don't want to get a Mac Mini) Is this possible? Legal? If so, what are the drawbacks and tricks
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. Recently I've read about Assembla's support for Git with ticketing through Trac. While this is obviously a very subjective question, which option would you choose? I guess the difference comes down to distributed or collated bug reports. And is Trac through Assembla as nice as Fogbugz for bug tracking? (I haven't used either in much detail.)
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 and started using that for my bug tracking. Recently I've read about Assembla's support for Git with ticketing through Trac. While this is obviously a very subjective question, which option would you choose? I guess the difference comes down to distributed or collated bug reports. And is Trac through Assembla as nice as Fogbugz for bug tracking? (I haven't used either in much detail.)
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 there a SetFile clone on Linux or Windows? If not, do I have to get a Mac? [1]: http://developer.apple.com/documentation/Java/Conceptual/Java14Development/03-JavaDeployment/JavaDeployment.html#//apple_ref/doc/uid/TP40001885-208447-TPXREF120
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 command line method is to call /Developer/Tools/SetFile. Is there a SetFile clone on Linux or Windows? If not, do I have to get a Mac? [1]: http://developer.apple.com/documentation/Java/Conceptual/Java14Development/03-JavaDeployment/JavaDeployment.html#//apple_ref/doc/uid/TP40001885-208447-TPXREF120
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 outer join category on page_category.category_id = category.id .... group by page.id As mentioned in the query, among others, my application has three tables page, category and page_category. A page can be associated with none or multiple categories. Currently page, page_category and category have 9,460, 20,241 and 10 entries each. Can anyone help me to improve my query to avoid such performance problems?
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 = story_category.page_id left outer join category on page_category.category_id = category.id .... group by page.id As mentioned in the query, among others, my application has three tables page, category and page_category. A page can be associated with none or multiple categories. Currently page, page_category and category have 9,460, 20,241 and 10 entries each. Can anyone help me to improve my query to avoid such performance problems?
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 the options for doing something similar with GCC?
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 without doing some minimal logging. What are the options for doing something similar with GCC?
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 stackoverflow). The matching should work on both ArticleTitle and ArticleContent. Can I do this in MS SQL Server 2005?
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 like "Similar Posts" in blogs OR "Related Questions" in stackoverflow). The matching should work on both ArticleTitle and ArticleContent. Can I do this in MS SQL Server 2005?
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 between the two? TIA.
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 needs to be scriptable so I can generate reports in an automated fashion. I know this is a bit discussy, but I can't find authoritative info on Google just reams of marketing puffery. So would like some recommendations based on real world usage.
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 although expensive tools will be considered. It needs to be scriptable so I can generate reports in an automated fashion. I know this is a bit discussy, but I can't find authoritative info on Google just reams of marketing puffery. So would like some recommendations based on real world usage.
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