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
26,552
08/25/2008 18:14:21
2,141
08/20/2008 14:38:34
170
4
SQL NOCOUNT
What are the advantages and disadvantages of turning NOCOUNT off in SQL Server queries?
sql-server
null
null
null
null
null
open
SQL NOCOUNT === What are the advantages and disadvantages of turning NOCOUNT off in SQL Server queries?
0
26,559
08/25/2008 18:17:11
2,687
08/24/2008 14:45:10
46
3
Any negative impacts when using Mod-Rewrite?
I know there are a lot of positive things mod-rewrite accomplishes. But are there any negative? Obviously if you have poorly written rules your going to have problems. But what if you have a high volume site and your constantly using mod-rewrite, is it going to have a significant impact on performance? I did a quick s...
performance
mod-rewrite
null
null
null
null
open
Any negative impacts when using Mod-Rewrite? === I know there are a lot of positive things mod-rewrite accomplishes. But are there any negative? Obviously if you have poorly written rules your going to have problems. But what if you have a high volume site and your constantly using mod-rewrite, is it going to have a ...
0
26,567
08/25/2008 18:19:18
2,156
08/20/2008 16:30:10
26
1
How do I set a textbox to multi-line in SSRS?
I have a report with many fields that I'm trying to get down to 1 page horizontally (I don't care whether it's 2 or 200 pages vertically... just don't want to have to deal with 2 pages wide by x pages long trainwreck). That said, it deals with contact information. My idea was to do:<br> Name:&nbsp;&nbsp;&nbsp;&nbsp;...
reporting-services
textbox
multi-line
null
null
null
open
How do I set a textbox to multi-line in SSRS? === I have a report with many fields that I'm trying to get down to 1 page horizontally (I don't care whether it's 2 or 200 pages vertically... just don't want to have to deal with 2 pages wide by x pages long trainwreck). That said, it deals with contact information. My...
0
26,570
08/25/2008 18:19:57
1,786
08/18/2008 14:52:43
168
22
sizeof() equivalent for reference types?
I'm looking for a way to get the size of an instance of a reference type. sizeof is only for value types. Is this possible?
c#
null
null
null
null
null
open
sizeof() equivalent for reference types? === I'm looking for a way to get the size of an instance of a reference type. sizeof is only for value types. Is this possible?
0
26,594
08/25/2008 18:27:09
2,644
08/23/2008 21:56:47
145
13
Previewing HTML in Java
What libraries/methods that you know of can do some basic HTML representation in Swing? Can you comment on your experience?
java
html
null
null
null
null
open
Previewing HTML in Java === What libraries/methods that you know of can do some basic HTML representation in Swing? Can you comment on your experience?
0
26,595
08/25/2008 18:27:16
156
08/02/2008 17:36:27
225
15
Is there any difference between "foo is None" and "foo == None"?
Is there any difference between: if foo is None: pass and if foo == None: pass The convention that I've seen in most Python code (and the code I myself write) is the former, but I recently came across code which uses the latter. None is an instance (and the only instance, IIRC) of NoneType, so it s...
python
null
null
null
null
null
open
Is there any difference between "foo is None" and "foo == None"? === Is there any difference between: if foo is None: pass and if foo == None: pass The convention that I've seen in most Python code (and the code I myself write) is the former, but I recently came across code which uses the latter. ...
0
26,606
08/25/2008 18:33:43
26
08/01/2008 12:18:14
1,856
111
Free POP3 .NET library?
Looking for a POP3 Client for .NET that basically just lets me log into a server and grab all the emails out, and maybe send some. I grabbed Indy.Sockets off of CodePlex and got it running but its throwing errors trying to decode the mail headers. Really anything is fine if it works.
.net
pop3
null
null
null
null
open
Free POP3 .NET library? === Looking for a POP3 Client for .NET that basically just lets me log into a server and grab all the emails out, and maybe send some. I grabbed Indy.Sockets off of CodePlex and got it running but its throwing errors trying to decode the mail headers. Really anything is fine if it works.
0
26,620
08/25/2008 18:45:27
2,138
08/20/2008 14:23:45
8
0
How to set encoding in .getJSON JQuery
In my web app, i submit some form fields with JQuery $.getJSON() Method. I am having some problems with the encoding. The character-set of my app is charset=ISO-8859-1 but i think this fields are submitted with UTF-8. Does anyone know, how can i set encoding in $.getJSON calls?
jquery
null
null
null
null
null
open
How to set encoding in .getJSON JQuery === In my web app, i submit some form fields with JQuery $.getJSON() Method. I am having some problems with the encoding. The character-set of my app is charset=ISO-8859-1 but i think this fields are submitted with UTF-8. Does anyone know, how can i set encoding in $.getJSO...
0
26,625
08/25/2008 18:47:50
2,881
08/25/2008 17:46:55
21
2
One large monitor or dual-monitor setup?
Let's say I have a certain budget to buy the displays for my development setup. With that budget I can either buy 1 larger monitor with a higher resolution or two smaller monitors and set them up in a dual-monitor setup. What are people's preferences and why? I'm interested in perspectives related to a development s...
hardware
null
null
null
null
null
open
One large monitor or dual-monitor setup? === Let's say I have a certain budget to buy the displays for my development setup. With that budget I can either buy 1 larger monitor with a higher resolution or two smaller monitors and set them up in a dual-monitor setup. What are people's preferences and why? I'm interes...
0
26,638
08/25/2008 18:54:27
2,644
08/23/2008 21:56:47
157
14
What HTML parsing libraries do you recommend in Java
I want to parse some HTML in order to find the values of some attributes/tags etc. What HTML parsers to you recommend? Any pros and cons?
java
html
parsing
parse
null
08/01/2012 16:00:06
not constructive
What HTML parsing libraries do you recommend in Java === I want to parse some HTML in order to find the values of some attributes/tags etc. What HTML parsers to you recommend? Any pros and cons?
4
26,663
08/25/2008 19:09:08
2,638
08/23/2008 20:10:14
179
8
What's your favorite profiling tool (for C++)
So far, I've only used Rational Quantify. I've heard great things about Intel's VTune, but have never tried it! Edit: I'm mostly looking for software that will instrument the code, as I guess that's about the only way to get very fine results.
c++
performance
null
null
null
07/04/2012 15:51:47
not constructive
What's your favorite profiling tool (for C++) === So far, I've only used Rational Quantify. I've heard great things about Intel's VTune, but have never tried it! Edit: I'm mostly looking for software that will instrument the code, as I guess that's about the only way to get very fine results.
4
26,670
08/25/2008 19:14:07
751
08/08/2008 14:26:58
103
6
Why is my PDF footer text invisible?
I'm creating PDFs on-demand with ColdFusion's [CFDocument][1] tag, like so: <cfdocument format="PDF" filename="#attributes.fileName#" overwrite="true"> <cfdocumentitem type="footer"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td align="left"><font face="Ta...
pdf
coldfusion
null
null
null
null
open
Why is my PDF footer text invisible? === I'm creating PDFs on-demand with ColdFusion's [CFDocument][1] tag, like so: <cfdocument format="PDF" filename="#attributes.fileName#" overwrite="true"> <cfdocumentitem type="footer"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr...
0
26,685
08/25/2008 19:26:39
1,384,652
08/01/2008 12:01:23
1,310
71
What is MVC and what are the advantages of it?
I found [What are mvp and mvc and what is the difference][1] but it didn't really answer this question. I've recently started using MVC because it's part of the framework that myself and my work-partner are going to use. We chose it because it looked easy and separated process from display, are there advantages besi...
mvc
null
null
null
null
null
open
What is MVC and what are the advantages of it? === I found [What are mvp and mvc and what is the difference][1] but it didn't really answer this question. I've recently started using MVC because it's part of the framework that myself and my work-partner are going to use. We chose it because it looked easy and separ...
0
26,688
08/25/2008 19:28:54
290
08/04/2008 12:57:50
466
49
What Mature PL/SQL Libraries For Auto-Generating JSON Do You Recommend?
Are there any good PL/SQL libraries for JSON that you've worked with and found useful? In [PL/SQL][1], I'm having to tediously hand code the return of [JSON][2] values to JavaScript functions. I found [one PL/SQL library][3] for auto-generating JSON, but it doesn't do exactly everything I need it too. For example, I...
json
plsql
javascript
null
null
null
open
What Mature PL/SQL Libraries For Auto-Generating JSON Do You Recommend? === Are there any good PL/SQL libraries for JSON that you've worked with and found useful? In [PL/SQL][1], I'm having to tediously hand code the return of [JSON][2] values to JavaScript functions. I found [one PL/SQL library][3] for auto-genera...
0
26,706
08/25/2008 19:43:15
1,785
08/18/2008 14:48:51
1
0
wxpython examine data OnDragOver
I'm a bit perplexed by drag and drop in wxPython (but perhaps this questions pertains to drag and drop in other GUI frameworks as well). The frameworks provides a couple of callbacks (OnEnter and OnDragOver) that purportedly allow me to inform the system whether the current mouse position is a valid place to drop whate...
python
gui
wxwidgets
wxpython
null
null
open
wxpython examine data OnDragOver === I'm a bit perplexed by drag and drop in wxPython (but perhaps this questions pertains to drag and drop in other GUI frameworks as well). The frameworks provides a couple of callbacks (OnEnter and OnDragOver) that purportedly allow me to inform the system whether the current mouse p...
0
26,711
08/25/2008 19:47:42
2,847
08/25/2008 14:12:52
1
1
Asp.net Reinstalling a DLL into the GAC
I'm trying to reinstall a DLL in the GAC, everything seems to work fine but the web application accessing it still seems to be using the old one. The old DLL is the same version as the new one with only a minor edit, it will be used by 50 different sites so changing the version then changing the reference in the web...
iis
dll
gac
null
null
null
open
Asp.net Reinstalling a DLL into the GAC === I'm trying to reinstall a DLL in the GAC, everything seems to work fine but the web application accessing it still seems to be using the old one. The old DLL is the same version as the new one with only a minor edit, it will be used by 50 different sites so changing the v...
0
26,715
08/25/2008 19:50:21
2,041
08/19/2008 23:02:38
111
7
asp.net mcv - subfolders
How does the new microsot asp.net mvc implementation handle paritioning your application for example: --index.aspx --about.aspx --contact.aspx --/feature1 --/feature1/subfeature/action --/feature2/subfeature/action I guess what i am trying to say is that it seems everything has to go ...
asp.net-mvc
partition
folders
null
null
null
open
asp.net mcv - subfolders === How does the new microsot asp.net mvc implementation handle paritioning your application for example: --index.aspx --about.aspx --contact.aspx --/feature1 --/feature1/subfeature/action --/feature2/subfeature/action I guess what i am trying to say is that ...
0
26,719
08/25/2008 19:51:31
1,508
08/16/2008 02:29:14
165
11
Internalize Class and Methods in .NET Assembly
I have a set of multiple assemblies (one assembly is to be used as an API and it depends on other assemblies). I would like to merge all assemblies into one single assembly but prevent all assemblies except the API one to be visible from the outside. I will then obfuscate this assembly with Xenocode. From what I hav...
c#
.net
vb.net
assembly
null
null
open
Internalize Class and Methods in .NET Assembly === I have a set of multiple assemblies (one assembly is to be used as an API and it depends on other assemblies). I would like to merge all assemblies into one single assembly but prevent all assemblies except the API one to be visible from the outside. I will then ob...
0
26,721
08/25/2008 19:52:07
2,729
08/24/2008 18:30:56
1
0
How can I make sure scrollbars don't overlap content?
When creating scrollable user controls with .NET and WinForms I have repeatedly encountered situations where, for example, a vertical scrollbar pops up, overlapping the control's content, causing a horizontal scrollbar to also be needed. Ideally the content would shrink just a bit to make room for the vertical scrollb...
.net
winforms
null
null
null
null
open
How can I make sure scrollbars don't overlap content? === When creating scrollable user controls with .NET and WinForms I have repeatedly encountered situations where, for example, a vertical scrollbar pops up, overlapping the control's content, causing a horizontal scrollbar to also be needed. Ideally the content wo...
0
26,733
08/25/2008 19:57:21
1,782
08/18/2008 14:30:58
842
53
Getting all types that implement an interface with C# 3.5
How can I do what's in the title, with the minimum ammount of code, using whatever c# 3.5 syntax (I'm guessing lamda expressions would fit, but I still don't understand them fully)? In short, I want to iterate through all types that implement a particular interface.
c#
lamda
reflection
null
null
null
open
Getting all types that implement an interface with C# 3.5 === How can I do what's in the title, with the minimum ammount of code, using whatever c# 3.5 syntax (I'm guessing lamda expressions would fit, but I still don't understand them fully)? In short, I want to iterate through all types that implement a particul...
0
26,743
08/25/2008 20:03:51
2,892
08/25/2008 19:39:36
1
0
Propper name space managment in .NET XmlWriter
I use .NET XML technologies quite extensively on my work. One of the things the I like very much is the XSLT engine, more precisely the extensibility of it. However there one little piece which keeps being a source of annoyance. Nothing major or something we can't live with but it is preventing us from producing the be...
.net
xml
xmlwriter
null
null
null
open
Propper name space managment in .NET XmlWriter === I use .NET XML technologies quite extensively on my work. One of the things the I like very much is the XSLT engine, more precisely the extensibility of it. However there one little piece which keeps being a source of annoyance. Nothing major or something we can't li...
0
26,746
08/25/2008 20:06:37
519
08/06/2008 14:09:46
157
7
Microsoft SQL 2008 Linked Sever to Oracle - Schema Not Showing
I have a Windows 2008 Server (x64) running Microsoft SQL 2008 (x64) and I'm creating a Linked Server connection to an Oracle server. I'm able to make the connection, but I cannot see any information regarding which schema a table belongs to. In SQL 2005, my linked servers show the schema information as I would expe...
sql-server
sql
mssql
oracle
null
null
open
Microsoft SQL 2008 Linked Sever to Oracle - Schema Not Showing === I have a Windows 2008 Server (x64) running Microsoft SQL 2008 (x64) and I'm creating a Linked Server connection to an Oracle server. I'm able to make the connection, but I cannot see any information regarding which schema a table belongs to. In SQL...
0
26,755
08/25/2008 20:13:49
2,463
08/22/2008 12:26:27
1
0
Favorite PHP Library
Ok, so as my first question, I go against the FAQ rules: this is a subjective and argumentative question... Sorry for that.<br /> Anyway,<br /> I was wondering what library power PHP dev were using.<br /> Not a full framework (like cakePHP), that forces you to code and organize files in a certain way, but a library,...
php
null
null
null
null
null
open
Favorite PHP Library === Ok, so as my first question, I go against the FAQ rules: this is a subjective and argumentative question... Sorry for that.<br /> Anyway,<br /> I was wondering what library power PHP dev were using.<br /> Not a full framework (like cakePHP), that forces you to code and organize files in a c...
0
26,760
08/25/2008 20:16:26
31,505
2008-09-01
515
25
[C#] Parse string to TimeSpan
I have some strings of xxh:yym format where xx is hours and yy is minutes like "05h:30m". What is an elegant way to convert a string of this type to TimeSpan?
c#
timespan
null
null
null
null
open
[C#] Parse string to TimeSpan === I have some strings of xxh:yym format where xx is hours and yy is minutes like "05h:30m". What is an elegant way to convert a string of this type to TimeSpan?
0
26,762
08/25/2008 20:17:10
1,212
08/13/2008 13:17:40
90
4
Perforce in a Microsoft Shop
Our dev shop currently uses Visual SourceSafe. We all know how that could end up (badly), so we're investigating other systems. First up is Perforce. Does anyone have experience with using it and its integration into Visual Studio (2003/2005/2008)? Is it as good as any other, or is it pretty solid with good features, c...
sourcecontrol
perforce
visual-sourcesafe
null
null
null
open
Perforce in a Microsoft Shop === Our dev shop currently uses Visual SourceSafe. We all know how that could end up (badly), so we're investigating other systems. First up is Perforce. Does anyone have experience with using it and its integration into Visual Studio (2003/2005/2008)? Is it as good as any other, or is it ...
0
26,771
08/25/2008 20:21:18
2,638
08/23/2008 20:10:14
188
9
Rewarding code projects for beginners
Courses for people who are being introduced to programming very often include a code project, which I think is a nice way to learn. However, such projects often feel too artificial, and are thus not very rewarding to work on. What are your ideas of rewarding code projects? (Preferably easy to begin, and extendable a...
language-agnostic
teaching
null
null
null
null
open
Rewarding code projects for beginners === Courses for people who are being introduced to programming very often include a code project, which I think is a nice way to learn. However, such projects often feel too artificial, and are thus not very rewarding to work on. What are your ideas of rewarding code projects? ...
0
26,795
08/25/2008 20:31:14
2,899
08/25/2008 20:31:14
1
0
UITypeEditor and IExtenderProvider
I have an extender (IExtenderProvider) which extends certain types of controls with additional properties. For one of these properties, I have written a UITypeEditor. So far, all works just fine. The extender also has a couple of properties itself, which I am trying to use as a sort of default for the UITypeEd...
.net
design-time
iextenderprovider
uitypeeditor
winforms
null
open
UITypeEditor and IExtenderProvider === I have an extender (IExtenderProvider) which extends certain types of controls with additional properties. For one of these properties, I have written a UITypeEditor. So far, all works just fine. The extender also has a couple of properties itself, which I am trying to u...
0
26,796
08/25/2008 20:31:32
1,414
08/15/2008 15:07:31
482
43
ASP.Net: Using System.Web.UI.Control.ResolveUrl() in a shared/static function
What is the best way to use ResolveUrl() in a Shared/static function in Asp.Net? My current solution for VB.Net is: Dim x As New System.Web.UI.Control x.ResolveUrl("~/someUrl") Or C#: System.Web.UI.Control x = new System.Web.UI.Control(); x.ResolveUrl("~/someUrl"); But I realize that isn't...
c#
asp.net
vb.net
static
resolveurl
null
open
ASP.Net: Using System.Web.UI.Control.ResolveUrl() in a shared/static function === What is the best way to use ResolveUrl() in a Shared/static function in Asp.Net? My current solution for VB.Net is: Dim x As New System.Web.UI.Control x.ResolveUrl("~/someUrl") Or C#: System.Web.UI.Control x = new S...
0
26,799
08/25/2008 20:32:33
1,574
08/16/2008 19:31:12
236
17
How do you back up your development machine?
How do you back up your development machine so that in the event of a catastrophic hardware malfunction, you are up and running in the least amount of time possible?
hardware
backup
setup
null
null
null
open
How do you back up your development machine? === How do you back up your development machine so that in the event of a catastrophic hardware malfunction, you are up and running in the least amount of time possible?
0
26,800
08/25/2008 20:32:36
1,965
08/19/2008 15:51:08
1,206
76
XPath and Selecting a single node
I'm using XPath in .NET to parse an XML document, along the lines of: XmlNodeList lotsOStuff = doc.SelectNodes("//stuff"); foreach (XmlNode stuff in lotsOStuff) { XmlNode stuffChild = stuff.SelectSingleNode("//stuffChild"); // ... etc } The issue is that the XPath Query fo...
.net
xpath
null
null
null
null
open
XPath and Selecting a single node === I'm using XPath in .NET to parse an XML document, along the lines of: XmlNodeList lotsOStuff = doc.SelectNodes("//stuff"); foreach (XmlNode stuff in lotsOStuff) { XmlNode stuffChild = stuff.SelectSingleNode("//stuffChild"); // ... etc } ...
0
26,809
08/25/2008 20:36:30
2,191
08/20/2008 20:39:36
113
3
What is the best way to deal with DBNull's
I frequently have problems dealing with DataRows returned from SqlDataAdapters. When I try to fill in an object using code like this: DataRow row = ds.Tables[0].Rows[0]; string value = (string)row; What is the best way to deal with DBNull's in this type of situation.
c#
mssql
null
null
null
null
open
What is the best way to deal with DBNull's === I frequently have problems dealing with DataRows returned from SqlDataAdapters. When I try to fill in an object using code like this: DataRow row = ds.Tables[0].Rows[0]; string value = (string)row; What is the best way to deal with DBNull's in this type of ...
0
26,816
08/25/2008 20:38:09
1,782
08/18/2008 14:30:58
860
54
How to abort threads created with ThreadPool.QueueUserWorkItem
is there a way to abort threads created with QueueUserWorkItem? Or maybe I don't need to? What happens if the main application exits? Are all thread created from it aborted automatically?
c#
multithreading
null
null
null
null
open
How to abort threads created with ThreadPool.QueueUserWorkItem === is there a way to abort threads created with QueueUserWorkItem? Or maybe I don't need to? What happens if the main application exits? Are all thread created from it aborted automatically?
0
26,825
08/25/2008 20:39:24
2,894
08/25/2008 20:06:55
1
1
Uncollapsible CollapsiblePanelExtender.
I have a CollapsiblePanelExtender that will not collapse. I have "collapsed" set to true and all the ControlID set correctly. I try to collapse and it goes through the animation but then expands almost instantly. This is in an User Control with the following structure. <asp:UpdatePanel ID="UpdatePanel1" runat...
ajaxtoolkit
null
null
null
null
null
open
Uncollapsible CollapsiblePanelExtender. === I have a CollapsiblePanelExtender that will not collapse. I have "collapsed" set to true and all the ControlID set correctly. I try to collapse and it goes through the animation but then expands almost instantly. This is in an User Control with the following structure. ...
0
26,826
08/25/2008 20:40:46
2,758
08/24/2008 22:12:45
26
3
Modifying SharePoint System Files
What is the general feeling amongst developers regarding the changing of files in the 12 hive. For example if you were asked to remove the sign is a different user menu item, you would need to modify the relevent user control on the filesystem. Now if you just go and modify it via notepad or copy over and then if you...
sharepoint
null
null
null
null
null
open
Modifying SharePoint System Files === What is the general feeling amongst developers regarding the changing of files in the 12 hive. For example if you were asked to remove the sign is a different user menu item, you would need to modify the relevent user control on the filesystem. Now if you just go and modify it v...
0
26,834
08/25/2008 20:42:40
1,060
08/11/2008 23:17:09
326
22
How to represent cross-model information in MVC?
I have an application, built using MVC, that produces a view which delivers summary information across a number of models. Further to that, some calculations are performed across the different sets of data. There's no clear single model (that maps to a table at least) that seems to make sense as the starting point f...
mvc
design
ruby-on-rails
patterns
null
null
open
How to represent cross-model information in MVC? === I have an application, built using MVC, that produces a view which delivers summary information across a number of models. Further to that, some calculations are performed across the different sets of data. There's no clear single model (that maps to a table at l...
0
26,842
08/25/2008 20:45:32
171
08/02/2008 23:47:08
11
2
Problem connecting to CAS server with Perl CGI script using IO::Socket::SSL
I'm attempting to use an existing CAS server to authenticate login for a Perl CGI web script and am using the AuthCAS perl module (v 1.3.1). I can connect to the CAS server to get the service ticket but when I try to connect to validate the ticket my script returns with the following error from the IO::Socket::SSL mod...
perl
cgi
authentication
apache
ssl
null
open
Problem connecting to CAS server with Perl CGI script using IO::Socket::SSL === I'm attempting to use an existing CAS server to authenticate login for a Perl CGI web script and am using the AuthCAS perl module (v 1.3.1). I can connect to the CAS server to get the service ticket but when I try to connect to validate t...
0
26,843
08/25/2008 20:45:47
2,720
08/24/2008 17:15:55
1
0
New Project : MySQL or SQL 2005 Express.
I am starting a new client/server project in work and I want to start using some of the newer technologies i've been reading about, LINQ and Generics being the main ones. Up until now I have been developing these types of applications with MySQL as clients were unwilling to pay the large licence costs for MSSQL. ...
mysql
mssql
null
null
null
null
open
New Project : MySQL or SQL 2005 Express. === I am starting a new client/server project in work and I want to start using some of the newer technologies i've been reading about, LINQ and Generics being the main ones. Up until now I have been developing these types of applications with MySQL as clients were unwilling t...
0
26,845
08/25/2008 20:46:10
1,329,401
08/25/2008 03:16:36
46
5
Do you use distributed version control?
I'd like to hear from people who are using distributed version control (aka distributed revision control, decentralized version control) and how they are finding it. What are you using, Mercurial, Darcs, Git, Bazaar? Are you still using it? If you've used client/server rcs in the past, are you finding it better, worse ...
vcs
revision
version-control
sourcecontrol
null
null
open
Do you use distributed version control? === I'd like to hear from people who are using distributed version control (aka distributed revision control, decentralized version control) and how they are finding it. What are you using, Mercurial, Darcs, Git, Bazaar? Are you still using it? If you've used client/server rcs i...
0
26,854
08/25/2008 20:48:17
403
08/05/2008 13:31:58
1
1
guid REST URL for ado.net dataservice call?
Trying to use a guid as a resource id in a rest url but cant find any resource on how to. My best right now (not working though) is: http://localhost:49157/PhotogalleryDS.svc/gallery('1d03beb3-6d63-498b-aad7-fab0b1480996') i only get: <error> <code/> <message xml:lang="sv-SE">Syntax error '"' at position 0.</me...
wcf-data-services
rest
null
null
null
null
open
guid REST URL for ado.net dataservice call? === Trying to use a guid as a resource id in a rest url but cant find any resource on how to. My best right now (not working though) is: http://localhost:49157/PhotogalleryDS.svc/gallery('1d03beb3-6d63-498b-aad7-fab0b1480996') i only get: <error> <code/> <message xml...
0
26,855
08/25/2008 20:49:17
2,901
08/25/2008 20:49:17
1
0
What's the fastest way to determine a full URL from a relative URL (given a base URL).
I'm currently using URI::URL to generate this, however it is isn't as fast as I'd like it to be. Does anyone know another way to do this that may be faster?
regex
perl
null
null
null
null
open
What's the fastest way to determine a full URL from a relative URL (given a base URL). === I'm currently using URI::URL to generate this, however it is isn't as fast as I'd like it to be. Does anyone know another way to do this that may be faster?
0
26,857
08/25/2008 20:49:47
1,463
08/15/2008 17:26:44
220
15
How do you programmatically fill in a form and 'POST' a web page?
Using C# and ASP.NET I want to programmatically fill in some values (4 text boxes) on a web page (form) and then 'POST' those values. How do I do this?
c#
asp.net
null
null
null
null
open
How do you programmatically fill in a form and 'POST' a web page? === Using C# and ASP.NET I want to programmatically fill in some values (4 text boxes) on a web page (form) and then 'POST' those values. How do I do this?
0
26,860
08/25/2008 20:51:33
1,862
08/18/2008 23:53:20
578
60
Limitations of screen readers.
I'm a web developer, and I want to make the web sites I develop more accessible to those using screen readers. What limitations do screen readers have that I should be most aware of, and what can I do to avoid hitting these limitations. This question was sparked by reading another question about [non-image based ca...
html
browser
accessibility
null
null
null
open
Limitations of screen readers. === I'm a web developer, and I want to make the web sites I develop more accessible to those using screen readers. What limitations do screen readers have that I should be most aware of, and what can I do to avoid hitting these limitations. This question was sparked by reading anothe...
0
26,863
08/25/2008 20:53:21
2,348
08/21/2008 19:00:04
1
2
How do I REALLY reset the Visual Studio window layout?
I had a plugin installed in Visual Studio 2008, and it created some extra dockable windows. I have uninstalled it, and I can't get rid of the windows it created - I close them, but they always come back. They're just empty windows now, since the plugin is no longer present, but nothing I've tried gets rid of them. I...
visual-studio
null
null
null
null
null
open
How do I REALLY reset the Visual Studio window layout? === I had a plugin installed in Visual Studio 2008, and it created some extra dockable windows. I have uninstalled it, and I can't get rid of the windows it created - I close them, but they always come back. They're just empty windows now, since the plugin is no...
0
26,875
08/25/2008 20:58:03
2,711
08/24/2008 16:51:53
1
0
Setting up a large XCode project
I have a large exiting C++ project involving: * 4 applications * 50+ libraries * 20+ third party libraries It all builds fine on Windows using VS8, Linux using QMake (project uses Qt a lot). I also build it on MacOS using QMake but I was wanting to setup an XCode project to handle it in an IDE. I'm s...
xcode
null
null
null
null
null
open
Setting up a large XCode project === I have a large exiting C++ project involving: * 4 applications * 50+ libraries * 20+ third party libraries It all builds fine on Windows using VS8, Linux using QMake (project uses Qt a lot). I also build it on MacOS using QMake but I was wanting to setup an XCode...
0
26,877
08/25/2008 20:59:54
369
08/05/2008 08:33:43
506
34
C# Event handlers
In C#, what is the difference (if any) between these two lines of code? tmrMain.Elapsed += new ElapsedEventHandler(tmrMain_Tick); and tmrMain.Elapsed += tmrMain_Tick; Both appear to work exactly the same. Does C# just assume you mean the former when you type the latter?
c#
events
syntax
delegates
null
null
open
C# Event handlers === In C#, what is the difference (if any) between these two lines of code? tmrMain.Elapsed += new ElapsedEventHandler(tmrMain_Tick); and tmrMain.Elapsed += tmrMain_Tick; Both appear to work exactly the same. Does C# just assume you mean the former when you type the latter?
0
26,879
08/25/2008 21:01:14
1,144
08/12/2008 19:00:54
132
9
Browser scrollbar
I have a website that is perfectely centered aligned. The CSS code works fine. The problem doesn't really have to do with CSS. I have headers for each page that perfectely match eachother. However, when the content gets larger, Opera and FireFox show a scrollbar at the left so you can scroll to the content not on th...
browsers
webdesign
null
null
null
null
open
Browser scrollbar === I have a website that is perfectely centered aligned. The CSS code works fine. The problem doesn't really have to do with CSS. I have headers for each page that perfectely match eachother. However, when the content gets larger, Opera and FireFox show a scrollbar at the left so you can scroll t...
0
26,882
08/25/2008 21:01:37
233
08/03/2008 20:19:32
386
20
Postback with Modified Query String from Dropdown in ASP.NET
My asp.net page will render different controls based on which report a user has selected e.g. some reports require 5 drop downs, some two checkboxes and 6 dropdowns). They can select a report using two methods. With `SelectedReport=MyReport` in the query string, or by selecting it from a dropdown. And it's a common ...
asp.net
postback
query-string
null
null
null
open
Postback with Modified Query String from Dropdown in ASP.NET === My asp.net page will render different controls based on which report a user has selected e.g. some reports require 5 drop downs, some two checkboxes and 6 dropdowns). They can select a report using two methods. With `SelectedReport=MyReport` in the qu...
0
26,897
08/25/2008 21:06:49
1,627
08/17/2008 16:30:55
884
43
Recommendations for Javascript Editor on Windows?
Are there any good recommendations anyone can provide for a good Javascript editor on Windows? I currently use combinations of FireBug and TextPad but would hate to miss out on the party if there are better options out there. Thanks.
javascript
editor
null
null
null
06/11/2012 08:31:47
not constructive
Recommendations for Javascript Editor on Windows? === Are there any good recommendations anyone can provide for a good Javascript editor on Windows? I currently use combinations of FireBug and TextPad but would hate to miss out on the party if there are better options out there. Thanks.
4
26,903
08/25/2008 21:08:45
1,782
08/18/2008 14:30:58
877
56
How can you require a constructor with no parameters for types implementing an interface?
Is there a way? I need all types that implement a specific interface to have a parameterless constructor, can it be done?
interface
c#
constructor
null
null
null
open
How can you require a constructor with no parameters for types implementing an interface? === Is there a way? I need all types that implement a specific interface to have a parameterless constructor, can it be done?
0
26,904
08/25/2008 21:08:45
2,711
08/24/2008 16:51:53
1
0
Getting QMake to generate a proper .app
I have a large exiting C++ project involving: * 4 applications * 50+ libraries * 20+ third party libraries The project uses QMake (part of Trolltech's Qt) to build the production version on Linux, but I've been playing around at building it on MacOS. I can build in on MacOS using QMake just fine but I'...
qt
xcode
qmake
null
null
null
open
Getting QMake to generate a proper .app === I have a large exiting C++ project involving: * 4 applications * 50+ libraries * 20+ third party libraries The project uses QMake (part of Trolltech's Qt) to build the production version on Linux, but I've been playing around at building it on MacOS. I can b...
0
26,947
08/25/2008 21:28:32
2,052
08/20/2008 01:01:55
1
0
How to implement a web scraper in PHP?
What built-in PHP functions are useful for web scraping? What are some good resources (web or print) for getting up to speed on web scraping with PHP?
php
screen-scraping
web-scraping
null
null
null
open
How to implement a web scraper in PHP? === What built-in PHP functions are useful for web scraping? What are some good resources (web or print) for getting up to speed on web scraping with PHP?
0
26,959
08/25/2008 21:33:17
1,674
08/17/2008 22:51:33
11
1
Managing interruptions with increased seniority...
As developers advance in seniority, they are more frequently the "go-to" person for questions from business people, other developers, and other teams. As we know, interruptions have a devastating impact on programming productivity. How do people deal with this? Do you give up on the idea of writing code yourself...
productivity
interruptions
null
null
null
null
open
Managing interruptions with increased seniority... === As developers advance in seniority, they are more frequently the "go-to" person for questions from business people, other developers, and other teams. As we know, interruptions have a devastating impact on programming productivity. How do people deal with th...
0
26,964
08/25/2008 21:36:24
2,474
08/22/2008 12:57:03
59
12
What is the best way to organize my C project code and its external libraries?
I'm starting a new C project, which is largely OSS-based. It'll also be on SourceForge, and I'd like to take this opportunity to learn established best practices for organizing this kind of code. I'm using libraries like libcurl and libz, and I'll compile it using MinGW and MSYS. I'll be distributing copies the sour...
c
opensource
organizing
null
null
null
open
What is the best way to organize my C project code and its external libraries? === I'm starting a new C project, which is largely OSS-based. It'll also be on SourceForge, and I'd like to take this opportunity to learn established best practices for organizing this kind of code. I'm using libraries like libcurl and lib...
0
26,971
08/25/2008 21:39:35
2,133
08/20/2008 13:53:25
1
0
NHibernate vs LINQ
As someone wo hasn't used either technology on real-world projects I wonder if anyone knows how these two complement each other and how much their functionalities overlap?
linq
nhibernate
null
null
null
null
open
NHibernate vs LINQ === As someone wo hasn't used either technology on real-world projects I wonder if anyone knows how these two complement each other and how much their functionalities overlap?
0
26,984
08/25/2008 21:46:43
2,644
08/23/2008 21:56:47
169
16
What is the general rule of thumbs for creating an Exception in Java?
I have been in both situations: - Creating too much custom Exceptions - Using too much the general Exception class In both cases the project started OK but soon became an overhead to maintain (and refactor). So what is the best practice regarding the creation of your own Exceptions?
java
exception
null
null
null
null
open
What is the general rule of thumbs for creating an Exception in Java? === I have been in both situations: - Creating too much custom Exceptions - Using too much the general Exception class In both cases the project started OK but soon became an overhead to maintain (and refactor). So what is the best pr...
0
27,009
08/25/2008 22:04:40
2,822
08/25/2008 11:42:23
1
3
How does one implement FxCop / static analysis on an existing code base
What are some of the strategies that are used when implementing FxCop / static analysis on existing code bases with existing violations? How can one most effectively reduce the static analysis violations?
metrics
static-analysis
fxcop
null
null
null
open
How does one implement FxCop / static analysis on an existing code base === What are some of the strategies that are used when implementing FxCop / static analysis on existing code bases with existing violations? How can one most effectively reduce the static analysis violations?
0
27,018
08/25/2008 22:09:23
2,822
08/25/2008 11:42:23
6
3
Single responsiblity principle: granularity of the reason to change
When applying the Single Responsibility Principle and looking at a class's reason to change, how do you determine whether that reason too change is too granular, or not granular enough?
oop
null
null
null
null
null
open
Single responsiblity principle: granularity of the reason to change === When applying the Single Responsibility Principle and looking at a class's reason to change, how do you determine whether that reason too change is too granular, or not granular enough?
0
27,020
08/25/2008 22:11:30
2,798
08/25/2008 07:51:57
1
0
Alternating coloring groups of rows in Excel
I have an Excel Spreadsheet like this <pre> id | data for id | more data for id id | data for id id | data for id | more data for id | even more data for id id | data for id | more data for id id | data for id id | data for id | more data for id </pre> Now I want to group the data of on...
excel
null
null
null
null
null
open
Alternating coloring groups of rows in Excel === I have an Excel Spreadsheet like this <pre> id | data for id | more data for id id | data for id id | data for id | more data for id | even more data for id id | data for id | more data for id id | data for id id | data for id | more data fo...
0
27,027
08/25/2008 22:13:58
116
08/02/2008 05:51:57
3,824
204
Best approaches to versioning Mac "bundle" files
So you know a lot of Mac apps use "bundles": It looks like a single file to your application, but it's actually a folder with many files inside. It makes the application nice and speedy (you can update an image in a document, and it just copies that image into the folder without having to rewrite the document file,...
version-control
osx
bundle
null
null
null
open
Best approaches to versioning Mac "bundle" files === So you know a lot of Mac apps use "bundles": It looks like a single file to your application, but it's actually a folder with many files inside. It makes the application nice and speedy (you can update an image in a document, and it just copies that image into t...
0
27,030
08/25/2008 22:15:21
2,176
08/20/2008 18:32:50
1
0
Comparing Arrays of Objects in JavaScript
I want to compare 2 arrays of objects in JavaScript code. The objects have 8 total properties, but each object will not have a value for each, and the arrays are never going to be any larger than 8 items each, so maybe the brute force method of traversing each and then looking at the values of the 8 properties is the ...
javascript
arrays
comparison
null
null
null
open
Comparing Arrays of Objects in JavaScript === I want to compare 2 arrays of objects in JavaScript code. The objects have 8 total properties, but each object will not have a value for each, and the arrays are never going to be any larger than 8 items each, so maybe the brute force method of traversing each and then lo...
0
27,044
08/25/2008 22:28:08
234
08/03/2008 20:25:38
2,223
159
How can I set LANG to ascii?
I'm accessing an ubuntu machine using PuTTY, and using gcc. The default `LANG` environment variable on this machine is set to `en_NZ.UTF-8`, which causes GCC to think PuTTY is capable of displaying UTF-8 text, which it doesn't seem to be. Maybe it's my font, I don't know - it does this: foo.c:1: error: expe...
linux
bash
language
utf8
null
null
open
How can I set LANG to ascii? === I'm accessing an ubuntu machine using PuTTY, and using gcc. The default `LANG` environment variable on this machine is set to `en_NZ.UTF-8`, which causes GCC to think PuTTY is capable of displaying UTF-8 text, which it doesn't seem to be. Maybe it's my font, I don't know - it does...
0
27,054
08/25/2008 22:38:02
2,900
08/25/2008 20:47:19
1
6
How do you deal with the light side and dark side of distributed version control systems ?
I've had some discussions recently at work about switching from Subversion to a DVCS like bazaar, and I would like to get other people's opinion. I've managed to crystallize my reluctance to do so into a simple parallel. Version Control can be used well or badly. The 'light side' of version control is when y...
version-control
svn
null
null
null
null
open
How do you deal with the light side and dark side of distributed version control systems ? === I've had some discussions recently at work about switching from Subversion to a DVCS like bazaar, and I would like to get other people's opinion. I've managed to crystallize my reluctance to do so into a simple parallel. ...
0
27,065
08/25/2008 22:52:02
1,666
08/17/2008 21:07:18
245
18
Tool to read and display Java .class versions
Do any of you know of a tool that will search for .class files and then display their compiled versions? I know you can look at them individually in a hex editor but I have a lot of class files to look over (something in my giant application is compiling to Java6 for some reason).
java
null
null
null
null
null
open
Tool to read and display Java .class versions === Do any of you know of a tool that will search for .class files and then display their compiled versions? I know you can look at them individually in a hex editor but I have a lot of class files to look over (something in my giant application is compiling to Java6 fo...
0
27,071
08/25/2008 22:55:48
39,040
11/19/2008 17:53:34
3
2
Pointer to Pointer Managed C++
I have an old C library with a function that takes a void**: oldFunction(void** pStuff); I'm trying to call this function from managed C++ (m_pStuff is a member of the parent ref class of type void*): oldFunction( static_cast<sqlite3**>( &m_pStuff ) ); This gives me the following error from Visual Stud...
managed
c++
pointers
null
null
null
open
Pointer to Pointer Managed C++ === I have an old C library with a function that takes a void**: oldFunction(void** pStuff); I'm trying to call this function from managed C++ (m_pStuff is a member of the parent ref class of type void*): oldFunction( static_cast<sqlite3**>( &m_pStuff ) ); This gives me ...
0
27,077
08/25/2008 22:58:43
1,438
08/15/2008 15:44:20
299
17
Is there any way to prevent find from digging down recursively into subdirectories?
When I do: $ find / It searches the entire system. How do I prevent that? (This question comes from an "[answer](http://stackoverflow.com/questions/18836/why-doesnt-find-find-anything#26182)" to another question.)
unix
bash
shell
ksh
null
null
open
Is there any way to prevent find from digging down recursively into subdirectories? === When I do: $ find / It searches the entire system. How do I prevent that? (This question comes from an "[answer](http://stackoverflow.com/questions/18836/why-doesnt-find-find-anything#26182)" to another question.)
0
27,078
08/25/2008 22:58:57
417
08/05/2008 14:45:33
243
13
IE6 security login (debugging via VirtualPC)
I am debugging my ASP.NET application on my Windows XP box with a virtual directory set up in IIS (5.1). I am also running VirtualPC with XP and IE6 for testing purposes. When I connect to my real machine from the virtual machine, I enter the URL: http://machinename/projectname. I get a security popup to connect ...
asp.net
iis
internet-explorer
null
null
null
open
IE6 security login (debugging via VirtualPC) === I am debugging my ASP.NET application on my Windows XP box with a virtual directory set up in IIS (5.1). I am also running VirtualPC with XP and IE6 for testing purposes. When I connect to my real machine from the virtual machine, I enter the URL: http://machinename/...
0
27,095
08/25/2008 23:09:30
547
08/06/2008 16:09:22
474
30
The Google Calculator Glitch, could float vs. double be a possible reason?
I did this Just for kicks (so, not exactly a question, i can see the downmodding happening already) but, in lieu of Google's newfound [inability][1] to do [math][2] [correctly][3] (check it! according to google 500,000,000,000,002 - 500,000,000,000,001 = 0), i figured i'd try the following in C to run a little theory. ...
google
calculator
c
bad-math
null
null
open
The Google Calculator Glitch, could float vs. double be a possible reason? === I did this Just for kicks (so, not exactly a question, i can see the downmodding happening already) but, in lieu of Google's newfound [inability][1] to do [math][2] [correctly][3] (check it! according to google 500,000,000,000,002 - 500,000...
0
27,099
08/25/2008 23:14:53
2,600
08/23/2008 13:40:14
236
15
What to do with extra screen real estate?
I'm a big fan of screen real estate. I love [big monitors and multiple monitors][1]. I ran dual 19" CRTs for years, and switched to dual 19" LCDs a few years ago. That's still what I run at home, but I recently started a new job where I wrangled a big hardware budget and promptly blew a bunch of it on twin 24" monit...
hardware
null
null
null
null
null
open
What to do with extra screen real estate? === I'm a big fan of screen real estate. I love [big monitors and multiple monitors][1]. I ran dual 19" CRTs for years, and switched to dual 19" LCDs a few years ago. That's still what I run at home, but I recently started a new job where I wrangled a big hardware budget an...
0
27,108
08/25/2008 23:21:43
2,758
08/24/2008 22:12:45
31
5
Perfmon File Analysis Tools
I have a bunch of perfmon files that have captured information over a period of time. Whats the best tool to crunch this information? Idealy I'd like to be able to see avg stats per hour for the object counters that have been monitored.
performance
null
null
null
null
null
open
Perfmon File Analysis Tools === I have a bunch of perfmon files that have captured information over a period of time. Whats the best tool to crunch this information? Idealy I'd like to be able to see avg stats per hour for the object counters that have been monitored.
0
27,129
08/25/2008 23:51:06
797
08/09/2008 02:14:04
320
16
Charting library for Java and .Net
Can anyone recommend a library for chart generation (bar charts, pie charts etc.) which runs on both Java and .Net?
.net
java
charts
null
null
null
open
Charting library for Java and .Net === Can anyone recommend a library for chart generation (bar charts, pie charts etc.) which runs on both Java and .Net?
0
27,138
08/26/2008 00:01:55
1,992
08/19/2008 18:04:16
129
9
iPhone app that access the Core Location framework over web
I was wondering if I could access the iPhones Core Location framework over a website? My goal is to build a webapp/website that the iPhone would browse to, then upload its current GPS location. This would be a simple site primary for friends/family so we could locate each other. I can have them manually enter lng/la...
iphone
web-applications
gps
null
null
null
open
iPhone app that access the Core Location framework over web === I was wondering if I could access the iPhones Core Location framework over a website? My goal is to build a webapp/website that the iPhone would browse to, then upload its current GPS location. This would be a simple site primary for friends/family so ...
0
27,148
08/26/2008 00:17:27
2,495
08/22/2008 14:30:23
43
1
merge rss feeds
I want to merge multiple rss feeds into a single feed, removing any duplicates. Specifically, I'm interested in merging the feeds for the [tags](http://stackoverflow.com/tags) I'm interested in. [A quick [search](http://www.google.com/search?q=rss+merge+reader) turned up some promising links, which I don't have tim...
rss
null
null
null
null
null
open
merge rss feeds === I want to merge multiple rss feeds into a single feed, removing any duplicates. Specifically, I'm interested in merging the feeds for the [tags](http://stackoverflow.com/tags) I'm interested in. [A quick [search](http://www.google.com/search?q=rss+merge+reader) turned up some promising links, w...
0
27,153
08/26/2008 00:19:00
2,470
08/22/2008 12:42:38
83
21
Development resources for Mono on PS3
I have been considering taking the plunge and installing Linux on my Playstation 3. As C# is my current language of choice, the next logical step would be to install Mono. I have done a little research and found that [http://psubuntu.com/wiki/InstallationInstructions][1] has instruction on installing Ubuntu and lin...
c#
mono
playstation
null
null
null
open
Development resources for Mono on PS3 === I have been considering taking the plunge and installing Linux on my Playstation 3. As C# is my current language of choice, the next logical step would be to install Mono. I have done a little research and found that [http://psubuntu.com/wiki/InstallationInstructions][1] h...
0
27,179
08/26/2008 00:59:04
2,128
08/20/2008 13:32:09
243
4
C: Network Programming
I am relatively new to the C language, but I'm a very fast learner. I'm looking to do some basic network programming in C but I'm not sure how to start. Could anyone point me to a good guide or tutorial for C Network Programming?
c
network-programming
null
null
null
null
open
C: Network Programming === I am relatively new to the C language, but I'm a very fast learner. I'm looking to do some basic network programming in C but I'm not sure how to start. Could anyone point me to a good guide or tutorial for C Network Programming?
0
27,195
08/26/2008 01:17:25
479
08/06/2008 08:37:10
155
12
Can fogbugz track case dependencies?
Can fogbugz track case dependencies?
fogbugz
null
null
null
null
null
open
Can fogbugz track case dependencies? === Can fogbugz track case dependencies?
0
27,206
08/26/2008 01:29:27
1,363
08/14/2008 18:24:19
99
3
What are the benifits of using partitons with Enterprise edition of SQL 2005
I'm comparing between two techniques to create partitioned tables in SQL 2005. * Use partitioned views with a standard version of SQL 2005 (described [here][1]) * Use the built in partition in the Enterprise edition of SQL 2005 (described [here][2]) Given that the enterprise edition is much more expensive, I wou...
sql
sql2005
sqlpartitions
null
null
null
open
What are the benifits of using partitons with Enterprise edition of SQL 2005 === I'm comparing between two techniques to create partitioned tables in SQL 2005. * Use partitioned views with a standard version of SQL 2005 (described [here][1]) * Use the built in partition in the Enterprise edition of SQL 2005 (descr...
0
27,222
08/26/2008 01:47:29
889
08/10/2008 08:04:03
161
12
DOM manipulation in PHP
I am looking for good methods of manipulating HTML in PHP. For example, the problem I'm currently have is dealing with malformed html. I am getting input that looks something like this: <div>This is some <b>text As you noticed, the html is missing closing tags. I could use regex or a XML Parser to solve th...
php
dom
null
null
null
null
open
DOM manipulation in PHP === I am looking for good methods of manipulating HTML in PHP. For example, the problem I'm currently have is dealing with malformed html. I am getting input that looks something like this: <div>This is some <b>text As you noticed, the html is missing closing tags. I could use rege...
0
27,240
08/26/2008 01:57:51
1,666
08/17/2008 21:07:18
245
19
Why aren't Enumerations Iterable?
In Java 5 and above you have the foreach loop, which works magically on anything that implements Iterable: for (Object o : list) { doStuff(o); } However, Enumerable still does not implement Iterable, meaning that do iterate over an Enumeration you must do the following: for(; e.hasMoreEleme...
java
enumeration
iterable
null
null
null
open
Why aren't Enumerations Iterable? === In Java 5 and above you have the foreach loop, which works magically on anything that implements Iterable: for (Object o : list) { doStuff(o); } However, Enumerable still does not implement Iterable, meaning that do iterate over an Enumeration you must do the...
0
27,242
08/26/2008 01:58:23
2,908
08/25/2008 21:46:25
1
1
Where can I learn JQuery? is it worth it?
Hey, I've had a lot of good experiences learning about web development on <a href="http://www.w3schools.com/">w3schools.com</a>. It's hit or miss, I know, but the php and css sections specifically have proven very useful for reference. Anyway, I was wondering if there was a similar site for JQuery. I'm interested in...
javascript
jquery
w3schools
null
null
null
open
Where can I learn JQuery? is it worth it? === Hey, I've had a lot of good experiences learning about web development on <a href="http://www.w3schools.com/">w3schools.com</a>. It's hit or miss, I know, but the php and css sections specifically have proven very useful for reference. Anyway, I was wondering if there w...
0
27,243
08/26/2008 01:59:00
2,849
08/25/2008 14:24:20
21
3
NHibernate 1.2 to 2.0 migration
What kinds of considerations are there for migrating an application from NHibernate 1.2 to 2.0? What are breaking changes vs. recommended changes? Are there mapping issues?
design
nhibernate
null
null
null
null
open
NHibernate 1.2 to 2.0 migration === What kinds of considerations are there for migrating an application from NHibernate 1.2 to 2.0? What are breaking changes vs. recommended changes? Are there mapping issues?
0
27,247
08/26/2008 02:00:15
2,920
08/26/2008 01:29:20
1
0
Could you some guides about Epoll on Linux
I need to know about Epoll On linux System. Could you recommend manual or guides about epoll library? need more detailed guides. it's better to have some examples. help me. and Thank you for reading.
c++
linux
epoll
guide
null
null
open
Could you some guides about Epoll on Linux === I need to know about Epoll On linux System. Could you recommend manual or guides about epoll library? need more detailed guides. it's better to have some examples. help me. and Thank you for reading.
0
27,253
08/26/2008 02:04:30
2,680
08/24/2008 14:33:15
71
2
Is there any tool for reformatting C# code?
I am looking for a (preferably) command-line tool that can reformat the C# source code on a directory tree. Ideally, I should be able to customize the formatting. Bonus points if the tool can be run on mono (or linux).
c#
formatting
null
null
null
null
open
Is there any tool for reformatting C# code? === I am looking for a (preferably) command-line tool that can reformat the C# source code on a directory tree. Ideally, I should be able to customize the formatting. Bonus points if the tool can be run on mono (or linux).
0
27,258
08/26/2008 02:07:25
392
08/05/2008 12:29:07
810
46
ASP.NET JavaScript Callbacks Without Full PostBacks?
I'm about to start a fairly Ajax heavy feature in my company's application. What I need to do is make an Ajax callback every few minutes a user has been on the page. - I don't need to do any DOM updates before, after, or during the callbacks. - I don't need any information from the page, just from a site cook...
ajax
asp.net
javascript
null
null
null
open
ASP.NET JavaScript Callbacks Without Full PostBacks? === I'm about to start a fairly Ajax heavy feature in my company's application. What I need to do is make an Ajax callback every few minutes a user has been on the page. - I don't need to do any DOM updates before, after, or during the callbacks. - I don't...
0
27,266
08/26/2008 02:11:52
2,908
08/25/2008 21:46:25
1
2
Avoid traffic shaping by using ssh on port 443
I heard that if you use port 443 (the port usually used for https) for ssh, the encrypted packets look the same to your isp. Could this be a way to avoid traffic shaping/throttling?
linux
http
ssh
isp
trafficshaping
null
open
Avoid traffic shaping by using ssh on port 443 === I heard that if you use port 443 (the port usually used for https) for ssh, the encrypted packets look the same to your isp. Could this be a way to avoid traffic shaping/throttling?
0
27,267
08/26/2008 02:12:06
658
08/07/2008 15:07:47
288
18
Delete Amazon S3 buckets?
I've been interacting with Amazon S3 through [S3Fox][1] and I can't seem to delete my buckets. I select a bucket, hit delete, confirm the delete in a popup, and... nothing happens. Is there another tool that I should use? [1]: https://addons.mozilla.org/en-US/firefox/addon/3247
amazon-s3
buckets
null
null
null
null
open
Delete Amazon S3 buckets? === I've been interacting with Amazon S3 through [S3Fox][1] and I can't seem to delete my buckets. I select a bucket, hit delete, confirm the delete in a popup, and... nothing happens. Is there another tool that I should use? [1]: https://addons.mozilla.org/en-US/firefox/addon/3247
0
27,288
08/26/2008 02:28:39
359
08/05/2008 02:58:12
1
0
How do I save a datagrid to excel in vb.net?
I know that this should be easy but how do I export/save a DataGridView to excel?
vb.net
excel
null
null
null
null
open
How do I save a datagrid to excel in vb.net? === I know that this should be easy but how do I export/save a DataGridView to excel?
0
27,292
08/26/2008 02:32:39
364
08/05/2008 05:33:41
346
22
What is the best solution for maintaining backup and revision control on live websites?
<h2>What is the best solution for maintaining backup and revision control on live websites?</h2> <br/> As part of my job I work with several live websites. We need an efficient means of maintaining backups of the live folders over time. Additionally, updating these sites can be a pain, especially if a change happens...
website
hosting
backup
sourcecontrol
null
null
open
What is the best solution for maintaining backup and revision control on live websites? === <h2>What is the best solution for maintaining backup and revision control on live websites?</h2> <br/> As part of my job I work with several live websites. We need an efficient means of maintaining backups of the live folders...
0
27,294
08/26/2008 02:35:30
1,965
08/19/2008 15:51:08
1,233
78
Abstract Factory Design Pattern
I'm working on an internal project for my company, and part of the project is to be able to parse various "Tasks" from an XML file into a collection of tasks to be ran later. Because each type of Task has a multitude of different associated fields, I decided it would be best to represent each type of Task with a sep...
c#
design-patterns
factory
null
null
null
open
Abstract Factory Design Pattern === I'm working on an internal project for my company, and part of the project is to be able to parse various "Tasks" from an XML file into a collection of tasks to be ran later. Because each type of Task has a multitude of different associated fields, I decided it would be best to r...
0
27,303
08/26/2008 02:40:08
1,199,387
08/06/2008 23:58:10
214
15
Databind RenderTransform Scaling in Silverlight 2 Beta 2
Anyone know if it's possible to databind the ScaleX and ScaleY of a render transform in Silverlight 2 Beta 2? Binding transforms is possible in WPF - But I'm getting an error when setting up my binding in Silverlight through XAML. Perhaps it's possible to do it through code? <Image Height="60" HorizontalAlignmen...
silverlight
data-binding
null
null
null
null
open
Databind RenderTransform Scaling in Silverlight 2 Beta 2 === Anyone know if it's possible to databind the ScaleX and ScaleY of a render transform in Silverlight 2 Beta 2? Binding transforms is possible in WPF - But I'm getting an error when setting up my binding in Silverlight through XAML. Perhaps it's possible to do...
0
27,308
08/26/2008 02:42:14
826
08/09/2008 05:24:54
61
6
Good laptop for Solaris development
I need to spec a laptop for some Solaris development work I've got to do. I need something that will run Solaris 10 reasonably well - dual core with 4GB of memory is the sort of thing I'm aiming at. Solaris is a little bit picky about device support, so I'm hoping someone in the SO community has a solid recommendati...
solaris
hardware
laptop
null
null
09/23/2011 12:08:16
not constructive
Good laptop for Solaris development === I need to spec a laptop for some Solaris development work I've got to do. I need something that will run Solaris 10 reasonably well - dual core with 4GB of memory is the sort of thing I'm aiming at. Solaris is a little bit picky about device support, so I'm hoping someone in ...
4
27,345
08/26/2008 03:23:34
412
08/05/2008 14:16:36
47
1
How do I install the php_gd2 extension in MAMP on a Mac?
I'm running MAMP 1.7.2 on a Mac and I'd like to install the extension php_gd2. How do I do this? I know that on Windows using WAMP I'd simply select the php_gd2 entry in the extensions menu to activate it. How is it done when using MAMP? I know that I can do it using MacPorts but I'd prefer not to make any changes...
php
mamp
null
null
null
null
open
How do I install the php_gd2 extension in MAMP on a Mac? === I'm running MAMP 1.7.2 on a Mac and I'd like to install the extension php_gd2. How do I do this? I know that on Windows using WAMP I'd simply select the php_gd2 entry in the extensions menu to activate it. How is it done when using MAMP? I know that I ...
0
27,359
08/26/2008 03:37:53
163
08/02/2008 20:40:09
297
18
RSync only if filesystem is mounted
I want to setup a cron job to rsync a remote system to a backup partition, something like: bash -c 'rsync -avz --delete --exclude=proc --exclude=sys root@remote1:/ /mnt/remote1/' I would like to be able to "set it and forget it" but what if `/mnt/remote1` becomes unmounted? (After a reboot or something) I...
rsync
bash
sysadmin
backup
null
null
open
RSync only if filesystem is mounted === I want to setup a cron job to rsync a remote system to a backup partition, something like: bash -c 'rsync -avz --delete --exclude=proc --exclude=sys root@remote1:/ /mnt/remote1/' I would like to be able to "set it and forget it" but what if `/mnt/remote1` becomes u...
0
27,381
08/26/2008 03:52:06
2,908
08/25/2008 21:46:25
17
5
should websites expand on window resize?
I'm asking this question purely from a usability standpoint: Should a website expand/stretch to fill the viewing area when you resize a browser window? I know for sure there are the obvious cons: - Wide columns of text are hard to read - Writing html/css using percents can be a pain - It makes you vulnerable...
html
css
design
usability
null
null
open
should websites expand on window resize? === I'm asking this question purely from a usability standpoint: Should a website expand/stretch to fill the viewing area when you resize a browser window? I know for sure there are the obvious cons: - Wide columns of text are hard to read - Writing html/css using perc...
0
27,405
08/26/2008 04:19:59
609
08/07/2008 10:26:12
31
1
Whats the fastest way to multiply a 16-bit integer by a double?
I want to to do this, on an 8-bit micro controller <pre><code>16bit_integer = another_16bit_integer * 0.997;</code></pre> with the least possible number of instructions.
c
microcontroller
null
null
null
null
open
Whats the fastest way to multiply a 16-bit integer by a double? === I want to to do this, on an 8-bit micro controller <pre><code>16bit_integer = another_16bit_integer * 0.997;</code></pre> with the least possible number of instructions.
0
27,407
08/26/2008 04:22:21
1,918
08/19/2008 14:12:41
1
0
What does "VM Size" mean in the Windows Task Manager?
Virtual memory from a computer size perspective is > [a way to make the program] think it > has a large range of contiguous > addresses; but in reality the parts it > is currently using are scattered > around RAM, and the inactive parts are > saved in a disk file. ([Wikipedia][1]) I would interpret VM Size...
windows
operating-system
null
null
null
04/11/2012 16:40:50
off topic
What does "VM Size" mean in the Windows Task Manager? === Virtual memory from a computer size perspective is > [a way to make the program] think it > has a large range of contiguous > addresses; but in reality the parts it > is currently using are scattered > around RAM, and the inactive parts are > saved in...
2
27,435
08/26/2008 05:05:35
1,448
08/15/2008 16:16:35
151
17
MySQL vs PostgreSQL for Web Applications
I am working on a web application using Python (Django) and would like to know whether MySQL or PostgreSQL would be better when deploying for production. In one [podcast][1] Joel said that he had some problems with MySQL and the data wasn't consistent. I would like to know whether someone had any such problems....
mysql
postgresql
null
null
null
null
open
MySQL vs PostgreSQL for Web Applications === I am working on a web application using Python (Django) and would like to know whether MySQL or PostgreSQL would be better when deploying for production. In one [podcast][1] Joel said that he had some problems with MySQL and the data wasn't consistent. I would like ...
0
27,442
08/26/2008 05:20:41
1,632
08/17/2008 17:09:25
260
22
Is there a rake task for backing up the data in your database?
Is there a rake task for backing up the data in your database? I already have my schema backed up, but I want to make a backup of the data. It's a small database.
rake
database
null
null
null
null
open
Is there a rake task for backing up the data in your database? === Is there a rake task for backing up the data in your database? I already have my schema backed up, but I want to make a backup of the data. It's a small database.
0
27,455
08/26/2008 05:36:17
327
08/04/2008 17:08:49
417
22
Does Mono support System.Drawing and System.Drawing.Printing?
I'm attempting to use Mono to load a bitmap and print it on Linux but I'm getting an exception. Does Mono support printing on Linux? The code/exception are below: private void btnPrintTest_Click(object sender, EventArgs e) { _printDocTest.DefaultPageSettings.Landscape = true; _printDocTe...
mono
c#
.net
linux
printing
null
open
Does Mono support System.Drawing and System.Drawing.Printing? === I'm attempting to use Mono to load a bitmap and print it on Linux but I'm getting an exception. Does Mono support printing on Linux? The code/exception are below: private void btnPrintTest_Click(object sender, EventArgs e) { _prin...
0
27,472
08/26/2008 06:06:06
489
08/06/2008 09:59:30
683
27
Timeout not being honoured in connection string
I have a long running SQL statement that I want to run, and no matter what I put in the "timeout=" clause of my connection string, it always seems to end after 30 seconds. I'm just using SqlHelper.ExecuteNonQuery() to execute it, and letting it take care of opening connections, etc. Is there something else that coul...
sql-server
timeout
null
null
null
null
open
Timeout not being honoured in connection string === I have a long running SQL statement that I want to run, and no matter what I put in the "timeout=" clause of my connection string, it always seems to end after 30 seconds. I'm just using SqlHelper.ExecuteNonQuery() to execute it, and letting it take care of opening c...
0
27,474
08/26/2008 06:10:01
1,407
08/15/2008 12:41:48
23
8
Email SMTP validator
I need to send hundreds of newsletters, but would like to check first if email exists on server. It's called smtp validation, at least i think so, based on my research on net. There's several libraries that can do that, and also a page with open-source code in asp (http://www.coveryourasp.com/ValidateEmail.asp#Resul...
email
validation
null
null
null
null
open
Email SMTP validator === I need to send hundreds of newsletters, but would like to check first if email exists on server. It's called smtp validation, at least i think so, based on my research on net. There's several libraries that can do that, and also a page with open-source code in asp (http://www.coveryourasp.c...
0