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
50,606
09/08/2008 20:36:45
2,535
08/22/2008 17:36:15
78
4
Wordpress Category Template Question
I am looking at using a custom template for a set of categories. Is it possible to use a category template (like category-4.php) on a parent category and have the children use that template as well?
wordpress
templates
null
null
null
null
open
Wordpress Category Template Question === I am looking at using a custom template for a set of categories. Is it possible to use a category template (like category-4.php) on a parent category and have the children use that template as well?
0
50,612
09/08/2008 20:39:24
4,530
09/04/2008 17:16:43
16
1
Software Development Quality
Other than the number of bugs found, how do you measure software development quality? I'm looking for something on the positive side.
software-quality
null
null
null
null
null
open
Software Development Quality === Other than the number of bugs found, how do you measure software development quality? I'm looking for something on the positive side.
0
50,618
09/08/2008 20:41:49
5,278
09/08/2008 20:41:49
1
0
What is the point of the finally block?
Syntax aside, what is the difference between try { } catch() { } finally { x = 3; } and try { } catch() { } x = 3;
finally
null
null
null
null
null
open
What is the point of the finally block? === Syntax aside, what is the difference between try { } catch() { } finally { x = 3; } and try { } catch() { } x = 3;
0
50,650
09/08/2008 20:51:46
3,315
08/27/2008 20:06:25
23
2
How to convice a project sponsor that all fuctions in your code should have unit tests
Non technical people in most cases do not see any value in writing unit tests. They just want to have basic code completed and do not spend money and time on such things like unit tests. Later, every day they just to ask to fix a one bug more. Projects are missing deadlines and they still don't see value in good automa...
unit-testing
project-management
null
null
null
null
open
How to convice a project sponsor that all fuctions in your code should have unit tests === Non technical people in most cases do not see any value in writing unit tests. They just want to have basic code completed and do not spend money and time on such things like unit tests. Later, every day they just to ask to fix ...
0
50,684
09/08/2008 21:03:47
2,191
08/20/2008 20:39:36
189
6
Other ways to encrypt WCF Connections
I'm currently working on a project that requires encrypted data be passed between WCF hosts. As I understand it there are only 2 ways to ensure that data passed over WCF is secure. 1. Using Certificates 2. Using a Domain (or having the same username and password on every machine on the network) Using certificat...
c#
security
wcf
null
null
null
open
Other ways to encrypt WCF Connections === I'm currently working on a project that requires encrypted data be passed between WCF hosts. As I understand it there are only 2 ways to ensure that data passed over WCF is secure. 1. Using Certificates 2. Using a Domain (or having the same username and password on every ...
0
50,702
09/08/2008 21:10:49
1,215
08/13/2008 13:32:36
83
15
linq - how do you do a query for items in one query source that are not in another one?
If I have 2 query sources how do I find ones that are in one that are not in the other? example of join to find items in both: var results = from item1 in qs1.Items join item2 in qs2 on item1.field1 equals item2.field2 select item1; So what would the linq code be to return the items in qs1 ...
linq
null
null
null
null
null
open
linq - how do you do a query for items in one query source that are not in another one? === If I have 2 query sources how do I find ones that are in one that are not in the other? example of join to find items in both: var results = from item1 in qs1.Items join item2 in qs2 on item1.field1 equals ite...
0
50,704
09/08/2008 21:11:10
483
08/06/2008 08:54:52
259
19
What is a good way to format logs?
I'm designing an application which includes the need to log all incoming messages I receive from a Telnet connection. The text is largely plain though can include ANSI tags that provide text colour and formatting (16 colours, bold, underline, etc). I'm would like to format my logs to store the text with formatting, ...
c#
logging
parsing
null
null
null
open
What is a good way to format logs? === I'm designing an application which includes the need to log all incoming messages I receive from a Telnet connection. The text is largely plain though can include ANSI tags that provide text colour and formatting (16 colours, bold, underline, etc). I'm would like to format my ...
0
50,707
09/08/2008 21:14:47
4,786
09/05/2008 15:29:10
34
1
Which books are considered classics for .Net?
So Far I know CLR via C# is considered one
.net
books
null
null
null
09/25/2011 21:54:13
not constructive
Which books are considered classics for .Net? === So Far I know CLR via C# is considered one
4
50,723
09/08/2008 21:22:57
5,196
09/08/2008 12:39:19
31
2
Rss feed for game programmer?
I was browsing [this thread][1], which has good recommendation but a bit too general for me. So, if anyone has a collection of nice game programming feeds,please share them. :) (both general and specific topics are welcome) [1]: http://stackoverflow.com/questions/5119/what-are-the-best-rss-feeds-for-programm...
graphics
rss
ai
feeds
null
null
open
Rss feed for game programmer? === I was browsing [this thread][1], which has good recommendation but a bit too general for me. So, if anyone has a collection of nice game programming feeds,please share them. :) (both general and specific topics are welcome) [1]: http://stackoverflow.com/questions/5119/what-...
0
50,737
09/08/2008 21:29:38
5,056
09/07/2008 15:43:17
228
26
Can I have TortoiseSVN auto-add files?
Is there a way to have TortoiseSVN (or any other tool) auto-add any new .cs files I create within a directory to my working copy so I don't have to remember which files I created at the end of the day?
tortoisesvn
subversion
null
null
null
null
open
Can I have TortoiseSVN auto-add files? === Is there a way to have TortoiseSVN (or any other tool) auto-add any new .cs files I create within a directory to my working copy so I don't have to remember which files I created at the end of the day?
0
50,744
09/08/2008 21:33:09
5,548
09/10/2008 12:45:40
33
3
Wait until file is unlocked in .Net
What's the simplest way of blocking a thread until a file has been unlocked and is accessible for reading and renaming? EG: Is there a WaitOnFile() somewhere in the framework? I have a service that uses a FileSystemWatcher to look for files that are to be transmitted to an FTP site, but the File Created event fires ...
.net
.net-3.5
file
null
null
null
open
Wait until file is unlocked in .Net === What's the simplest way of blocking a thread until a file has been unlocked and is accessible for reading and renaming? EG: Is there a WaitOnFile() somewhere in the framework? I have a service that uses a FileSystemWatcher to look for files that are to be transmitted to an FT...
0
50,746
09/08/2008 21:34:10
5,289
09/08/2008 21:34:09
1
0
Visual Studio 2008 "randomly" hangs on test run
We are using VS 2008 Team System with the automated test suite, and upon running tests the test host "randomly" locks up. I actually have to kill the VSTestHost process and re-run the tests to get something to happen, otherwise all tests sit in a "pending" state. Has anyone experience similar behavior and know of a ...
visual-studio
null
null
null
null
null
open
Visual Studio 2008 "randomly" hangs on test run === We are using VS 2008 Team System with the automated test suite, and upon running tests the test host "randomly" locks up. I actually have to kill the VSTestHost process and re-run the tests to get something to happen, otherwise all tests sit in a "pending" state. ...
0
50,747
09/08/2008 21:34:16
91
08/01/2008 17:55:22
6,211
253
Response.StatusCode and Internet Explorer - Display custom message?
I am implementing a HttpRequestValidationException in my Application_Error Handler, and if possible, I want to display a custom message. Now, I'm thinking about the StatusCode. In my current example, it sends a 200, which I think should not be done. I would like to send the (IMHO) more appropriate 400 Bad Request in...
asp.net
http
internet-explorer-7
null
null
null
open
Response.StatusCode and Internet Explorer - Display custom message? === I am implementing a HttpRequestValidationException in my Application_Error Handler, and if possible, I want to display a custom message. Now, I'm thinking about the StatusCode. In my current example, it sends a 200, which I think should not be ...
0
9,617,531
03/08/2012 12:16:36
1,256,955
03/08/2012 12:03:39
1
0
MySQL LineString intersections with Linestring or Polygon
I have a problem with mySQL spatial functions. My target is to find out if a LINESTRING object is passing through a POLYGON object or not. To determine that I've tried to experiment with two LINESTRING objects to determine if they cross or not. SET @ls='LINESTRING (0 0, 1 1, 2 2, 3 3)'; -- original linestring...
php
mysql
polygon
spatial
null
null
open
MySQL LineString intersections with Linestring or Polygon === I have a problem with mySQL spatial functions. My target is to find out if a LINESTRING object is passing through a POLYGON object or not. To determine that I've tried to experiment with two LINESTRING objects to determine if they cross or not. SE...
0
9,617,533
03/08/2012 12:16:53
801,773
06/16/2011 15:24:04
415
9
Wordpress Term exist not having desired effect
I'm struggling to get this to work. Basically, I'm running a WP query to retrieve multiple posts from my custom post-type. In the loop, I want to conditionally echo stuff, depending on what term is assigned to that post. I've created a taxonomy called 'file-types' and have assigned this to my custom post type....
wordpress
taxonomy
term
null
null
null
open
Wordpress Term exist not having desired effect === I'm struggling to get this to work. Basically, I'm running a WP query to retrieve multiple posts from my custom post-type. In the loop, I want to conditionally echo stuff, depending on what term is assigned to that post. I've created a taxonomy called 'file-t...
0
9,617,521
03/08/2012 12:15:35
614,208
02/12/2011 12:56:02
582
33
Difference in between mysql_num_rows and mysql_affected_rows
I want to know what is the difference in between `mysql_num_rows` and `mysql_affected_rows`.How to know when it should use.Any help and suggestions will be highly appreciable.Examples are most welcome.
mysql
mysqldump
null
null
null
null
open
Difference in between mysql_num_rows and mysql_affected_rows === I want to know what is the difference in between `mysql_num_rows` and `mysql_affected_rows`.How to know when it should use.Any help and suggestions will be highly appreciable.Examples are most welcome.
0
9,617,538
03/08/2012 12:17:05
658,011
03/13/2011 23:21:41
978
49
Preload layout with Ruby on Rails
My application has to do a rather time-consuming operation only on the first 'show' action of the page. I have a certain layout in `app/views/layouts/application.html.erb` that I would like to show from the very first second, so that a spinner alongside with an informative message would be inside this layout, letting...
jquery
ruby-on-rails
ajax
partial
null
null
open
Preload layout with Ruby on Rails === My application has to do a rather time-consuming operation only on the first 'show' action of the page. I have a certain layout in `app/views/layouts/application.html.erb` that I would like to show from the very first second, so that a spinner alongside with an informative messa...
0
9,617,539
03/08/2012 12:17:12
1,256,874
03/08/2012 11:21:12
1
0
get custom field value using Grocery CRUD CodeIgniter
How can i get value of a field from another table on my method? and of course i have the primary key of its table. i want to do something in add/edit action like this if(is_empty(value_field_from_another_table)){ $crud->edit_fields('first','second'); $crud->add_fields('first','second'); }else{ ...
php
codeigniter
grocery-crud
null
null
null
open
get custom field value using Grocery CRUD CodeIgniter === How can i get value of a field from another table on my method? and of course i have the primary key of its table. i want to do something in add/edit action like this if(is_empty(value_field_from_another_table)){ $crud->edit_fields('first','second'...
0
9,617,543
03/08/2012 12:17:41
883,954
08/08/2011 11:26:47
56
9
ios 5 uiwebview shadows
i'm trying to display pdf file in uiwebview. my pdf files have different size. one can see the shadow or gradient outside of pdf in uiwebview. i've tried different solution but with no luck. see the link. how can i get rid of those shadows? ![uiwebview shadow][1] [duplicate with answer, but not working for...
ios
pdf
ios5
uiwebview
null
null
open
ios 5 uiwebview shadows === i'm trying to display pdf file in uiwebview. my pdf files have different size. one can see the shadow or gradient outside of pdf in uiwebview. i've tried different solution but with no luck. see the link. how can i get rid of those shadows? ![uiwebview shadow][1] [duplicate wit...
0
9,617,545
03/08/2012 12:17:48
264,273
02/02/2010 11:25:23
961
42
how can I untrack files in a branch that is not my current branch
I have 2 git branches 'Master' and 'Work'. I had been working on my 'Work' Branch for a while. In work I untracked all my *.png files and added *.png to my gitignore. The master branch is still tracking *.png. Now I can't checkout my master branch because git is complaining that my untracked files would be ove...
git
null
null
null
null
null
open
how can I untrack files in a branch that is not my current branch === I have 2 git branches 'Master' and 'Work'. I had been working on my 'Work' Branch for a while. In work I untracked all my *.png files and added *.png to my gitignore. The master branch is still tracking *.png. Now I can't checkout my master...
0
9,617,546
03/08/2012 12:17:48
854,190
07/20/2011 14:51:30
6
1
Distributed Map configured programmatically, is not visible on the other node in the cluster(checked through Hazelcast cmd prompt)
I started exploring hazelcast cache. On my laptop, i have 2 instances of hazelcast running. One from my eclipse, and other from bin/run.bat I did this from my eclipse sample program. IMap t= Hazelcast.getMap("test"); test.put(3, "three"); Now, i went to the hazelcast prompt in the run.bat shell, and tried "t...
hazelcast
null
null
null
null
null
open
Distributed Map configured programmatically, is not visible on the other node in the cluster(checked through Hazelcast cmd prompt) === I started exploring hazelcast cache. On my laptop, i have 2 instances of hazelcast running. One from my eclipse, and other from bin/run.bat I did this from my eclipse sample progra...
0
9,617,548
03/08/2012 12:17:51
647,019
03/06/2011 15:00:59
3
0
Is it possible to call other class instance within ability in CanCan?
The problem is I have two models - Project and Ticket (which belongs to project). I want to deny access to tickets creation upon Project expiration (i.e. I want user couldn't create new ticket for expired project). How can I deny the creation of a ticket for user in CanCan Ability? Something like if user.rol...
ruby-on-rails
cancan
null
null
null
null
open
Is it possible to call other class instance within ability in CanCan? === The problem is I have two models - Project and Ticket (which belongs to project). I want to deny access to tickets creation upon Project expiration (i.e. I want user couldn't create new ticket for expired project). How can I deny the creation...
0
9,617,550
03/08/2012 12:18:04
863,441
07/26/2011 12:34:44
1
0
Drupal / Rules: flagging multiple terms on user save
i almost have this working: drupal 7: My intention is to have a Rule which flags multiple taxonomy terms on behalf of that user, when the user is created. The list of terms to be flagged is a (custom) term reference field on the user. With the following settings, the rule is able to flag the first term in the lis...
drupal
rules
flags
null
null
null
open
Drupal / Rules: flagging multiple terms on user save === i almost have this working: drupal 7: My intention is to have a Rule which flags multiple taxonomy terms on behalf of that user, when the user is created. The list of terms to be flagged is a (custom) term reference field on the user. With the following se...
0
9,617,552
03/08/2012 12:18:09
1,061,173
11/23/2011 04:43:02
1
0
How native process can communicate to chrome extension (lastpass do this)
I know that lastpass extension have a binary component to communicate passwords between browsers (to firefox and IE). What mechanisms can be utilized by chrome extension to communicate with other system processes?
google-chrome-extension
null
null
null
null
null
open
How native process can communicate to chrome extension (lastpass do this) === I know that lastpass extension have a binary component to communicate passwords between browsers (to firefox and IE). What mechanisms can be utilized by chrome extension to communicate with other system processes?
0
9,617,553
03/08/2012 12:18:10
391,605
07/14/2010 13:22:02
319
23
Excel VBA : Get hwnd value of a CommandButton
I'm going nuts here... How do you find the "hwnd" value of a **CommandButton**, in an Excel 2007 Form ? I've Googled, I've tried all kinds of suggestions (most of which suggest that a command button has a **.hwnd** member property - but it doesn't) and haven't found an answer. I can get the *Form's* hwnd val...
excel
hwnd
null
null
null
null
open
Excel VBA : Get hwnd value of a CommandButton === I'm going nuts here... How do you find the "hwnd" value of a **CommandButton**, in an Excel 2007 Form ? I've Googled, I've tried all kinds of suggestions (most of which suggest that a command button has a **.hwnd** member property - but it doesn't) and haven't ...
0
50,762
09/08/2008 21:41:57
2,171
08/20/2008 18:04:57
63
2
Windows Low Level Disk Question
I need to programmatically determine out how many sectors, heads, and cylinders are on a physical disk from Windows XP. Does anyone know the API for determining this? Where might Windows expose this information? Thanks, Terry
windows
harddrive
null
null
null
null
open
Windows Low Level Disk Question === I need to programmatically determine out how many sectors, heads, and cylinders are on a physical disk from Windows XP. Does anyone know the API for determining this? Where might Windows expose this information? Thanks, Terry
0
50,771
09/08/2008 21:46:25
3,453
08/28/2008 16:17:15
46
3
ASP.NET AJAX Load Balancing Issues
This would be a question for anyone who has code in the App_Code folder and uses a hardware load balancer. When a file in the App_Code folder, and the site is not pre-compiled iis will generate random file names for these files. server1 "/ajax/SomeControl, App_Code.tjazq3hb.ashx" server2 "/ajax/SomeCont...
asp.net
ajax
loadbalancing
null
null
null
open
ASP.NET AJAX Load Balancing Issues === This would be a question for anyone who has code in the App_Code folder and uses a hardware load balancer. When a file in the App_Code folder, and the site is not pre-compiled iis will generate random file names for these files. server1 "/ajax/SomeControl, App_Code.tja...
0
50,774
09/08/2008 21:47:54
5,287
09/08/2008 21:29:47
1
3
Visual Studio 2005 crashes on start-up
In my work environment, Visual Studio currently crashes every time I start our main project unless I delete the .suo (solution options) and .ncb (C++ Intellisense symbols) files. Obviously, I've found a workaround. Is there a more permanent solution than this?
visual-studio
crash
intellisense
null
null
null
open
Visual Studio 2005 crashes on start-up === In my work environment, Visual Studio currently crashes every time I start our main project unless I delete the .suo (solution options) and .ncb (C++ Intellisense symbols) files. Obviously, I've found a workaround. Is there a more permanent solution than this?
0
50,786
09/08/2008 21:51:02
685
08/07/2008 19:18:05
172
14
How do I get ms-access to connect to ms-sql as a different user?
How do I get ms-access to connect (through ODBC) to an ms-sql as a different user than their Active Directory ID? I don't want to specify an account in the ODBC connection, I want to do in the ms-access side to hide it from my users. Doing it in the ODBC connection would put me right back in to the original situati...
ms-access
odbc
ms-sql
null
null
null
open
How do I get ms-access to connect to ms-sql as a different user? === How do I get ms-access to connect (through ODBC) to an ms-sql as a different user than their Active Directory ID? I don't want to specify an account in the ODBC connection, I want to do in the ms-access side to hide it from my users. Doing it in ...
0
50,794
09/08/2008 21:57:42
2,566
08/22/2008 22:30:40
68
9
how does unix handle full path name with space and arguments ?
how does unix handle full path name with space and arguments ? in windows we quote the path and add the commandline arguments after, how is it in unix ? > "c:\foo folder with space\foo.exe" -help
path
unix
null
null
null
null
open
how does unix handle full path name with space and arguments ? === how does unix handle full path name with space and arguments ? in windows we quote the path and add the commandline arguments after, how is it in unix ? > "c:\foo folder with space\foo.exe" -help
0
50,799
09/08/2008 21:59:07
5,281
09/08/2008 20:55:41
1
0
What version of TinyMCE will work in Drupal 5 with google chrome?
My drupal site (internal) will not display the TinyMCE editor when using Google Chrome browser. Has anyone gotten TinyMCE to work with Chrome in Drupal 5?
drupal
tinymce
null
null
null
null
open
What version of TinyMCE will work in Drupal 5 with google chrome? === My drupal site (internal) will not display the TinyMCE editor when using Google Chrome browser. Has anyone gotten TinyMCE to work with Chrome in Drupal 5?
0
50,801
09/08/2008 21:59:23
4,925
09/06/2008 17:59:37
1
0
What's the best way to get the fractional part of a float in PHP?
Simple one: How would you find the fractional part of a floating point number in PHP? For example, if I have the value 1.25, I want to return 0.25.
php
null
null
null
null
null
open
What's the best way to get the fractional part of a float in PHP? === Simple one: How would you find the fractional part of a floating point number in PHP? For example, if I have the value 1.25, I want to return 0.25.
0
50,819
09/08/2008 22:10:00
1,343
08/14/2008 15:46:01
231
41
#line and jump to line
Do any editors honer C #line directives with regards to goto line features? *Context:* I'm working on a code generator and need to jump to a line of the output but the line is specified relative to the the #line directive I'm adding. I can drop them but then finding the input line is even a worse pain
text-editor
preprocessor
null
null
null
null
open
#line and jump to line === Do any editors honer C #line directives with regards to goto line features? *Context:* I'm working on a code generator and need to jump to a line of the output but the line is specified relative to the the #line directive I'm adding. I can drop them but then finding the input line is ev...
0
50,822
09/08/2008 22:13:27
5,296
09/08/2008 22:13:27
1
0
Message passing in a plug-in framework problem
First off, there's a bit of background to this issue available on my blog: * <http://www.alastairsmith.me.uk/coding/2008/06/25/message-passing-a-plug-framework.html> * <http://www.alastairsmith.me.uk/coding/2008/07/31/message-passing-2.html> I'm aware that the descriptions aren't hugely clear, so I'll try to...
c#
plugins
message-passing
null
null
null
open
Message passing in a plug-in framework problem === First off, there's a bit of background to this issue available on my blog: * <http://www.alastairsmith.me.uk/coding/2008/06/25/message-passing-a-plug-framework.html> * <http://www.alastairsmith.me.uk/coding/2008/07/31/message-passing-2.html> I'm aware that ...
0
50,824
09/08/2008 22:14:32
122
08/02/2008 07:56:07
3,907
184
Can XML comments go anywhere?
I wrote a simple tool to generate a DBUnit XML dataset using queries that the user enters. I want to include each query entered in the XML as a comment, but the DBUnit API to generate the XML file doesn't support inserting the comment where I would like it (above the data it generates), so I am resorting to putting th...
xml
comments
null
null
null
null
open
Can XML comments go anywhere? === I wrote a simple tool to generate a DBUnit XML dataset using queries that the user enters. I want to include each query entered in the XML as a comment, but the DBUnit API to generate the XML file doesn't support inserting the comment where I would like it (above the data it generate...
0
50,829
09/08/2008 22:18:27
1,343
08/14/2008 15:46:01
231
41
How to log mallocs
This is a bit hypothetical and grossly simplified but... Assume a program that will be calling functions written by third parties. These parties can be assumed to be non-hostile but can't be assumed to be "competent". Each function will take some arguments, have side effects and return a value. They have no state wh...
malloc
null
null
null
null
null
open
How to log mallocs === This is a bit hypothetical and grossly simplified but... Assume a program that will be calling functions written by third parties. These parties can be assumed to be non-hostile but can't be assumed to be "competent". Each function will take some arguments, have side effects and return a valu...
0
50,845
09/08/2008 22:25:48
1,560
08/16/2008 17:17:39
78
2
How to click on an AutoCompleteExtender with Watin
For my acceptance testing I'm writing text into the auto complete extender and I need to click on the populated list. In order to populate the list I have to use AppendText instead of TypeText, otherwise the textbox looses focus before the list is populated. Now my problem is when I try to click on the populated ...
watin
autocompleteextender
null
null
null
null
open
How to click on an AutoCompleteExtender with Watin === For my acceptance testing I'm writing text into the auto complete extender and I need to click on the populated list. In order to populate the list I have to use AppendText instead of TypeText, otherwise the textbox looses focus before the list is populated. ...
0
50,853
09/08/2008 22:27:45
5,236
09/08/2008 16:36:03
1
0
What is a reason that LINQ to SQL wouldn't generate a collection based on a relationship?
I have a relationship between two entities (e1 and e2) and e1 has a collection of e2, however I have a similar relationship set up between (e2 and e3), yet e2 does not contain a collection of e3's, any reason why this would happen? Anything I can post to make this easier to figure out?
linq-to-sql
null
null
null
null
null
open
What is a reason that LINQ to SQL wouldn't generate a collection based on a relationship? === I have a relationship between two entities (e1 and e2) and e1 has a collection of e2, however I have a similar relationship set up between (e2 and e3), yet e2 does not contain a collection of e3's, any reason why this would h...
0
50,854
09/08/2008 22:28:12
326
08/04/2008 16:59:58
228
17
What are the pros/cons of available shopping cart solutions?
I'd like to know what everyone's experiences are with various shopping cart solutions. I'm considering Google Checkout heavily, but would like to know of alternatives, and any reasons for or against those alternatives. At this point, teh technology stack doesn't really matter - but please specify what stack is being us...
shopping-cart
null
null
null
null
04/01/2012 05:42:40
not constructive
What are the pros/cons of available shopping cart solutions? === I'd like to know what everyone's experiences are with various shopping cart solutions. I'm considering Google Checkout heavily, but would like to know of alternatives, and any reasons for or against those alternatives. At this point, teh technology stack...
4
50,863
09/08/2008 22:34:41
4,099
09/01/2008 18:59:39
21
3
sql 2005 roles
What role should I give a sql login if I need the login to be able to create a database, and create additional logins and add users based on those logins to the database i created? This is sql 2005.
sql2005
null
null
null
null
null
open
sql 2005 roles === What role should I give a sql login if I need the login to be able to create a database, and create additional logins and add users based on those logins to the database i created? This is sql 2005.
0
50,864
09/08/2008 22:37:28
5,301
09/08/2008 22:36:18
1
0
Student projects: do they influence employment prospects?
I am a BSc student who is going to start the last year of my degree and I am wondering how relevant my final year project choice is going to be when looking for a job next year - and how it will affect what jobs will be open/closed to me when searching for my first programming/developer job. I presently have a c...
homework
graduate
null
null
null
null
open
Student projects: do they influence employment prospects? === I am a BSc student who is going to start the last year of my degree and I am wondering how relevant my final year project choice is going to be when looking for a job next year - and how it will affect what jobs will be open/closed to me when searching f...
0
50,890
09/08/2008 22:48:43
5,261
09/08/2008 18:44:40
1
3
Average User Download Speeds
Any ideas what the average user's download speed is? I'm working on a site that streams video and am trying to figure out what an average download speed as to determine quality. I know i might be comparing apples with oranges but I'm just looking for something to get a basis for where to start.
internet
download
user
performance
average
null
open
Average User Download Speeds === Any ideas what the average user's download speed is? I'm working on a site that streams video and am trying to figure out what an average download speed as to determine quality. I know i might be comparing apples with oranges but I'm just looking for something to get a basis for whe...
0
50,898
09/08/2008 22:56:22
3,447
08/28/2008 15:51:49
21
2
Nest a GridView within Repeater
Are there disadvantages to nesting a GridView within a Repeater and then binding each repeated GridView during the Repeater's `ItemDataBound` event? What are some alternative solutions? A simple scenario would be repeating a list of US states and displaying a table of cities and city populations for each state.
c#
asp.net
data-binding
gridview
repeater
null
open
Nest a GridView within Repeater === Are there disadvantages to nesting a GridView within a Repeater and then binding each repeated GridView during the Repeater's `ItemDataBound` event? What are some alternative solutions? A simple scenario would be repeating a list of US states and displaying a table of cities and cit...
0
50,900
09/08/2008 22:57:20
438
08/05/2008 18:28:20
26
5
Best way to detect a retail build from a debug build? .net
So I have about 10 short css files that I use with mvc app. There are like error.css login.css etc... Just some really short css files that make updating and editing easy (At least for me). What I want is something that will optimize the if else branch and not incorporate it within the final bits. I want to do som...
.net
debugging
retail
null
null
null
open
Best way to detect a retail build from a debug build? .net === So I have about 10 short css files that I use with mvc app. There are like error.css login.css etc... Just some really short css files that make updating and editing easy (At least for me). What I want is something that will optimize the if else branc...
0
50,914
09/08/2008 23:06:34
2,118
08/20/2008 12:54:09
384
16
Search by hash?
I had the idea of a search engine that would index web items like other search engines do now but would only store the file's title, url and a hash of the contents. This way it would be easy to find items on the web if you already had them and didn't know where they came from or wanted to know all the places that so...
search
hash
utilities
null
null
null
open
Search by hash? === I had the idea of a search engine that would index web items like other search engines do now but would only store the file's title, url and a hash of the contents. This way it would be easy to find items on the web if you already had them and didn't know where they came from or wanted to know a...
0
50,923
09/08/2008 23:10:53
4,883
09/06/2008 10:24:59
336
2
How do you create a weak reference to an object in Python?
How do you create a weak reference to an object in Python?
python
null
null
null
null
null
open
How do you create a weak reference to an object in Python? === How do you create a weak reference to an object in Python?
0
50,931
09/08/2008 23:14:45
2,614
08/23/2008 16:30:32
1
4
Redirecting non-www URL to www
I'm using [Helicon's ISAPI Rewrite 3][1], which basically enables .htaccess in IIS. I need to redirect a non-www URL to the www version, i.e. example.com should redirect to www.example.com. I used the following rule from the examples but it affects subdomains: RewriteCond %{HTTPS} (on)? RewriteCond %{HTTP...
.htaccess
isapi-rewrite
null
null
null
null
open
Redirecting non-www URL to www === I'm using [Helicon's ISAPI Rewrite 3][1], which basically enables .htaccess in IIS. I need to redirect a non-www URL to the www version, i.e. example.com should redirect to www.example.com. I used the following rule from the examples but it affects subdomains: RewriteCond %{...
0
50,945
09/08/2008 23:26:12
4,883
09/06/2008 10:24:59
346
2
Can you do a partial checkout with svn?
If I had 20 directories under trunk/ with lots of files in each and only needed 3 of those directories, would it be possible to do an svn checkout with only those 3 directories under trunk?
subversion
null
null
null
null
null
open
Can you do a partial checkout with svn? === If I had 20 directories under trunk/ with lots of files in each and only needed 3 of those directories, would it be possible to do an svn checkout with only those 3 directories under trunk?
0
50,954
09/08/2008 23:31:08
3,517
08/28/2008 22:29:27
1
1
Application Testing
Is the real benefit in TDD the actual testing of the application, or the benefits that writing a testable application brings to the table? I ask becuase I feel too often the converstation revolves so much around testing, and not the total benefits package.
tdd
null
null
null
null
null
open
Application Testing === Is the real benefit in TDD the actual testing of the application, or the benefits that writing a testable application brings to the table? I ask becuase I feel too often the converstation revolves so much around testing, and not the total benefits package.
0
50,965
09/08/2008 23:39:52
2,915
08/25/2008 23:15:12
2,236
96
Will random data appended to a JPG make it unusable?
So, to simplify my life I want to be able to append from 1 to 7 additional characters on the end of some jpg images my program is processing*. Having tried this out with a few programs, it appears they are fine with the additional characters, which occur after the [FF D9 that specifies the end of the image][1] - so ...
hacks
jpg
file-format
steganography
null
null
open
Will random data appended to a JPG make it unusable? === So, to simplify my life I want to be able to append from 1 to 7 additional characters on the end of some jpg images my program is processing*. Having tried this out with a few programs, it appears they are fine with the additional characters, which occur afte...
0
50,983
09/08/2008 23:58:17
1,190
08/13/2008 12:15:38
1,255
98
Are there any languages that implement generics _well_?
I liked the discussion at [Differences in Generics][1], and was wondering whether there were any languages that used this feature particularly well. I really dislike Java's `List<? extends Foo>` for a `List` of things that are Liskov-substitutable for `Foo`. Why can't `List<Foo>` cover that? And honestly, `Compa...
language-agnostic
generics
null
null
null
null
open
Are there any languages that implement generics _well_? === I liked the discussion at [Differences in Generics][1], and was wondering whether there were any languages that used this feature particularly well. I really dislike Java's `List<? extends Foo>` for a `List` of things that are Liskov-substitutable for `Foo...
0
51,002
09/09/2008 00:11:34
5,004
09/07/2008 10:03:29
23
0
Java Desktop application framework
I am working on designing and building a desktop application. I am thinking about using eclipse or netbeans for the base of this application. However, I have never built on either of these platforms. I am personally leaning to using netbeans because it seams like that platform is an easer learning curve. But, I wan...
java
eclipse
desktop
platform
netbeans
null
open
Java Desktop application framework === I am working on designing and building a desktop application. I am thinking about using eclipse or netbeans for the base of this application. However, I have never built on either of these platforms. I am personally leaning to using netbeans because it seams like that platform...
0
51,007
09/09/2008 00:23:28
1,815
08/18/2008 17:31:15
76
5
Lack of operator overloading in ActionScript 3.0
One of the things I miss the most in ActionScript is the lack of operator overloading, in particular ==. I kind of work around this issue by adding a "Compare" method to my classes, but that doesn't help in many cases, like when you want to use things like the built in Dictionary. Is there a good way to work around ...
flash
actionscript-3
null
null
null
null
open
Lack of operator overloading in ActionScript 3.0 === One of the things I miss the most in ActionScript is the lack of operator overloading, in particular ==. I kind of work around this issue by adding a "Compare" method to my classes, but that doesn't help in many cases, like when you want to use things like the built...
0
403,431
12/31/2008 16:44:25
24,545
10/02/2008 15:44:37
1,265
45
Switching from Java to C++ - what's the easy way?
I have ~2 years of experience in Java programming, and it is basically the first programming language I have made **serious and intensive** use of. Currently, I need start switching to C++ for some assignments I have. Up until now I have been very comfortable with Java, and it's concepts made lots of sense to me. Ju...
c++
java
programming-languages
null
null
null
open
Switching from Java to C++ - what's the easy way? === I have ~2 years of experience in Java programming, and it is basically the first programming language I have made **serious and intensive** use of. Currently, I need start switching to C++ for some assignments I have. Up until now I have been very comfortable with ...
0
403,433
12/31/2008 16:44:27
47,204
12/17/2008 20:45:23
22
0
making the value of a table equal to another value in a different table
i have a small problem with a program that im writing. I have a table - stocks which contains information(products, barcodes etc.) about items stored in a fridge. I then have another table - shop which acts like a shop,containing loads of products and their barcodes.some of the products in the shop table are in the sto...
python
mysql
tables.
null
null
null
open
making the value of a table equal to another value in a different table === i have a small problem with a program that im writing. I have a table - stocks which contains information(products, barcodes etc.) about items stored in a fridge. I then have another table - shop which acts like a shop,containing loads of prod...
0
403,662
12/31/2008 18:10:12
20,730
09/22/2008 20:31:29
-40
0
how to convert a string in c++ or c to integer array .
how to convert string into array off integers ?? can i use of sstream? because atoi doesnt work !!
c
c++
null
null
null
null
open
how to convert a string in c++ or c to integer array . === how to convert string into array off integers ?? can i use of sstream? because atoi doesnt work !!
0
403,756
12/31/2008 18:44:04
37,418
11/13/2008 18:00:22
132
6
Benefits of using a constructor?
In my quest in trying to learn more about OOP in PHP. I have come across the constructor function a good few times and simply can't ignore it anymore. In my understanding, the constructor is called upon the moment I create an object, is this correct? But why would I need to create this constructor if I can use "norm...
php
oop
constructor
null
null
null
open
Benefits of using a constructor? === In my quest in trying to learn more about OOP in PHP. I have come across the constructor function a good few times and simply can't ignore it anymore. In my understanding, the constructor is called upon the moment I create an object, is this correct? But why would I need to crea...
0
403,769
12/31/2008 18:49:11
22,392
09/25/2008 20:52:44
63
0
Trying to add a ToolStrip to a ToolStripPanel side-by-side with an existing ToolStrip
I'm using .net 2.0 with Visual Studio 2005 and I am trying to add two different toolstrips to the top of the form such that they show up side-by-side. I want it to be like Word 2003, where you can add multiple toolstrips to the same row and have them show up in line with each other, rather than dedicating a row to eac...
.net-2.0
toolstrip
toolstrippanel
gui
visual-studio-2005
null
open
Trying to add a ToolStrip to a ToolStripPanel side-by-side with an existing ToolStrip === I'm using .net 2.0 with Visual Studio 2005 and I am trying to add two different toolstrips to the top of the form such that they show up side-by-side. I want it to be like Word 2003, where you can add multiple toolstrips to the ...
0
51,017
09/09/2008 00:39:44
577
08/06/2008 21:36:25
403
17
Determining the performance consequences of PHP code
How can you determine the performance consequences of your PHP code if you are not familiar with the internals? Are there ways to figure out how your code is being executed (besides simply load testing it)? I am looking for things like memory usage, execution time for algorithms. Perhaps Joel would say, "learn C, th...
php
performance
null
null
null
null
open
Determining the performance consequences of PHP code === How can you determine the performance consequences of your PHP code if you are not familiar with the internals? Are there ways to figure out how your code is being executed (besides simply load testing it)? I am looking for things like memory usage, execution ti...
0
51,019
09/09/2008 00:40:53
4,883
09/06/2008 10:24:59
356
2
What does it mean when a postgres process is "idle in transaction"?
On a server that I'm looking at, the output of "ps ax | grep postgres" I see 9 postgres processes that look like the following: postgres: user db 127.0.0.1(55658) idle in transaction Does this mean that some of the processes are hung, waiting for a transaction to be committed? Any pointers to relevant do...
postgresql
null
null
null
null
null
open
What does it mean when a postgres process is "idle in transaction"? === On a server that I'm looking at, the output of "ps ax | grep postgres" I see 9 postgres processes that look like the following: postgres: user db 127.0.0.1(55658) idle in transaction Does this mean that some of the processes are hung...
0
51,021
09/09/2008 00:41:03
2,653
08/23/2008 23:43:40
358
23
Raising Exceptions vs Throwing Exceptions
Ruby has two different exceptions mechanisms: Throw/Catch and Raise/Rescue. Why do we have two? When should you use one and not the other?
ruby
exception
null
null
null
null
open
Raising Exceptions vs Throwing Exceptions === Ruby has two different exceptions mechanisms: Throw/Catch and Raise/Rescue. Why do we have two? When should you use one and not the other?
0
51,022
09/09/2008 00:41:03
5,304
09/09/2008 00:22:24
1
0
What is the simplest way to write web apps in Haskell?
I would like to use Haskell more for my projects, and I think if I can get started using it for web apps, it would really help that cause. I have tried happs once or twice but had trouble getting off the ground. Are there simpler/more conventional (more like lamp) frameworks out there that I can use or should I just gi...
haskell
null
null
null
null
null
open
What is the simplest way to write web apps in Haskell? === I would like to use Haskell more for my projects, and I think if I can get started using it for web apps, it would really help that cause. I have tried happs once or twice but had trouble getting off the ground. Are there simpler/more conventional (more like l...
0
51,027
09/09/2008 00:46:48
2,976
08/26/2008 09:42:25
579
40
Database system that is not relational.
What are the other types of database systems out there. I've recently came across couchDB that handles data in a non relational way. It got me thinking about what other models are other people is using. So, I want to know what other types of data model is out there. (I'm not looking for any specifics, just want to l...
database
null
null
null
null
null
open
Database system that is not relational. === What are the other types of database systems out there. I've recently came across couchDB that handles data in a non relational way. It got me thinking about what other models are other people is using. So, I want to know what other types of data model is out there. (I'm ...
0
51,028
09/09/2008 00:47:21
5,304
09/09/2008 00:22:24
1
0
Is there a simple way in Haskell to call a shell command in Windows without the command window popping up?
I wrote a Haskell program that runs backup processes periodically on a Windows machine use rsync. But everytime I run the rsync command, a command window opens up to the top of all the windows. I would like to get rid of this window. What is the simplest way to do this?
windows
haskell
commandline
commandwindow
null
09/17/2008 16:48:07
off topic
Is there a simple way in Haskell to call a shell command in Windows without the command window popping up? === I wrote a Haskell program that runs backup processes periodically on a Windows machine use rsync. But everytime I run the rsync command, a command window opens up to the top of all the windows. I would like t...
2
51,032
09/09/2008 00:48:23
1,597
08/17/2008 10:01:21
103
10
C++ - foo( void )
Consider these two function definitions void foo(){} void foo(void){} Is there any difference between these two? If not, why is the void argument there? Aesthetic reasons?
c++
arguments
null
null
null
null
open
C++ - foo( void ) === Consider these two function definitions void foo(){} void foo(void){} Is there any difference between these two? If not, why is the void argument there? Aesthetic reasons?
0
51,050
09/09/2008 01:00:38
2,443
08/22/2008 10:53:30
389
27
What are some good usability guidelines an average developer should follow?
I'm not a usability specialist, and I really don't care to be one. I just want a small set of rules of thumb that I can follow while coding my User Interfaces so that my product has decent usability. At first I thought that this question would be easy to answer "Use your common sense", but if it's so common among...
usability
guildelines
null
null
null
07/05/2012 05:07:33
not constructive
What are some good usability guidelines an average developer should follow? === I'm not a usability specialist, and I really don't care to be one. I just want a small set of rules of thumb that I can follow while coding my User Interfaces so that my product has decent usability. At first I thought that this ques...
4
51,054
09/09/2008 01:05:28
1,862
08/18/2008 23:53:20
1,517
122
Batch file to delete files older than N days
I am looking for a way to delete all files older than 7 days in an MS-DOS batch file. I've search around the web, and found some examples with hundreds of lines of code, and others that required installing extra command line utilities to accomplish the task. Similar things can be [done in BASH][1] in just a couple l...
date
batch
command
cmd.exe
delete
null
open
Batch file to delete files older than N days === I am looking for a way to delete all files older than 7 days in an MS-DOS batch file. I've search around the web, and found some examples with hundreds of lines of code, and others that required installing extra command line utilities to accomplish the task. Similar ...
0
51,088
09/09/2008 01:45:24
1,075
08/12/2008 10:13:30
1,254
76
Plugin for R# similar to CodeRush "statement highlight"
See here [http://www.hanselman.com/blog/InSearchOfThePerfectMonospacedProgrammersFontInconsolata.aspx][1] - for want of a better description - the statement block highlighting. I understand this is a feature of CodeRush - does R# have either anything similar, or a plugin to do the same? [1]: http://www.hanselman...
resharper
codehighlighter
null
null
null
null
open
Plugin for R# similar to CodeRush "statement highlight" === See here [http://www.hanselman.com/blog/InSearchOfThePerfectMonospacedProgrammersFontInconsolata.aspx][1] - for want of a better description - the statement block highlighting. I understand this is a feature of CodeRush - does R# have either anything similar,...
0
51,092
09/09/2008 01:49:32
5,295
09/08/2008 22:12:56
1
0
SQL: aggregate function and group by
Consider the Oracle "emp" table. I'd like to get the employees with the top salary with department = 20 and job = clerk. Also assume that there is no "empno" column, and that the primary key involves a number of columns. You can do this with: select * from scott.emp where deptno = 20 and job = 'CL...
sql
oracle
aggregate
null
null
null
open
SQL: aggregate function and group by === Consider the Oracle "emp" table. I'd like to get the employees with the top salary with department = 20 and job = clerk. Also assume that there is no "empno" column, and that the primary key involves a number of columns. You can do this with: select * from scott.emp ...
0
51,093
09/09/2008 01:49:55
357
08/05/2008 01:29:23
1,152
64
Ubuntu 32 bit maximum address space
Jeff covered this a while back [on his blog][1] in terms of 32 bit Vista. Does the same 32 bit 4 GB memory cap that applies in 32 bit Vista apply to 32 bit Ubuntu? Are there any 32 bit operating systems that have creatively solved this problem? [1]: http://www.codinghorror.com/blog/archives/000811.html
memory
ubuntu
operating-system
null
null
null
open
Ubuntu 32 bit maximum address space === Jeff covered this a while back [on his blog][1] in terms of 32 bit Vista. Does the same 32 bit 4 GB memory cap that applies in 32 bit Vista apply to 32 bit Ubuntu? Are there any 32 bit operating systems that have creatively solved this problem? [1]: http://www.codingho...
0
51,094
09/09/2008 01:50:45
245
08/04/2008 00:38:47
632
16
Payment Processors - What do I need to know if I want to accept credit cards on my website?
[This question][1] talks about different payment processors and what they cost, but I'm looking for the answer to what do I need to do if I want to accept credit card payments? What if I need to *store* credit card numbers for customers? [PCI Data Security][2], which is apparently the standard for storing credit ...
e-commerce
pci
security
null
null
05/18/2012 15:13:42
not constructive
Payment Processors - What do I need to know if I want to accept credit cards on my website? === [This question][1] talks about different payment processors and what they cost, but I'm looking for the answer to what do I need to do if I want to accept credit card payments? What if I need to *store* credit card numbe...
4
51,098
09/09/2008 01:56:09
271
08/04/2008 10:25:01
567
35
Modifying a spreadsheet using a VB macro
I have two spreadsheets... when one gets modified in a certain way I want to have a macro run that modifies the second in an appropriate manner. I've already isolated the event I need to act on (the modification of any cell in a particular column), I just can't seem to find any concrete information on accessing and mo...
excel
vba
macros
null
null
null
open
Modifying a spreadsheet using a VB macro === I have two spreadsheets... when one gets modified in a certain way I want to have a macro run that modifies the second in an appropriate manner. I've already isolated the event I need to act on (the modification of any cell in a particular column), I just can't seem to fin...
0
51,108
09/09/2008 02:05:36
4,910
09/06/2008 14:49:31
23
3
Spartan Programming
I really enjoyed [Jeff's post][1] on [Spartan Programming][2]. I agree that code like that is a joy to read. Unfortunately, I'm not so sure it would necessarily be a joy to work with. For years I have read about and adhered to the "one-expression-per-line" practice. I have fought the good fight and held my ground wh...
language-agnostic
style
spartan
null
null
null
open
Spartan Programming === I really enjoyed [Jeff's post][1] on [Spartan Programming][2]. I agree that code like that is a joy to read. Unfortunately, I'm not so sure it would necessarily be a joy to work with. For years I have read about and adhered to the "one-expression-per-line" practice. I have fought the good fi...
0
51,109
09/09/2008 02:06:13
5,309
09/09/2008 01:21:26
1
0
Win32 List-View Control SubItem padding for custom-drawn SubItems?
When using custom-draw to draw the entire contents of a ListView SubItem (in Report view), it would be nice to be able to apply the same left and right padding that is applied for non-custom-drawn items. Is there a way to programmatically retrieve this padding value? Is it related to the width of a particular cha...
windows
winapi
null
null
null
null
open
Win32 List-View Control SubItem padding for custom-drawn SubItems? === When using custom-draw to draw the entire contents of a ListView SubItem (in Report view), it would be nice to be able to apply the same left and right padding that is applied for non-custom-drawn items. Is there a way to programmatically retr...
0
51,113
09/09/2008 02:08:36
4,541
09/04/2008 17:37:04
102
2
What's the best way to detect if an IDataReader is empty?
It seems like IDataReader.Read() is always true at least one time (If I'm wrong about this let me know.) So how do you tell if it has no records without just wrapping it in a try/catch?
c#
ado.net
null
null
null
null
open
What's the best way to detect if an IDataReader is empty? === It seems like IDataReader.Read() is always true at least one time (If I'm wrong about this let me know.) So how do you tell if it has no records without just wrapping it in a try/catch?
0
51,114
09/09/2008 02:09:25
506
08/06/2008 12:56:30
85
12
ASP.NET 3.5 Without Microsoft SQL Server - What do I lose?
I was just assigned to do a CMS using ASP.net 3.5 and MySQL. I am kind of new to ASP.NET development (quite sufficient with C#) and **I am wondering what major ASP.NET and general .NET features I am losing when I don't have the option to use Microsoft SQL Server.** I know already from quick Googling that I lose LINQ...
asp.net
mysql
null
null
null
null
open
ASP.NET 3.5 Without Microsoft SQL Server - What do I lose? === I was just assigned to do a CMS using ASP.net 3.5 and MySQL. I am kind of new to ASP.NET development (quite sufficient with C#) and **I am wondering what major ASP.NET and general .NET features I am losing when I don't have the option to use Microsoft SQL ...
0
51,124
09/09/2008 02:16:44
5,023
09/07/2008 12:27:27
1
3
Usefulness of SQL Server "with encryption" statement
Recently a friend and I were talking about securing stored procedure code in a SQL server database. From distant memory, I'm pretty certain that "with encryption" is incredibly easily broken in all versions of SQL Server, however he said it has been greatly improved in SQL 2005. As a result I have not seriously c...
sql-server
null
null
null
null
null
open
Usefulness of SQL Server "with encryption" statement === Recently a friend and I were talking about securing stored procedure code in a SQL server database. From distant memory, I'm pretty certain that "with encryption" is incredibly easily broken in all versions of SQL Server, however he said it has been greatly...
0
51,126
09/09/2008 02:21:26
1,496
08/15/2008 21:59:26
1
0
How do you Modify TextBox Control Tab Stops
When you use a Windows Forms TextBox, the default number of tab stops (spaces) is 8. How do you modify this?
c#
.net
winforms
null
null
null
open
How do you Modify TextBox Control Tab Stops === When you use a Windows Forms TextBox, the default number of tab stops (spaces) is 8. How do you modify this?
0
51,129
09/09/2008 02:24:08
245
08/04/2008 00:38:47
657
19
How do I get a value from an XML web service in C#?
In C#, if I need to open an HTTP connection, download XML and get one value from the result, how would I do that? For consistency, imagine the webservice is at www.webservice.com and that if you pass it the POST argument fXML=1 it gives you back <xml><somekey>somevalue</somekey></xml> I'd like it to spit ...
c#
xml
null
null
null
null
open
How do I get a value from an XML web service in C#? === In C#, if I need to open an HTTP connection, download XML and get one value from the result, how would I do that? For consistency, imagine the webservice is at www.webservice.com and that if you pass it the POST argument fXML=1 it gives you back <xml><...
0
51,130
09/09/2008 02:24:18
3,347
08/28/2008 03:11:14
228
39
How many real world developers are involved with the Demoscene?
I grew up learning to code based on what I've experienced with the [demoscene][1]. It seems to be a pretty sparse subculture in the US. How many developers watch or participate in the scene? Teaser: If you haven't checked out the scene before, take a look at one of my favorite: [Debris][2]. Watch on [demoscene.tv...
demoscene
null
null
null
null
null
open
How many real world developers are involved with the Demoscene? === I grew up learning to code based on what I've experienced with the [demoscene][1]. It seems to be a pretty sparse subculture in the US. How many developers watch or participate in the scene? Teaser: If you haven't checked out the scene before, ta...
0
51,135
09/09/2008 02:30:05
2,923
08/26/2008 02:33:00
1
2
Define realtime on the web for business
It drives me nuts to hear business proponents using the term realtime for web-based systems. I'm becoming the crazy in the room, chanting, "There is no such thing as realtime on the web! We're in banking, not the rocket launch/ship navigation/airplane autopilot business!" Anyone have anything better for performanc...
architecture
requirements
analysis
null
null
null
open
Define realtime on the web for business === It drives me nuts to hear business proponents using the term realtime for web-based systems. I'm becoming the crazy in the room, chanting, "There is no such thing as realtime on the web! We're in banking, not the rocket launch/ship navigation/airplane autopilot business!" ...
0
51,139
09/09/2008 02:33:47
4,550
09/04/2008 17:50:43
109
11
How to insert a row into a dataset via SSIS
I'm trying to create an SSIS package that takes data from an XML data source and for each row inserts another row with some preset values. Any ideas? I'm thinking I could use a DataReader source to generate the preset values by doing the following: SELECT 'foo' as 'attribute1', 'bar' as 'attribute2' The que...
sql-server
ssis
null
null
null
null
open
How to insert a row into a dataset via SSIS === I'm trying to create an SSIS package that takes data from an XML data source and for each row inserts another row with some preset values. Any ideas? I'm thinking I could use a DataReader source to generate the preset values by doing the following: SELECT 'foo' ...
0
51,146
09/09/2008 02:41:26
5,309
09/09/2008 01:21:26
1
0
Win32 ToolTip disappears never to re-appear with Commctl 6
I'm creating a [ToolTip](http://msdn.microsoft.com/en-us/library/bb760250&#40;VS.85&#41;.aspx) window and adding tools to it using the flags TTF_IDISHWND | TTF_SUBCLASS. (c++, win32) I have a manifest file such that my program uses the new WindowsXP themes (comctrl32 version 6). When I hover over a registered t...
windows
winapi
null
null
null
null
open
Win32 ToolTip disappears never to re-appear with Commctl 6 === I'm creating a [ToolTip](http://msdn.microsoft.com/en-us/library/bb760250&#40;VS.85&#41;.aspx) window and adding tools to it using the flags TTF_IDISHWND | TTF_SUBCLASS. (c++, win32) I have a manifest file such that my program uses the new WindowsXP ...
0
51,148
09/09/2008 02:54:06
1,292
08/14/2008 12:37:56
23
2
How do I find out if a process is already running using c#?
I have C# winforms application that needs to start an external exe from time to time, but I do not wish to start another process if one is already running, but rather switch to it. So how in C# would I so this in the example below? using System.Diagnostics; ... Process foo = new Process(); ...
c#
winforms
external-process
null
null
null
open
How do I find out if a process is already running using c#? === I have C# winforms application that needs to start an external exe from time to time, but I do not wish to start another process if one is already running, but rather switch to it. So how in C# would I so this in the example below? using System....
0
51,150
09/09/2008 02:58:15
5,309
09/09/2008 01:21:26
6
0
Why does clicking a child window not always bring the application to the foreground?
When an application is behind another applications and I click on my application's taskbar icon, I expect the entire application to come to the top of the z-order, even if an app-modal, WS_POPUP dialog box is open. However, some of the time, for some of my (and others') dialog boxes, only the dialog box comes to ...
windows
winapi
null
null
null
null
open
Why does clicking a child window not always bring the application to the foreground? === When an application is behind another applications and I click on my application's taskbar icon, I expect the entire application to come to the top of the z-order, even if an app-modal, WS_POPUP dialog box is open. However, ...
0
51,156
09/09/2008 03:11:59
131
08/02/2008 08:58:50
106
2
Is there a way of selecting the last item of a list with CSS?
Say I have a list as follows: <ul> <li>item1</li> <li>item2</li> <li>item3</li> </ul> Is there a CSS selector that will allow me to directly select the last item of a list? In this case item 3. Cheers!
css
selectors
null
null
null
null
open
Is there a way of selecting the last item of a list with CSS? === Say I have a list as follows: <ul> <li>item1</li> <li>item2</li> <li>item3</li> </ul> Is there a CSS selector that will allow me to directly select the last item of a list? In this case item 3. Cheers!
0
51,157
09/09/2008 03:13:18
5,309
09/09/2008 01:21:26
6
0
Can the Weblogic default handler display the list of contexts?
In Jetty, if there is no deployment at '/' then the [DefaultHandler](http://www.mortbay.org/jetty/jetty-6/xref/org/mortbay/jetty/handler/DefaultHandler.html) displays a list of known contexts. This is very useful during development. Is it possible to configure BEA Weblogic to provide a similar convenience?
java
java-ee
weblogic
null
null
null
open
Can the Weblogic default handler display the list of contexts? === In Jetty, if there is no deployment at '/' then the [DefaultHandler](http://www.mortbay.org/jetty/jetty-6/xref/org/mortbay/jetty/handler/DefaultHandler.html) displays a list of known contexts. This is very useful during development. Is it possible t...
0
51,165
09/09/2008 03:25:15
5,304
09/09/2008 00:22:24
18
3
How do you do string comparison in javascript?
I have a list of data object to sort. I want to do something like <pre>list.sort(function(item1, item2){ return item1.attr - item2.attr; }) </pre> to sort it based on a string attribute of the object. But found that the minus(-) operator does not work for strings in javascript. So how do you do string compari...
javascript
string
basic
null
null
null
open
How do you do string comparison in javascript? === I have a list of data object to sort. I want to do something like <pre>list.sort(function(item1, item2){ return item1.attr - item2.attr; }) </pre> to sort it based on a string attribute of the object. But found that the minus(-) operator does not work for st...
0
51,176
09/09/2008 03:40:22
5,136
09/08/2008 05:49:47
1
0
Seperating concerns with Linq To SQL and DTO's
I recently started a new webforms project and decided to seperate the business classes from any DBML references. My business layer classes instead access discrete Data layer methods and are returned collections of DTO's. So the data layer might project DTO's like the following: (from c in dataContext.Customers ...
c#
dto-mapping
null
null
null
null
open
Seperating concerns with Linq To SQL and DTO's === I recently started a new webforms project and decided to seperate the business classes from any DBML references. My business layer classes instead access discrete Data layer methods and are returned collections of DTO's. So the data layer might project DTO's like the ...
0
51,180
09/09/2008 03:41:23
4,458
09/03/2008 22:10:02
1
1
How do I stop visual studio from automatically inserting asterisk during a block comment?
I'm tearing my hair out with this one. If I start a block comment ( /* ) in VS.NET 2005+ then carriage return, VS insists that I have another asterisk ( * ). I know there's an option to turn this off but I just can't find it. Anyone know how to turn this feature off?
visual-studio
tips-and-tricks
null
null
null
null
open
How do I stop visual studio from automatically inserting asterisk during a block comment? === I'm tearing my hair out with this one. If I start a block comment ( /* ) in VS.NET 2005+ then carriage return, VS insists that I have another asterisk ( * ). I know there's an option to turn this off but I just can't find it....
0
51,195
09/09/2008 03:51:31
4,639
09/04/2008 23:07:22
30
1
How to get hashes out of arrays in Perl?
I want to write a little "DBQuery" function in perl so I can have one-liners which send an SQL statement and receive back and an array of hashes, i.e. a recordset. However, I'm running into an issue with Perl syntax (and probably some odd pointer/reference issue) which is preventing me from packing out the information ...
perl
arrays
hash
null
null
null
open
How to get hashes out of arrays in Perl? === I want to write a little "DBQuery" function in perl so I can have one-liners which send an SQL statement and receive back and an array of hashes, i.e. a recordset. However, I'm running into an issue with Perl syntax (and probably some odd pointer/reference issue) which is p...
0
51,202
09/09/2008 03:58:06
1,533
08/16/2008 12:20:13
119
19
Can a STP template be hidden from subsite creation page?
When a template is added using the addtemplate stsadm command, it becomes available to everyone when creating a subsite. Is there any way to make it only available when a site collection is being created?
sharepoint
templates
moss
null
null
null
open
Can a STP template be hidden from subsite creation page? === When a template is added using the addtemplate stsadm command, it becomes available to everyone when creating a subsite. Is there any way to make it only available when a site collection is being created?
0
51,210
09/09/2008 04:08:54
5,266
09/08/2008 19:40:56
1
3
Best way to deal with RoutingError in Rails 2.1.x?
So. I'm playing with the routing.rb code in Rails 2.1, and trying to to get it to the point where I can do something useful with the RoutingError exception that is thrown when it can't find the appropriate path. This is a somewhat tricky problem, because there are some class of URLs which are just plain BAD: the /a...
ruby
ruby-on-rails
routing
null
null
null
open
Best way to deal with RoutingError in Rails 2.1.x? === So. I'm playing with the routing.rb code in Rails 2.1, and trying to to get it to the point where I can do something useful with the RoutingError exception that is thrown when it can't find the appropriate path. This is a somewhat tricky problem, because there...
0
51,211
09/09/2008 04:09:12
361
08/05/2008 04:20:27
539
23
E-commerce tutorials
I've never done anything with e-commerce before but I was asked today if I could build such a site. Building a website is within my experience but I'm not sure about the nitty gritty parts like processing credit cards and ssl certificates. I was wondering if anybody had any useful tutorials or hints about where to st...
e-commerce
null
null
null
null
null
open
E-commerce tutorials === I've never done anything with e-commerce before but I was asked today if I could build such a site. Building a website is within my experience but I'm not sure about the nitty gritty parts like processing credit cards and ssl certificates. I was wondering if anybody had any useful tutorials ...
0
51,212
09/09/2008 04:09:15
2,386
08/22/2008 00:33:19
556
27
How to write a download progress indicator in Python?
I am writing a little application to download files over http (as, for example, described [here][1]). I also want to include a little download progress indicator showing the percentage of the download progress. Here is what I came up with: <pre> sys.stdout.write(rem_file + "...") urllib.urlretrieve...
python
null
null
null
null
null
open
How to write a download progress indicator in Python? === I am writing a little application to download files over http (as, for example, described [here][1]). I also want to include a little download progress indicator showing the percentage of the download progress. Here is what I came up with: <pre> sys...
0
51,217
09/09/2008 04:19:24
4,491
09/04/2008 06:44:23
240
8
How would you set up an Subversion repository for in house software projects
I work for a company whose primary business is not software related. Most documentation for using source control is written with a development team writing for commercial or open source projects in mind. As someone who writes in house software I can say that work is done differently then it would be in a commercial or ...
svn
version-control
database
sourcecode
null
null
open
How would you set up an Subversion repository for in house software projects === I work for a company whose primary business is not software related. Most documentation for using source control is written with a development team writing for commercial or open source projects in mind. As someone who writes in house sof...
0
51,224
09/09/2008 04:30:42
3,742
08/30/2008 14:08:11
55
10
Regular Expression to match valid dates
I'm trying to write a regular expression that validates a date. The regex needs to match the following - M/D/YYYY - MM/DD/YYYY - Single digit months can start with a leading zero (eg: 03/12/2008) - Single digit days can start with a leading zero (eg: 3/02/2008) - CANNOT include February 30 or February...
regex
date
null
null
null
null
open
Regular Expression to match valid dates === I'm trying to write a regular expression that validates a date. The regex needs to match the following - M/D/YYYY - MM/DD/YYYY - Single digit months can start with a leading zero (eg: 03/12/2008) - Single digit days can start with a leading zero (eg: 3/02/2008...
0
51,233
09/09/2008 04:38:55
2,386
08/22/2008 00:33:19
566
27
How can I retrieve the page title of a webpage using Python?
How can I retrieve the page title of a webpage (title html tag) using Python?
python
html
null
null
null
null
open
How can I retrieve the page title of a webpage using Python? === How can I retrieve the page title of a webpage (title html tag) using Python?
0
51,238
09/09/2008 04:47:33
1,249
08/13/2008 19:56:10
351
30
How do I conditionally set a column to it's default value with MySqlParameter?
I have a table in a MySql database that stores user accounts. One of the columns, expires, stores an expiration date but defaults to NULL. I need to be able to remove an expiration date and set it back to the default value. Currently, all of my CRUD routines are written using MySqlCommand with parameters. Can this b...
c#
.net
sql
mysql
null
null
open
How do I conditionally set a column to it's default value with MySqlParameter? === I have a table in a MySql database that stores user accounts. One of the columns, expires, stores an expiration date but defaults to NULL. I need to be able to remove an expiration date and set it back to the default value. Currently...
0
51,256
09/09/2008 05:27:00
831
08/09/2008 06:37:00
89
5
How to upload a file to a WCF Service?
I've build a WCF Service to accept a file and write it to disk. The front-end consists of a page with SWFUpload which is handling the upload on the client side. Apparently, SWFUpload posts the data with a Content Type of: multipart/form-data. I would think this ok but on the Service side I get an error. The error is...
web-services
wcf
null
null
null
null
open
How to upload a file to a WCF Service? === I've build a WCF Service to accept a file and write it to disk. The front-end consists of a page with SWFUpload which is handling the upload on the client side. Apparently, SWFUpload posts the data with a Content Type of: multipart/form-data. I would think this ok but on t...
0