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
3,315
08/06/2008 12:17:31
503
08/06/2008 12:17:31
1
0
C#: Can I have a method return IEnumerator<T> and use it in a foreach loop?
I need to set the height of every textbox on my form, some of which are nested within other controls. I thought I could do something like this: private static IEnumerator<TextBox> FindTextBoxes(Control rootControl) { foreach (Control control in rootControl.Controls) { if (control.Controls.Count > 0) { // Recursively search for any TextBoxes within each child control foreach (TextBox textBox in FindTextBoxes(control)) { yield return textBox; } } TextBox textBox2 = control as TextBox; if (textBox2 != null) { yield return textBox2; } } } Using it like this: foreach(TextBox textBox in FindTextBoxes(this)) { textBox.Height = height; } But of course the compiler spits its dummy, because *foreach* expects an IEnumerable rather than an IEnumerator. Is there a way to do this without having to create a separate class with a GetEnumerator() method? Am I mad? Anthony
c#
ienumerable
ienumerator
foreach
null
null
open
C#: Can I have a method return IEnumerator<T> and use it in a foreach loop? === I need to set the height of every textbox on my form, some of which are nested within other controls. I thought I could do something like this: private static IEnumerator<TextBox> FindTextBoxes(Control rootControl) { foreach (Control control in rootControl.Controls) { if (control.Controls.Count > 0) { // Recursively search for any TextBoxes within each child control foreach (TextBox textBox in FindTextBoxes(control)) { yield return textBox; } } TextBox textBox2 = control as TextBox; if (textBox2 != null) { yield return textBox2; } } } Using it like this: foreach(TextBox textBox in FindTextBoxes(this)) { textBox.Height = height; } But of course the compiler spits its dummy, because *foreach* expects an IEnumerable rather than an IEnumerator. Is there a way to do this without having to create a separate class with a GetEnumerator() method? Am I mad? Anthony
0
3,319
08/06/2008 12:23:22
383
08/05/2008 10:46:37
482
60
CSS Background Color in Javascript
How can I set the CSS background color of a HTML element via JavaScript?
javascript
css
null
null
null
null
open
CSS Background Color in Javascript === How can I set the CSS background color of a HTML element via JavaScript?
0
3,362
08/06/2008 13:27:05
357
08/05/2008 01:29:23
76
6
JavaScript - Capturing TAB key in text box
Here on Stack Overflow, I would like to be able to use the tab key within the WMD editor text box to tab over 4 spaces. The way it is now, the tab key jumps my cursor down to the Tags. Vote for this feature at UserVoice: [http://stackoverflow.uservoice.com/pages/general/suggestions/15889][1] Is there some JavaScript that will capture the TAB key in the text box before it bubbles up to the UI? [1]: http://stackoverflow.uservoice.com/pages/general/suggestions/15889
stackoverflow
javascript
null
null
null
02/10/2011 20:27:58
too localized
JavaScript - Capturing TAB key in text box === Here on Stack Overflow, I would like to be able to use the tab key within the WMD editor text box to tab over 4 spaces. The way it is now, the tab key jumps my cursor down to the Tags. Vote for this feature at UserVoice: [http://stackoverflow.uservoice.com/pages/general/suggestions/15889][1] Is there some JavaScript that will capture the TAB key in the text box before it bubbles up to the UI? [1]: http://stackoverflow.uservoice.com/pages/general/suggestions/15889
3
3,374
08/06/2008 13:37:39
302
08/04/2008 13:39:41
57
2
OpenVPN Config file to prevent timeout
I am using OpenVPN with an *.opvn config file under Windows XP to connect to a VPN server. Everything works fine, I connect successfully, but after 2 minutes or so of inactivity my connection dies. Does anyone know if this is a: * OpenVPN config problem * Windows problem * Client network problem * Server VPN config problem * Server network problem I have included my *.opvn config file below: #OpenVPN Server conf tls-client client dev tun proto udp tun-mtu 1400 remote XXX.XXX.XXX.X XXXX pkcs12 XXXX.p12 cipher BF-CBC verb 3 ns-cert-type server I have tried the adding following options to my *.ovpn file with no success: ping 30 keepalive 10 60
windows
vpn
null
null
null
null
open
OpenVPN Config file to prevent timeout === I am using OpenVPN with an *.opvn config file under Windows XP to connect to a VPN server. Everything works fine, I connect successfully, but after 2 minutes or so of inactivity my connection dies. Does anyone know if this is a: * OpenVPN config problem * Windows problem * Client network problem * Server VPN config problem * Server network problem I have included my *.opvn config file below: #OpenVPN Server conf tls-client client dev tun proto udp tun-mtu 1400 remote XXX.XXX.XXX.X XXXX pkcs12 XXXX.p12 cipher BF-CBC verb 3 ns-cert-type server I have tried the adding following options to my *.ovpn file with no success: ping 30 keepalive 10 60
0
3,385
08/06/2008 13:43:44
384
08/05/2008 11:03:36
86
8
MAC addresses in JavaScript
I know that we can get the MAC address of a user via IE (ActiveX objects). Is there a way to do the same thing in all browsers? (Especially since FF is gaining browser share everyday!)
javascript
null
null
null
null
null
open
MAC addresses in JavaScript === I know that we can get the MAC address of a user via IE (ActiveX objects). Is there a way to do the same thing in all browsers? (Especially since FF is gaining browser share everyday!)
0
3,400
08/06/2008 13:52:29
35
08/01/2008 12:43:07
123
18
How do you get leading wildcard full-text searches to work in MS SQL?
I've read in several places now that "leading wildcard" searches (e.g. using "*overflow" to match "stackoverflow") is not supported in MS SQL. I'm considering using a [CLR function to add regex matching][1], but I'm curious to see what other solutions people might have. [1]: http://blogs.msdn.com/sqlclr/archive/2005/06/29/regex.aspx "SQL CLR Blog"
mssql
null
null
null
null
null
open
How do you get leading wildcard full-text searches to work in MS SQL? === I've read in several places now that "leading wildcard" searches (e.g. using "*overflow" to match "stackoverflow") is not supported in MS SQL. I'm considering using a [CLR function to add regex matching][1], but I'm curious to see what other solutions people might have. [1]: http://blogs.msdn.com/sqlclr/archive/2005/06/29/regex.aspx "SQL CLR Blog"
0
3,404
08/06/2008 13:56:42
547
08/06/2008 16:09:22
1
0
Javascript troubleshooting tools in IE
I use Firebug and the Mozilla JS console like crazy, but every now and then run into an IE-only Javascript bug, which everyone knows are really hard to locate even though you know theyre there (ex: error on line 724, when your source html only has 200 lines!) I would love to have a lightweight JS tool (a la firebug) for IE, something I can install in seconds on a clients PC if I run into an error and then uninstall. Some Microsoft tools take some serious download and configuration time. ideas? Cheers, /mp
javascript
ie
null
null
null
null
open
Javascript troubleshooting tools in IE === I use Firebug and the Mozilla JS console like crazy, but every now and then run into an IE-only Javascript bug, which everyone knows are really hard to locate even though you know theyre there (ex: error on line 724, when your source html only has 200 lines!) I would love to have a lightweight JS tool (a la firebug) for IE, something I can install in seconds on a clients PC if I run into an error and then uninstall. Some Microsoft tools take some serious download and configuration time. ideas? Cheers, /mp
0
3,408
08/06/2008 13:59:16
514
08/06/2008 13:59:16
1
0
Ruby On Rails with Windows Vista - Best Setup?
What do you think is the best set-up for RoR in a Win Vista environment? I've tried the radrails eclipse plug-in, and it just seemed too bulky for me, I've also started to just use Textpad and the command line, but I'm used to having somewhat of an IDE to work with. Thanks for the help!
rubyonrails
windows
ide
null
null
null
open
Ruby On Rails with Windows Vista - Best Setup? === What do you think is the best set-up for RoR in a Win Vista environment? I've tried the radrails eclipse plug-in, and it just seemed too bulky for me, I've also started to just use Textpad and the command line, but I'm used to having somewhat of an IDE to work with. Thanks for the help!
0
3,437
08/06/2008 14:14:29
308
08/04/2008 14:34:46
225
15
Options for Google Maps over SSL
We recently discovered that the Google Maps API does not play nicely with SSL. Fair enough, but what are some options for overcoming this that others have used effectively? > [Will the Maps API work over SSL (HTTPS)?][1] > > At this time, the Maps API is not > available over a secure (SSL) > connection. If you are running the > Maps API on a secure site, the browser > may warn the user about non-secure > objects on the screen. We have considered the following options 1. Splitting the page so that credit card collection (the requirement for SSL) is not on the same page as the Google Map. 2. Switching to another map provider, such as Virtual Earth. Rumor has it that they support SSL. 3. Playing tricks with IFRAMEs. Sounds kludgy. 4. Proxying the calls to Google. Sounds like a lot of overhead. Are there other options, or does anyone have insight into the options that we have considered? [1]: http://code.google.com/support/bin/answer.py?answer=65301&topic=10945
ssl
google
https
iframe
maps
null
open
Options for Google Maps over SSL === We recently discovered that the Google Maps API does not play nicely with SSL. Fair enough, but what are some options for overcoming this that others have used effectively? > [Will the Maps API work over SSL (HTTPS)?][1] > > At this time, the Maps API is not > available over a secure (SSL) > connection. If you are running the > Maps API on a secure site, the browser > may warn the user about non-secure > objects on the screen. We have considered the following options 1. Splitting the page so that credit card collection (the requirement for SSL) is not on the same page as the Google Map. 2. Switching to another map provider, such as Virtual Earth. Rumor has it that they support SSL. 3. Playing tricks with IFRAMEs. Sounds kludgy. 4. Proxying the calls to Google. Sounds like a lot of overhead. Are there other options, or does anyone have insight into the options that we have considered? [1]: http://code.google.com/support/bin/answer.py?answer=65301&topic=10945
0
3,452
08/06/2008 14:25:17
437
08/05/2008 18:13:45
8
2
SQL Server Client for OSX
What's a good SQL client for OSX that works with MS SQL Server? I don't really need a GUI, but it's nice to have for the color coding and result set grid. I'd be willing to pay up to $100.
sql-server
osx
null
null
null
07/03/2012 13:47:17
not constructive
SQL Server Client for OSX === What's a good SQL client for OSX that works with MS SQL Server? I don't really need a GUI, but it's nice to have for the color coding and result set grid. I'd be willing to pay up to $100.
4
3,486
08/06/2008 14:44:09
527
08/06/2008 14:44:09
1
0
Block user access to internals of a site using HTTP_REFERER
I have control over the HttpServer but not over the ApplicationServer or the Java Applications sitting there but I need to block direct access to certain pages on those applications. Precisely, I don't want users automating access to forms issuing direct GET/POST HTTP requests to the appropriate servlet. So, I decided to block users based on the value of HTTP_REFERER. After all, if the user is navigating inside the site, it will have an appropriate HTTP_REFERER. Well, that was what I thought. I implemented a rewrite rule in the .htaccess file that says: RewriteEngine on # Options +FollowSymlinks RewriteCond %{HTTP_REFERER} !^http://mywebaddress(.cl)?/.* [NC] RewriteRule (servlet1|servlet2)/.+\?.+ - [F] I expected to forbid access to users that didn't navigate the site but issue direct GET requests to the "servlet1" or "servlet2" servlets using querystrings. But my expectations ended abruptly because the regular expression "(servlet1|servlet2)/.+\?.+" didn't worked at all. I get really disappointed when I changed that expr to "(servlet1|servlet2)/.+" and worked so well that my users were blocked no matter if they navigated the site or not. So, my question is: How do I can accomplish this thing of not allowing "robots" with direct access to certain pages if I have no access/privileges/time to modify the application?
security
apache
mod-rewrite
http-referer
null
null
open
Block user access to internals of a site using HTTP_REFERER === I have control over the HttpServer but not over the ApplicationServer or the Java Applications sitting there but I need to block direct access to certain pages on those applications. Precisely, I don't want users automating access to forms issuing direct GET/POST HTTP requests to the appropriate servlet. So, I decided to block users based on the value of HTTP_REFERER. After all, if the user is navigating inside the site, it will have an appropriate HTTP_REFERER. Well, that was what I thought. I implemented a rewrite rule in the .htaccess file that says: RewriteEngine on # Options +FollowSymlinks RewriteCond %{HTTP_REFERER} !^http://mywebaddress(.cl)?/.* [NC] RewriteRule (servlet1|servlet2)/.+\?.+ - [F] I expected to forbid access to users that didn't navigate the site but issue direct GET requests to the "servlet1" or "servlet2" servlets using querystrings. But my expectations ended abruptly because the regular expression "(servlet1|servlet2)/.+\?.+" didn't worked at all. I get really disappointed when I changed that expr to "(servlet1|servlet2)/.+" and worked so well that my users were blocked no matter if they navigated the site or not. So, my question is: How do I can accomplish this thing of not allowing "robots" with direct access to certain pages if I have no access/privileges/time to modify the application?
0
3,505
08/06/2008 14:50:47
507
08/06/2008 13:04:33
1
3
What are you favorite .NET ORMs?
What sort of ORM systems do you use on various projects? What scale is the project? What features do you use and look for in an ORM?
.net
databases
orm
null
null
12/20/2011 16:46:00
not constructive
What are you favorite .NET ORMs? === What sort of ORM systems do you use on various projects? What scale is the project? What features do you use and look for in an ORM?
4
3,510
08/06/2008 14:54:52
383
08/05/2008 10:46:37
635
73
BODMAS
What is BODMAS and why is it useful in programming?
maths
null
null
null
null
null
open
BODMAS === What is BODMAS and why is it useful in programming?
0
3,512
08/06/2008 14:57:16
517
08/06/2008 14:01:37
1
0
Searching directories for tons of files?
I'm using MSVE, and I have my own tiles I'm displaying in layers on top. Problem is, there's a ton of them, and they're on a network server. In certain directories, there are something on the order of 30,000+ files. Initially I called Directory.GetFiles, but once I started testing in a pseudo-real environment, it timed out. What's the best way to programatically list, and iterate through, this many files?
c#
filemanagement
directory
null
null
null
open
Searching directories for tons of files? === I'm using MSVE, and I have my own tiles I'm displaying in layers on top. Problem is, there's a ton of them, and they're on a network server. In certain directories, there are something on the order of 30,000+ files. Initially I called Directory.GetFiles, but once I started testing in a pseudo-real environment, it timed out. What's the best way to programatically list, and iterate through, this many files?
0
3,530
08/06/2008 15:15:54
1,388,162
08/06/2008 14:01:12
1
1
How do I rake tasks within a ruby script?
I've got a Rakefile with a rake task that I would normally call from the commandline (rake blog:post Title). I'd like to write a ruby script that calls that rake task multiple times, but the only solution I see is shelling out (`` or system). What's the right way to do this?
ruby
cli
rake
null
null
null
open
How do I rake tasks within a ruby script? === I've got a Rakefile with a rake task that I would normally call from the commandline (rake blog:post Title). I'd like to write a ruby script that calls that rake task multiple times, but the only solution I see is shelling out (`` or system). What's the right way to do this?
0
3,544
08/06/2008 15:25:51
30
08/01/2008 12:25:44
451
30
What is the best way to deploy a VB.NET application?
Generally when I use ClickOnce when I build a VB.NET program but it has a few downsides. I've never really used anything else, so I'm not sure what my options are. Downsides to ClickOnce: - Consists of multiple files - Seems easier to distribute one file than manageing a bunch of file and the downloader to download those files. - You have to build it again for CD installations (for when the end user dosn't have internet) - Program does not end up in Program Files - It ends up hidden away in some application catch folder, making it much harder to shortcut to. Pros to ClickOnce: - It works. Magically. And it's built into VisualStudio 2008 express. - Makes it easy to upgrade the application. Does Windows Installer do these things as well? I know it dosen't have any of the ClickOnce cons, but It would be nice to know if it also has the ClickOnce pros.
visual-studio
vb.net
installer
clickonce
null
null
open
What is the best way to deploy a VB.NET application? === Generally when I use ClickOnce when I build a VB.NET program but it has a few downsides. I've never really used anything else, so I'm not sure what my options are. Downsides to ClickOnce: - Consists of multiple files - Seems easier to distribute one file than manageing a bunch of file and the downloader to download those files. - You have to build it again for CD installations (for when the end user dosn't have internet) - Program does not end up in Program Files - It ends up hidden away in some application catch folder, making it much harder to shortcut to. Pros to ClickOnce: - It works. Magically. And it's built into VisualStudio 2008 express. - Makes it easy to upgrade the application. Does Windows Installer do these things as well? I know it dosen't have any of the ClickOnce cons, but It would be nice to know if it also has the ClickOnce pros.
0
3,567
08/06/2008 15:41:13
230
08/03/2008 19:32:46
169
13
Sql to query a dbs scheme
In SqlServer. How do you query a db to bring back all the tables that have a field of a specific name?
sql-server
sqlquery
null
null
null
null
open
Sql to query a dbs scheme === In SqlServer. How do you query a db to bring back all the tables that have a field of a specific name?
0
3,585
08/06/2008 15:50:49
124
08/02/2008 08:24:47
91
3
How do I create a new Ruby on Rails application using MySQL instead of SQLite?
I want to create my Rails application with MySQL, because I like it so much. How can I do that in the latest version of Rails?
rubyonrails
mysql
null
null
null
null
open
How do I create a new Ruby on Rails application using MySQL instead of SQLite? === I want to create my Rails application with MySQL, because I like it so much. How can I do that in the latest version of Rails?
0
3,589
08/06/2008 15:53:51
44
08/01/2008 13:03:39
30
2
Backup SQL Schema Only?
I need to create a backup of a SQL Server 2005 Database that's only the structure...no records, just the schema. Is there any way to do this? EDIT: I'm trying to create a backup file to use with old processes, so a script wouldn't work for my purposes, sorry
sql
mssql
null
null
null
null
open
Backup SQL Schema Only? === I need to create a backup of a SQL Server 2005 Database that's only the structure...no records, just the schema. Is there any way to do this? EDIT: I'm trying to create a backup file to use with old processes, so a script wouldn't work for my purposes, sorry
0
3,594
08/06/2008 15:59:04
539
08/06/2008 15:37:07
1
0
Are there any good public SAP Business Intelligence developer networks out there?
So far I just use the SAP Developers' network at [sdn.sap.com][1] but I would love something a bit more grassroots with bleeding-edge social features. Blogs and forums and any opportunity to seek help and critique outside of my immediate team would be great... [1]: https://www.sdn.sap.com/irj/sdn
sap
communities
social
null
null
09/18/2011 14:45:58
not constructive
Are there any good public SAP Business Intelligence developer networks out there? === So far I just use the SAP Developers' network at [sdn.sap.com][1] but I would love something a bit more grassroots with bleeding-edge social features. Blogs and forums and any opportunity to seek help and critique outside of my immediate team would be great... [1]: https://www.sdn.sap.com/irj/sdn
4
3,607
08/06/2008 16:10:44
58
08/01/2008 13:56:33
1,275
51
Integrating Fogbugz with TortoiseSVN with no URL/Subversion backend
I've got TotroiseSVN installed and have all of my repositories checking in and out from C:\subversion\. This means that I don't have a "subversion" server per-se. How do I integrate TortoiseSVN and Fogbugz?
fogbugz
tortoisesvn
integration
svn
null
null
open
Integrating Fogbugz with TortoiseSVN with no URL/Subversion backend === I've got TotroiseSVN installed and have all of my repositories checking in and out from C:\subversion\. This means that I don't have a "subversion" server per-se. How do I integrate TortoiseSVN and Fogbugz?
0
3,611
08/06/2008 16:13:02
402
08/05/2008 13:24:03
73
7
PHP Error - Uploading a file
I'm trying to write some php to upload a file to a folder on my webserver. Here's what I have: <?php if ( !empty($_FILES['file']['tmp_name']) ) { move_uploaded_file($_FILES['file']['tmp_name'], './' . $_FILES['file']['name']); header('Location: http://www.mywebsite.com/dump/'); exit; } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html> <head> <title>Dump Upload</title> </head> <body> <h1>Upload a File</h1> <form action="upload.php" enctype="multipart/form-data" method="post"> <input type="hidden" name="MAX_FILE_SIZE" value="1000000000" /> Select the File:<br /><input type="file" name="file" /><br /> <input type="submit" value="Upload" /> </form> </body> </html> I'm getting these errors: Warning: move_uploaded_file(./test.txt) [function.move-uploaded-file]: failed to open stream: Permission denied in E:\inetpub\vhosts\mywebsite.com\httpdocs\dump\upload.php on line 3 Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'C:\WINDOWS\Temp\phpA30E.tmp' to './people.xml' in E:\inetpub\vhosts\mywebsite.com\httpdocs\dump\upload.php on line 3 Warning: Cannot modify header information - headers already sent by (output started at E:\inetpub\vhosts\mywebsite.com\httpdocs\dump\upload.php:3) in E:\inetpub\vhosts\mywebsite.com\httpdocs\dump\upload.php on line 4 PHP version 4.4.7 Running IIS on a Windows box. This particular file/folder has 777 permissions. Any ideas?
iis
windows
php
upload
null
null
open
PHP Error - Uploading a file === I'm trying to write some php to upload a file to a folder on my webserver. Here's what I have: <?php if ( !empty($_FILES['file']['tmp_name']) ) { move_uploaded_file($_FILES['file']['tmp_name'], './' . $_FILES['file']['name']); header('Location: http://www.mywebsite.com/dump/'); exit; } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html> <head> <title>Dump Upload</title> </head> <body> <h1>Upload a File</h1> <form action="upload.php" enctype="multipart/form-data" method="post"> <input type="hidden" name="MAX_FILE_SIZE" value="1000000000" /> Select the File:<br /><input type="file" name="file" /><br /> <input type="submit" value="Upload" /> </form> </body> </html> I'm getting these errors: Warning: move_uploaded_file(./test.txt) [function.move-uploaded-file]: failed to open stream: Permission denied in E:\inetpub\vhosts\mywebsite.com\httpdocs\dump\upload.php on line 3 Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'C:\WINDOWS\Temp\phpA30E.tmp' to './people.xml' in E:\inetpub\vhosts\mywebsite.com\httpdocs\dump\upload.php on line 3 Warning: Cannot modify header information - headers already sent by (output started at E:\inetpub\vhosts\mywebsite.com\httpdocs\dump\upload.php:3) in E:\inetpub\vhosts\mywebsite.com\httpdocs\dump\upload.php on line 4 PHP version 4.4.7 Running IIS on a Windows box. This particular file/folder has 777 permissions. Any ideas?
0
3,615
08/06/2008 16:14:15
534
08/06/2008 15:17:19
11
2
Using SQLite with Visual Studio 2008 and Silverlight
Any one know decent way to reference a SQLite database using the above mentioned tools? I tried using ODBC (the SQLite driver) but while the connection is good, I get no data returned. Like I can't see any tables in Data Connection (VS 2008). Is there a better way? *Edit: corrected typos*
.net
silverlight
sqlite
null
null
null
open
Using SQLite with Visual Studio 2008 and Silverlight === Any one know decent way to reference a SQLite database using the above mentioned tools? I tried using ODBC (the SQLite driver) but while the connection is good, I get no data returned. Like I can't see any tables in Data Connection (VS 2008). Is there a better way? *Edit: corrected typos*
0
3,625
08/06/2008 16:20:06
549
08/06/2008 16:20:06
1
0
What's the Developer Express equivalent of System.Windows.Forms.LinkButton?
I can't seem to find Developer Express' version of the LinkButton. HyperLinkEdit doesn't seem to be what I'm looking for since it looks like a TextEdit/TextBox. Anyone know what their version of it is? I'm using the latest DevX controls: 8.2.1. Thanks. JK
developerexpress
null
null
null
null
null
open
What's the Developer Express equivalent of System.Windows.Forms.LinkButton? === I can't seem to find Developer Express' version of the LinkButton. HyperLinkEdit doesn't seem to be what I'm looking for since it looks like a TextEdit/TextBox. Anyone know what their version of it is? I'm using the latest DevX controls: 8.2.1. Thanks. JK
0
3,630
08/06/2008 16:22:32
1,384,652
08/01/2008 12:01:23
289
30
SQLite vs MySQL
SQLite is a flat-file database and MySQL is a normal database. That's great but I'm not sure which is faster where or better for what? What are the pros and cons of each option?
mysql
sqlite
null
null
null
null
open
SQLite vs MySQL === SQLite is a flat-file database and MySQL is a normal database. That's great but I'm not sure which is faster where or better for what? What are the pros and cons of each option?
0
3,636
08/06/2008 16:28:16
1,384,652
08/01/2008 12:01:23
294
30
Two man team
I'll soon be starting a company with a friend. There will be several parts of it where we work on the same section of a site and as far as I can forsee, the potential for muck-ups is huge. It's just two people so do we really need to use a version control system and are there any suggestions that you can give in helping us work as a more seamless team?
project
teamwork
groupwork
null
null
null
open
Two man team === I'll soon be starting a company with a friend. There will be several parts of it where we work on the same section of a site and as far as I can forsee, the potential for muck-ups is huge. It's just two people so do we really need to use a version control system and are there any suggestions that you can give in helping us work as a more seamless team?
0
3,654
08/06/2008 16:40:23
269
08/04/2008 10:13:44
484
61
HTML version choice
When developing a new web based application which version of html should you aim for?
html
xml
xhtml
null
null
08/01/2012 16:00:12
not constructive
HTML version choice === When developing a new web based application which version of html should you aim for?
4
3,666
08/06/2008 16:47:41
26
08/01/2008 12:18:14
180
34
Can you access the windows registry from Adobe Air?
(y/N)
air
flex
actionscript-3
null
null
null
open
Can you access the windows registry from Adobe Air? === (y/N)
0
3,667
08/06/2008 16:48:24
556
08/06/2008 16:48:23
1
0
what is your favorite web app deployment workflow with SVN?
We are currently using a somewhat complicated deployment setup that involves a remote SVN server, 3 SVN branches for DEV, STAGE, and PROD, promoting code between them through patches, etc. I wonder what do you use for deployment in a small dev team situation?
svn
deployment
null
null
null
null
open
what is your favorite web app deployment workflow with SVN? === We are currently using a somewhat complicated deployment setup that involves a remote SVN server, 3 SVN branches for DEV, STAGE, and PROD, promoting code between them through patches, etc. I wonder what do you use for deployment in a small dev team situation?
0
3,670
08/06/2008 16:50:10
1,384,652
08/01/2008 12:01:23
330
31
Criticising code
What is the best way to point out flaws in a developers code? Stuff they've been working on a while and though you'd love to not say anything, it's bad code and something has to be said. How do you go about it without them getting angry at you?
codingstyle
teamwork
diplomacy
null
null
05/05/2012 13:34:42
not constructive
Criticising code === What is the best way to point out flaws in a developers code? Stuff they've been working on a while and though you'd love to not say anything, it's bad code and something has to be said. How do you go about it without them getting angry at you?
4
3,682
08/06/2008 16:58:34
136
08/02/2008 10:21:53
728
23
SQL: Distribution of table in time
I have a MySQL table with approximately 3000 rows per user. One of the columns is a datetime field. I'd like to visualize the time distribution in a chart. 20 datapoints would be enough. I could do this: select timefield from entries where uid = ? order by timefield; and look at every 150th row. Or I could do 20 separate queries and use `limit 1` and `offset`. But there must be a more efficient solution...
sql
mysql
null
null
null
null
open
SQL: Distribution of table in time === I have a MySQL table with approximately 3000 rows per user. One of the columns is a datetime field. I'd like to visualize the time distribution in a chart. 20 datapoints would be enough. I could do this: select timefield from entries where uid = ? order by timefield; and look at every 150th row. Or I could do 20 separate queries and use `limit 1` and `offset`. But there must be a more efficient solution...
0
3,713
08/06/2008 17:16:36
557
08/06/2008 17:12:26
1
0
Call ASP.NET Function From Javascript?
I'm writing a web page in ASP.NET. I have some Javascript, and I have a submit button with an onClick event. Is it possible to call a method I created in ASP with Javascript's onCall event?
javascript
asp.net
null
null
null
null
open
Call ASP.NET Function From Javascript? === I'm writing a web page in ASP.NET. I have some Javascript, and I have a submit button with an onClick event. Is it possible to call a method I created in ASP with Javascript's onCall event?
0
3,725
08/06/2008 17:22:27
551
08/06/2008 16:24:59
1
0
Best method for creating a "tree-view preferences dialog" type of interface in C#?
I'm writing an application that is basically just a preferences dialog much like the tree-view preferences dialog that Visual Studio itself uses. The function of the application is simply a pass-through for data from a serial device to a file. It performs many, many transformations on the data before writing it to the file, so the GUI for the application is simply all the settings that dictate what those transformations should be. What's the best way to go about designing/coding a tree-view preferences dialog? The way I've been going about it is building the main window with a docked tree control on the left. Then I have been creating container controls that correspond to each node of the tree. When a node is selected, the app brings that node's corresponding container control to the front, moves it to the right position, and maximizes it in the main window. This seems really, really clunky while designing it. It basically means I have tons of container controls beyond the edge of the main window during design time that I have to keep scrolling the main window over to in order to work with them. I don't know if this totally makes sense the way I'm writing this, but maybe this visual for what I'm talking about will make more sense: ![form design][1] Basically I have to work with this huge form, with container controls all over the place, and then do a bunch of run-time reformatting to make it all work. This seems like a *lot* of extra work. Am I doing this in a totally stupid way? Is there some "obvious" easier way of doing this that I'm missing? [1]: http://mboffin.com/stuff/form-design.png
c#
gui
null
null
null
null
open
Best method for creating a "tree-view preferences dialog" type of interface in C#? === I'm writing an application that is basically just a preferences dialog much like the tree-view preferences dialog that Visual Studio itself uses. The function of the application is simply a pass-through for data from a serial device to a file. It performs many, many transformations on the data before writing it to the file, so the GUI for the application is simply all the settings that dictate what those transformations should be. What's the best way to go about designing/coding a tree-view preferences dialog? The way I've been going about it is building the main window with a docked tree control on the left. Then I have been creating container controls that correspond to each node of the tree. When a node is selected, the app brings that node's corresponding container control to the front, moves it to the right position, and maximizes it in the main window. This seems really, really clunky while designing it. It basically means I have tons of container controls beyond the edge of the main window during design time that I have to keep scrolling the main window over to in order to work with them. I don't know if this totally makes sense the way I'm writing this, but maybe this visual for what I'm talking about will make more sense: ![form design][1] Basically I have to work with this huge form, with container controls all over the place, and then do a bunch of run-time reformatting to make it all work. This seems like a *lot* of extra work. Am I doing this in a totally stupid way? Is there some "obvious" easier way of doing this that I'm missing? [1]: http://mboffin.com/stuff/form-design.png
0
3,748
08/06/2008 17:38:35
514
08/06/2008 13:59:16
16
4
Storing Images in DB - Yay or Nay?
So im using an app that stores images heavily in the DB, whats your outlook on this, im more of a type to store the location, than store it directly in the DB. What do you think are the pros/cons?
db
theory
image
null
null
null
open
Storing Images in DB - Yay or Nay? === So im using an app that stores images heavily in the DB, whats your outlook on this, im more of a type to store the location, than store it directly in the DB. What do you think are the pros/cons?
0
3,757
08/06/2008 17:42:43
404
08/05/2008 13:34:59
150
11
Looking for ASP.NET code to render a form that displays a view of an object
I've got the task of displaying a web form to represent the properties in a .NET class. In WinForms, there's a pre-fab control named PropertyGrid that is a lot like what I need. I'm just looking for something to display a simple layout of property names next to an appropriate control like a textbox or a dropdownlist for enum properties. Does anything like this already exist for ASP.NET, or will I be rolling my own here? thanks!
asp.net
propertygrid
control
null
null
null
open
Looking for ASP.NET code to render a form that displays a view of an object === I've got the task of displaying a web form to represent the properties in a .NET class. In WinForms, there's a pre-fab control named PropertyGrid that is a lot like what I need. I'm just looking for something to display a simple layout of property names next to an appropriate control like a textbox or a dropdownlist for enum properties. Does anything like this already exist for ASP.NET, or will I be rolling my own here? thanks!
0
3,767
08/06/2008 17:54:26
525
08/06/2008 14:41:28
1
0
What is the best choice for building Windows installers?
I have primarily used Visual Studio 2003, and its tool for building an installer was pretty painful. Files and folders had to be added manually, one by one. I am looking at upgrading to VS 2008, and I'm not sure what its installer is like. Also I'm interested in installers for non-.net applications. Are there good, open source options? Is Visual Studio's installer any better in 2008?
.net
installer
installation
null
null
06/14/2012 11:48:16
not constructive
What is the best choice for building Windows installers? === I have primarily used Visual Studio 2003, and its tool for building an installer was pretty painful. Files and folders had to be added manually, one by one. I am looking at upgrading to VS 2008, and I'm not sure what its installer is like. Also I'm interested in installers for non-.net applications. Are there good, open source options? Is Visual Studio's installer any better in 2008?
4
3,781
08/06/2008 18:10:23
381
08/05/2008 10:39:26
208
4
Prototyping a GUI with a customer
When prototyping initial GUI functionality with a customer is it better to use a pen/paper drawing or to mock something up using a tool and show them that ? The argument against a tool generated design being that the customer can sometimes focus on the low-level specifics of the mock-up rather than taking a higher level functional view of the GUI overall.
gui
prototyping
null
null
null
null
open
Prototyping a GUI with a customer === When prototyping initial GUI functionality with a customer is it better to use a pen/paper drawing or to mock something up using a tool and show them that ? The argument against a tool generated design being that the customer can sometimes focus on the low-level specifics of the mock-up rather than taking a higher level functional view of the GUI overall.
0
3,790
08/06/2008 18:15:43
560
08/06/2008 17:55:23
1
0
Is there a WMI Redistributable Package?
I've been working on a project that accesses the WMI to get information about the software installed on a user's machine. We've been querying Win32_Product only to find that it doesn't exist in 64-bit versions of Windows because it's an ["optional component"][1].<br /> <br /> I know there are a lot of really good alternatives to querying the WMI for this information, but I've got a bit of a [vested interest][2] in finding out how well this is going to work out.<br /> <br /> What I want to know is if there's some kind of redistributable that can be packaged with our software to allow 64-bit users to get the WMI Installer Provider put onto their machines? Right now, they have to install it manually and the installation requires they have their Windows disc handy.<br /> <br /> Thanks, everyone.<br /> <br /> [1]: http://msdn.microsoft.com/en-us/library/aa392726(VS.85).aspx [2]: http://www.codeplex.com/linq2wmi
wmi
windows
64bit
null
null
null
open
Is there a WMI Redistributable Package? === I've been working on a project that accesses the WMI to get information about the software installed on a user's machine. We've been querying Win32_Product only to find that it doesn't exist in 64-bit versions of Windows because it's an ["optional component"][1].<br /> <br /> I know there are a lot of really good alternatives to querying the WMI for this information, but I've got a bit of a [vested interest][2] in finding out how well this is going to work out.<br /> <br /> What I want to know is if there's some kind of redistributable that can be packaged with our software to allow 64-bit users to get the WMI Installer Provider put onto their machines? Right now, they have to install it manually and the installation requires they have their Windows disc handy.<br /> <br /> Thanks, everyone.<br /> <br /> [1]: http://msdn.microsoft.com/en-us/library/aa392726(VS.85).aspx [2]: http://www.codeplex.com/linq2wmi
0
3,793
08/06/2008 18:16:55
205
08/03/2008 13:31:27
72
4
Best way to get InnerXml of an XElement?
What's the best way to get the contents of the mixed "body" element in the code below? The element might contain either XHTML or text, but I just want its contents in string form. The XmlElement type has the InnerXml property which is exactly what I'm after. The code as written *almost* does what I want, but includes the surrounding &lt;body&gt;...&lt;/body&gt; element, which I don't want. XDocument doc = XDocument.Load(new StreamReader(s)); var templates = from t in doc.Descendants("template") where t.Attribute("name").Value == templateName select new { Subject = t.Element("subject").Value, Body = t.Element("body").ToString() }; EDIT: Not sure why the code block isn't formatting properly--it looks right in the edit preview...
xml
xelement
innerxml
dotnet
null
null
open
Best way to get InnerXml of an XElement? === What's the best way to get the contents of the mixed "body" element in the code below? The element might contain either XHTML or text, but I just want its contents in string form. The XmlElement type has the InnerXml property which is exactly what I'm after. The code as written *almost* does what I want, but includes the surrounding &lt;body&gt;...&lt;/body&gt; element, which I don't want. XDocument doc = XDocument.Load(new StreamReader(s)); var templates = from t in doc.Descendants("template") where t.Attribute("name").Value == templateName select new { Subject = t.Element("subject").Value, Body = t.Element("body").ToString() }; EDIT: Not sure why the code block isn't formatting properly--it looks right in the edit preview...
0
3,798
08/06/2008 18:24:42
547
08/06/2008 16:09:22
25
7
Full complete mysql DB replication? Ideas? What do people do?
Currently I have two linux servers wunning MySQL, one sitting on a rack right next to me under a 10Mbit upload pipe (main server) and another some couple of miles away on a 3Mbit upload pipe (mirror). I want to be able to replicate data on both servers continuously, but have run into several roadblocks. One of them being, under MySQL master/slave configurations, every now and then, some statements drop (!), meaning; some people logging on to the mirror URL don't see data that I know is on the main server and vice versa. Lets say this happens on a meaningful block of data once every month, so I can live with it and assume its a "lost packet" issue (i.e., god knows, but we'll compensate). The other most important (and annoying) recurring issue is that, when for some reason we do a major upload or update (or reboot) on one end and have to sever the link, then LOAD DATA FROM MASTER doesn't work and I have to manually dump on one end and upload on the other, quite a task nowadays moving some .5TB worth of data. Is there software for this? I know MySQL (the "corporation") offers this as a VERY expensive service (full DB replication). Just wondering what people out there do. The way its structured, we run an automatic failover where if one server is not up, then the main URL just resolves to the other server. Thx. /mp
mysql
replication
null
null
null
null
open
Full complete mysql DB replication? Ideas? What do people do? === Currently I have two linux servers wunning MySQL, one sitting on a rack right next to me under a 10Mbit upload pipe (main server) and another some couple of miles away on a 3Mbit upload pipe (mirror). I want to be able to replicate data on both servers continuously, but have run into several roadblocks. One of them being, under MySQL master/slave configurations, every now and then, some statements drop (!), meaning; some people logging on to the mirror URL don't see data that I know is on the main server and vice versa. Lets say this happens on a meaningful block of data once every month, so I can live with it and assume its a "lost packet" issue (i.e., god knows, but we'll compensate). The other most important (and annoying) recurring issue is that, when for some reason we do a major upload or update (or reboot) on one end and have to sever the link, then LOAD DATA FROM MASTER doesn't work and I have to manually dump on one end and upload on the other, quite a task nowadays moving some .5TB worth of data. Is there software for this? I know MySQL (the "corporation") offers this as a VERY expensive service (full DB replication). Just wondering what people out there do. The way its structured, we run an automatic failover where if one server is not up, then the main URL just resolves to the other server. Thx. /mp
0
3,801
08/06/2008 18:28:04
91
08/01/2008 17:55:22
2,112
156
Dual vs. Quadcore on a Webserver
The discussion of Dual vs. Quadcore is as old as the Quadcores itself and the answer is usually "it depends on your scenario". So here the scenario is a Web Server (Windows 2003 (not sure if x32 or x64), 4 GB RAM, IIS, ASP.net 3.0). My impression is that the CPU in a Webserver does not need to be THAT fast because requests are usually rather lightweight, so having more (slower) cores should be a better choice as we got many small requests. But since I do not have much experience with IIS load balancing and since I don't want to spend a lot of money only to find out I've made the wrong choice, can someone who has a bit more experience comment on whether or not More Slower or Fewer Faster cores is better?
asp.net
windows
iis
null
null
null
open
Dual vs. Quadcore on a Webserver === The discussion of Dual vs. Quadcore is as old as the Quadcores itself and the answer is usually "it depends on your scenario". So here the scenario is a Web Server (Windows 2003 (not sure if x32 or x64), 4 GB RAM, IIS, ASP.net 3.0). My impression is that the CPU in a Webserver does not need to be THAT fast because requests are usually rather lightweight, so having more (slower) cores should be a better choice as we got many small requests. But since I do not have much experience with IIS load balancing and since I don't want to spend a lot of money only to find out I've made the wrong choice, can someone who has a bit more experience comment on whether or not More Slower or Fewer Faster cores is better?
0
3,802
08/06/2008 18:28:38
59
08/01/2008 14:02:13
341
17
How do you typeset code elements in normal text?
Something I've run into posting on SO: when you refer to a function with arguments, what is the best way to typeset it for readibility, brevity, and accuracy? I tend to put empty parentheses after the function name like `func()`, even if there are actually arguments for the function. I have trouble including the arguments and still feeling like the paragraph is readable. Any thoughts on best practices for this?
language-agnostic
format
null
null
null
null
open
How do you typeset code elements in normal text? === Something I've run into posting on SO: when you refer to a function with arguments, what is the best way to typeset it for readibility, brevity, and accuracy? I tend to put empty parentheses after the function name like `func()`, even if there are actually arguments for the function. I have trouble including the arguments and still feeling like the paragraph is readable. Any thoughts on best practices for this?
0
3,809
08/06/2008 18:32:37
479
08/06/2008 08:37:10
21
1
Setup Visual Studio 2005 to print line numbers
How can I get line numbers to print in Visual Studio 2005 when printing code listings?
visual-studio
null
null
null
null
null
open
Setup Visual Studio 2005 to print line numbers === How can I get line numbers to print in Visual Studio 2005 when printing code listings?
0
3,823
08/06/2008 18:39:33
423
08/05/2008 15:24:44
69
20
Suggestions for implementing audit tables in SQL Server?
One simple method I've used in the past is basically just creating a second table whose structure mirrors the one I want to audit, and then create an update/delete trigger on the main table. Before a record is updated/deleted, the current state is saved to the audit table via the trigger. While effective, the data in the audit table is not the most useful or simple to report off of. I'm wondering if anyone has a better method for auditing data changes?
database
sql-server
db
audit
null
null
open
Suggestions for implementing audit tables in SQL Server? === One simple method I've used in the past is basically just creating a second table whose structure mirrors the one I want to audit, and then create an update/delete trigger on the main table. Before a record is updated/deleted, the current state is saved to the audit table via the trigger. While effective, the data in the audit table is not the most useful or simple to report off of. I'm wondering if anyone has a better method for auditing data changes?
0
3,831
08/06/2008 18:44:06
83
08/01/2008 16:31:56
417
36
How do I best detect an ASP.NET expired session?
I need to detect when a session has expired in my Visuial Basic web application. This is what I'm using... Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load If CurrentSession.IsNew AndAlso (Not Page.Request.Headers("Cookie") Is Nothing) AndAlso (Page.Request.Headers("Cookie").IndexOf("ASP.NET_SessionId") >= 0) Then Response.Redirect("TimeOut.aspx") End If ...do something... End Sub Note: CurrentSession.IsNew returns HttpContext.Current.Session.IsNewSession This seems to work well for Internet Explorer, but seems to fail with Firefox.
http
aspnet
session
null
null
null
open
How do I best detect an ASP.NET expired session? === I need to detect when a session has expired in my Visuial Basic web application. This is what I'm using... Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load If CurrentSession.IsNew AndAlso (Not Page.Request.Headers("Cookie") Is Nothing) AndAlso (Page.Request.Headers("Cookie").IndexOf("ASP.NET_SessionId") >= 0) Then Response.Redirect("TimeOut.aspx") End If ...do something... End Sub Note: CurrentSession.IsNew returns HttpContext.Current.Session.IsNewSession This seems to work well for Internet Explorer, but seems to fail with Firefox.
0
3,839
08/06/2008 18:47:24
547
08/06/2008 16:09:22
25
7
How do I Concatenate entire result sets in MySQL?
I'm trying out the following query: SELECT A,B,C FROM table WHERE field LIKE 'query%' UNION SELECT A,B,C FROM table WHERE field LIKE '%query' UNION SELECT A,B,C FROM table WHERE field LIKE '%query%' GROUP BY B ORDER BY B ASC LIMIT 5 That's three queries stuck together, kindasorta. However, the result set that comes back reflects results from query #3 BEFORE results from query #1 (undesired). Is there any way to prioritize these so that results come as all for query #1, then all for query #2 then all for query #3? I don't want to do this in PHP just yet (not to mention having to control for results that showed up in the first query not to show in the second and so forth). Cheers, /mp
mysql
query
union
null
null
null
open
How do I Concatenate entire result sets in MySQL? === I'm trying out the following query: SELECT A,B,C FROM table WHERE field LIKE 'query%' UNION SELECT A,B,C FROM table WHERE field LIKE '%query' UNION SELECT A,B,C FROM table WHERE field LIKE '%query%' GROUP BY B ORDER BY B ASC LIMIT 5 That's three queries stuck together, kindasorta. However, the result set that comes back reflects results from query #3 BEFORE results from query #1 (undesired). Is there any way to prioritize these so that results come as all for query #1, then all for query #2 then all for query #3? I don't want to do this in PHP just yet (not to mention having to control for results that showed up in the first query not to show in the second and so forth). Cheers, /mp
0
3,856
08/06/2008 18:57:38
26
08/01/2008 12:18:14
191
35
Adobe Flex component events
I have a component I wrote that display a filename, a thumbnail, and has a button to click on to load/play the file. The component is databound to a repeater. How can I make it so the button event fires to the main application and tells it which file to play?
flex
actionscript-3
null
null
null
null
open
Adobe Flex component events === I have a component I wrote that display a filename, a thumbnail, and has a button to click on to load/play the file. The component is databound to a repeater. How can I make it so the button event fires to the main application and tells it which file to play?
0
3,859
08/06/2008 18:58:53
1,384,652
08/01/2008 12:01:23
386
36
Version control
After being told by at least 10 people on SO that version control was a good thing even if it's just me I now have a followup question. What is the difference between all the different types of version control and is there a guide that anybody knows of for version control that's very simple and easy to understand?
versioncontrol
null
null
null
null
null
open
Version control === After being told by at least 10 people on SO that version control was a good thing even if it's just me I now have a followup question. What is the difference between all the different types of version control and is there a guide that anybody knows of for version control that's very simple and easy to understand?
0
3,867
08/06/2008 19:04:51
42
08/01/2008 13:00:11
66
4
Automated release script and Visual Studio Setup projects
I think most people here understand the importance of fully automated builds. The problem is one of our project is now using an integrated Visual Studio Setup project (vdproj) and has recently been ported to Visual Studio 2008. Unfortunatly, those won't build in MSBuild and calling devenv.exe /build on 2008 just crashes, apparently it does that on all multi core computer (!!!). So now I have the choice to either rollback to .Net 2.0 and 2005 or simply ditch Visual Studio deployement, but first, I'd like a second opinion. Anyone knows of another automated way to build a .vdproj that will not require us to open the IDE and click on stuff?
visual-studio
setup
build-automation
msbuild
null
null
open
Automated release script and Visual Studio Setup projects === I think most people here understand the importance of fully automated builds. The problem is one of our project is now using an integrated Visual Studio Setup project (vdproj) and has recently been ported to Visual Studio 2008. Unfortunatly, those won't build in MSBuild and calling devenv.exe /build on 2008 just crashes, apparently it does that on all multi core computer (!!!). So now I have the choice to either rollback to .Net 2.0 and 2005 or simply ditch Visual Studio deployement, but first, I'd like a second opinion. Anyone knows of another automated way to build a .vdproj that will not require us to open the IDE and click on stuff?
0
3,868
08/06/2008 19:08:19
163
08/02/2008 20:40:09
40
1
How can I turn a string of HTML into a DOM object in a Firefox extension?
I'm downloading a web page with XMLHttpRequest and I want to take the output and turn it into a DOM object that I can then run XPATH queries on. How do I convert from a string into DOM object?
firefox
javascript
null
null
null
null
open
How can I turn a string of HTML into a DOM object in a Firefox extension? === I'm downloading a web page with XMLHttpRequest and I want to take the output and turn it into a DOM object that I can then run XPATH queries on. How do I convert from a string into DOM object?
0
3,881
08/06/2008 19:26:30
122
08/02/2008 07:56:07
747
35
IllegalArgumentException or NullPointerException for a null parameter?
I have a simple setter method for a Java property and null is not appropriate for this particular property. I have always been torn, in this situation: should I throw an [IllegalArgumentException][1], or a [NullPointerException][2]? From the javadocs, both seem appropriate. Is there some kind of understood standard? Or is this just one of those things that you should do whatever you prefer and both is really correct? [1]: http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalArgumentException.html [2]: http://java.sun.com/j2se/1.5.0/docs/api/java/lang/NullPointerException.html
java
bestpractices
exception
null
null
null
open
IllegalArgumentException or NullPointerException for a null parameter? === I have a simple setter method for a Java property and null is not appropriate for this particular property. I have always been torn, in this situation: should I throw an [IllegalArgumentException][1], or a [NullPointerException][2]? From the javadocs, both seem appropriate. Is there some kind of understood standard? Or is this just one of those things that you should do whatever you prefer and both is really correct? [1]: http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalArgumentException.html [2]: http://java.sun.com/j2se/1.5.0/docs/api/java/lang/NullPointerException.html
0
3,894
08/06/2008 19:34:47
76
08/01/2008 15:56:38
9
2
T-Sql Remove Decimal Point From Money Data Type
Given the constraint of only using T-Sql in Sql Server 2005, is there a better way to remove the decimal point from a money datatype than a conversion to a varchar (here implicitly) and then a replace of the decimal point? Here is what I have currently. SELECT REPLACE(1.23, '.', ''), REPLACE(19.99, '.', '') Which returns the desired 123 and 1999, but I was wondering if there was a better way. Any thoughts?
sql-server
tsql
null
null
null
null
open
T-Sql Remove Decimal Point From Money Data Type === Given the constraint of only using T-Sql in Sql Server 2005, is there a better way to remove the decimal point from a money datatype than a conversion to a varchar (here implicitly) and then a replace of the decimal point? Here is what I have currently. SELECT REPLACE(1.23, '.', ''), REPLACE(19.99, '.', '') Which returns the desired 123 and 1999, but I was wondering if there was a better way. Any thoughts?
0
3,927
08/06/2008 20:14:57
121
08/02/2008 07:34:46
63
5
What Are Some Good .NET Profilers?
What profilers have you used when working with .net programs, and which would you particularly recommend?
c#
.net
profiler
null
null
null
open
What Are Some Good .NET Profilers? === What profilers have you used when working with .net programs, and which would you particularly recommend?
0
3,942
08/06/2008 20:26:21
443
08/05/2008 19:27:20
60
1
What's the best way to find long-running code in a Windows Forms Application
I inherited a Windows Forms app written in VB.Net. Certain parts of the app run dreadfully slow. What's the easiest way to find which parts of the code are holding things up? I'm looking for a way to quickly find the slowest subroutines and tackle them first in an attempt to speed up the app. I know that there are several code profiler products available for purchase which will show how long each subroutine takes, but I was hoping to find a **free** solution.
visualbasic
null
null
null
null
null
open
What's the best way to find long-running code in a Windows Forms Application === I inherited a Windows Forms app written in VB.Net. Certain parts of the app run dreadfully slow. What's the easiest way to find which parts of the code are holding things up? I'm looking for a way to quickly find the slowest subroutines and tackle them first in an attempt to speed up the app. I know that there are several code profiler products available for purchase which will show how long each subroutine takes, but I was hoping to find a **free** solution.
0
3,975
08/06/2008 20:59:58
162
08/02/2008 20:09:15
33
2
SQL Server 2005 index recommendations
We're in the process of upgrading one of our SQL Server instances from 2000 to 2005. I installed the performance dashboard (<http://www.microsoft.com/downloads/details.aspx?FamilyId=1d3a4a0d-7e0c-4730-8204-e419218c1efc&displaylang=en>) for access to some high level reporting. One of the reports shows missing (recommended) indexes. I think it's based on some system view that is maintained by the query optimizer. My question is what is the best way to determine when to take an index recommendation. I know that it doesn't make sense to apply all of the optimizer's suggestions. I see a lot of advice that basically says to try the index and to keep it if performance improves and to drop it if performances degrades or stays the same. I wondering if there is a better way to make the decision and what best practices exist on this subject.
sql-server
null
null
null
null
null
open
SQL Server 2005 index recommendations === We're in the process of upgrading one of our SQL Server instances from 2000 to 2005. I installed the performance dashboard (<http://www.microsoft.com/downloads/details.aspx?FamilyId=1d3a4a0d-7e0c-4730-8204-e419218c1efc&displaylang=en>) for access to some high level reporting. One of the reports shows missing (recommended) indexes. I think it's based on some system view that is maintained by the query optimizer. My question is what is the best way to determine when to take an index recommendation. I know that it doesn't make sense to apply all of the optimizer's suggestions. I see a lot of advice that basically says to try the index and to keep it if performance improves and to drop it if performances degrades or stays the same. I wondering if there is a better way to make the decision and what best practices exist on this subject.
0
3,976
08/06/2008 21:00:01
556
08/06/2008 16:48:23
45
3
Talking to a Serial Port in OS X
I have a Prolite LED sign that I like to set up to show scrolling search queries from a apache logs and other fun statistics. The problem is, my G5 does not have a serial port, so I have to use a usb to serial dongle. It shows up as /dev/cu.usbserial and /dev/tty.usbserial . When i do this everything seems to be hunky-dory: stty -f /dev/cu.usbserial speed 9600 baud; lflags: -icanon -isig -iexten -echo iflags: -icrnl -ixon -ixany -imaxbel -brkint oflags: -opost -onlcr -oxtabs cflags: cs8 -parenb Everything also works when I use the <a href="http://www.versiontracker.com/dyn/moreinfo/macosx/24024">serial port tool</a> to talk to it. If I run this piece of code while the above mentioned serial port tool, everthing also works. But as soon as I disconnect the tool the connection gets lost. #!/usr/bin/python import serial ser = serial.Serial('/dev/cu.usbserial', 9600, timeout=10) ser.write("<ID01><PA> \r\n") read_chars = ser.read(20) print read_chars ser.close() So the question is, what magicks do I need to perform to start talking to the serial port without the serial port tool?
serial
port
os
x
python
null
open
Talking to a Serial Port in OS X === I have a Prolite LED sign that I like to set up to show scrolling search queries from a apache logs and other fun statistics. The problem is, my G5 does not have a serial port, so I have to use a usb to serial dongle. It shows up as /dev/cu.usbserial and /dev/tty.usbserial . When i do this everything seems to be hunky-dory: stty -f /dev/cu.usbserial speed 9600 baud; lflags: -icanon -isig -iexten -echo iflags: -icrnl -ixon -ixany -imaxbel -brkint oflags: -opost -onlcr -oxtabs cflags: cs8 -parenb Everything also works when I use the <a href="http://www.versiontracker.com/dyn/moreinfo/macosx/24024">serial port tool</a> to talk to it. If I run this piece of code while the above mentioned serial port tool, everthing also works. But as soon as I disconnect the tool the connection gets lost. #!/usr/bin/python import serial ser = serial.Serial('/dev/cu.usbserial', 9600, timeout=10) ser.write("<ID01><PA> \r\n") read_chars = ser.read(20) print read_chars ser.close() So the question is, what magicks do I need to perform to start talking to the serial port without the serial port tool?
0
3,978
08/06/2008 21:02:16
572
08/06/2008 20:56:54
1
0
Multi-Paradigm Languages
In a language such as (since I'm working in it now) PHP, which supports procedural and object-oriented paradigms, is there a good rule of thumb for determining which paradigm best suits a new project? If not, how can you make the decision?
php
object-oriented
paradigms
procedural
null
null
open
Multi-Paradigm Languages === In a language such as (since I'm working in it now) PHP, which supports procedural and object-oriented paradigms, is there a good rule of thumb for determining which paradigm best suits a new project? If not, how can you make the decision?
0
3,984
08/06/2008 21:06:32
571
08/06/2008 20:19:59
1
2
TestDriven.NET is not running my SetUp methods for MbUnit
I've created some MbUnit test fixtures that have SetUp methods marked with the SetUp attribute. These methods run before the tests just fine using the MbUnit GUI, the console runner, and the ReSharper MbUnit plugin. However, when I run the tests with TestDriven.NET it does not run the SetUp methods at all. Does anyone know if this is a bug with TestDriven.NET or if I have something setup wrong?
mbunit
.net
tdd
null
null
null
open
TestDriven.NET is not running my SetUp methods for MbUnit === I've created some MbUnit test fixtures that have SetUp methods marked with the SetUp attribute. These methods run before the tests just fine using the MbUnit GUI, the console runner, and the ReSharper MbUnit plugin. However, when I run the tests with TestDriven.NET it does not run the SetUp methods at all. Does anyone know if this is a bug with TestDriven.NET or if I have something setup wrong?
0
3,996
08/06/2008 21:14:57
575
08/06/2008 21:14:57
1
0
How do I configure a Vista Ultimate (64bit) account so it can access a SMB share on OSX?
I have Windows File sharing enabled on an OS X 10.4 computer. It's accessible via \\rudy\myshare for all the Windows users on the network, except for one guy running Vista Ultimate 64-bit edition. All the other users are running Vista or XP, all 32-bit. All the workgroup information is the same, all login with the same username/password. The Vista 64 guy can see the Mac on the network, but his login is rejected every time. Now, I imagine that Vista Ultimate is has something configured differently to the Business version and XP but I don't really know where to look. Any ideas?
osx
windows-vista
smb
null
null
null
open
How do I configure a Vista Ultimate (64bit) account so it can access a SMB share on OSX? === I have Windows File sharing enabled on an OS X 10.4 computer. It's accessible via \\rudy\myshare for all the Windows users on the network, except for one guy running Vista Ultimate 64-bit edition. All the other users are running Vista or XP, all 32-bit. All the workgroup information is the same, all login with the same username/password. The Vista 64 guy can see the Mac on the network, but his login is rejected every time. Now, I imagine that Vista Ultimate is has something configured differently to the Business version and XP but I don't really know where to look. Any ideas?
0
3,999
08/06/2008 21:16:23
1,384,652
08/01/2008 12:01:23
414
37
Why .NET?
I've often wondered, what is so great about .NET and MsSQL? I can see a downside being that you **have** to run it on Windows but I am unaware of any upsides besides it being quite fast, yet so many here use it.
.net
c#
mssql
null
null
null
open
Why .NET? === I've often wondered, what is so great about .NET and MsSQL? I can see a downside being that you **have** to run it on Windows but I am unaware of any upsides besides it being quite fast, yet so many here use it.
0
4,004
08/06/2008 21:18:47
525
08/06/2008 14:41:28
6
1
How do I add SSL to a .net application that uses httplistener - it will *not* be running on IIS
I am using the .net HttpListener class, but I'm won't be running on IIS and am not using ASP.net. This [web site][1] describes what code to actual use to implement SSL with asp.net and [this site][2] describes how to set up the certificates (although I'm not sure if it works only for IIS or not). When I the class documentation, it describes various types of authentication (basic, digest, Windows, etc.) - none of them refer to SSL. It does say that if [HTTPS is used, you will need to set a server certificate][3]. Is this going to be a one line property setting and HttpListener figures out the rest? In short, I need to know how to set up the certificates and how to modify the code to implement ssl. [1]: http://www.leastprivilege.com/CommentView.aspx?guid=0c34094a-bdd4-4041-be6e-919f10fe1d31 [2]: http://blogs.msdn.com/adarshk/archive/2004/11/10/255467.aspx [3]: http://msdn.microsoft.com/en-us/library/system.net.httplistener.aspx
ssl
authentication
encryption
.net
null
null
open
How do I add SSL to a .net application that uses httplistener - it will *not* be running on IIS === I am using the .net HttpListener class, but I'm won't be running on IIS and am not using ASP.net. This [web site][1] describes what code to actual use to implement SSL with asp.net and [this site][2] describes how to set up the certificates (although I'm not sure if it works only for IIS or not). When I the class documentation, it describes various types of authentication (basic, digest, Windows, etc.) - none of them refer to SSL. It does say that if [HTTPS is used, you will need to set a server certificate][3]. Is this going to be a one line property setting and HttpListener figures out the rest? In short, I need to know how to set up the certificates and how to modify the code to implement ssl. [1]: http://www.leastprivilege.com/CommentView.aspx?guid=0c34094a-bdd4-4041-be6e-919f10fe1d31 [2]: http://blogs.msdn.com/adarshk/archive/2004/11/10/255467.aspx [3]: http://msdn.microsoft.com/en-us/library/system.net.httplistener.aspx
0
4,034
08/06/2008 21:43:33
571
08/06/2008 20:19:59
6
4
Multiple languages in an ASP.NET MVC application?
What is the best way to support multiple languages for the interface in an ASP.NET MVC application. I've seen people use resource files for other applications. Is this still the best way?
asp.net
asp.netmvc
language
multilingual
internationalization
null
open
Multiple languages in an ASP.NET MVC application? === What is the best way to support multiple languages for the interface in an ASP.NET MVC application. I've seen people use resource files for other applications. Is this still the best way?
0
4,051
08/06/2008 22:01:25
381
08/05/2008 10:39:26
231
4
Passing multidimensional arrays as function arguments in C
In C can I pass a multidimensional array to a function as a single argument ?
c
null
null
null
null
null
open
Passing multidimensional arrays as function arguments in C === In C can I pass a multidimensional array to a function as a single argument ?
0
4,052
08/06/2008 22:02:33
576
08/06/2008 21:34:52
1
0
How to enable Full-text Indexing in MSSQL 2005 Express?
I am trying to enable Full-text indexing in MSSQL 2005 Express. I am running this on my laptop with Vista Ultimate. I understand that the standard version of MSSQLExpress does not have full-text indexing. I have already downloaded and installed "MSSQL 2005 Express with Advanced Services" ([download][1]). I have also ensured that both the "SQL Server (instance)" and "SQL Server FullText Search (instance)" services are running on the same account which is "Network Service". I have also selected the option to "Use full-text indexing" in the Database Properties > Files area. I can run the sql query "SELECT fulltextserviceproperty('IsFulltextInstalled');" and return 1. The problem I am having is that when I have my table open in design view and select "Manage FullText Index"; the full-text index window displays the message... >"Creation of the full-text index is not available. Check that you have the correct permissions or that full-text catalogs are defined." Any ideas on what to check or where to go next? [1]: http://www.microsoft.com/downloads/details.aspx?FamilyID=5B5528B9-13E1-4DB9-A3FC-82116D598C3D&displaylang=en
mssql
null
null
null
null
null
open
How to enable Full-text Indexing in MSSQL 2005 Express? === I am trying to enable Full-text indexing in MSSQL 2005 Express. I am running this on my laptop with Vista Ultimate. I understand that the standard version of MSSQLExpress does not have full-text indexing. I have already downloaded and installed "MSSQL 2005 Express with Advanced Services" ([download][1]). I have also ensured that both the "SQL Server (instance)" and "SQL Server FullText Search (instance)" services are running on the same account which is "Network Service". I have also selected the option to "Use full-text indexing" in the Database Properties > Files area. I can run the sql query "SELECT fulltextserviceproperty('IsFulltextInstalled');" and return 1. The problem I am having is that when I have my table open in design view and select "Manage FullText Index"; the full-text index window displays the message... >"Creation of the full-text index is not available. Check that you have the correct permissions or that full-text catalogs are defined." Any ideas on what to check or where to go next? [1]: http://www.microsoft.com/downloads/details.aspx?FamilyID=5B5528B9-13E1-4DB9-A3FC-82116D598C3D&displaylang=en
0
4,062
08/06/2008 22:21:55
1,384,652
08/01/2008 12:01:23
451
38
Caching
Currently I know of only two ways to cache data (I use PHP but I assume that the same will apply to most languages). 1. Save the cache to a file 2. Save the cache to a large DB field Are there any other (perhaps better) ways of caching or is it really just this simple?
language-agnostic
caching
null
null
null
null
open
Caching === Currently I know of only two ways to cache data (I use PHP but I assume that the same will apply to most languages). 1. Save the cache to a file 2. Save the cache to a large DB field Are there any other (perhaps better) ways of caching or is it really just this simple?
0
4,072
08/06/2008 22:30:26
122
08/02/2008 07:56:07
774
36
SVN merge merged extra stuff
I just did a merge using something like: svn merge -r 67212:67213 https://my.svn.repository/trunk . I only had 2 files, one of which is a simple ChangeLog. Rather than just merging my ChangeLog changes, it actually pulled mine plus some previous ones that were not in the destination ChangeLog. I noticed there was a conflict when I executed --dry-run, so I updated ChangeLog, and there was STILL a conflict (and I saw the conflict when I did the actual merge). I then later diffed on the file I was merging from: svn diff -r 67212:67213 ChangeLog And I see just the changes I had made, so I know that extra changes didn't get in there somehow. This makes me worried that merge is not actually just taking what I changed, which is what I would have expected. Can anybody explain what happened?
svn
merge
null
null
null
null
open
SVN merge merged extra stuff === I just did a merge using something like: svn merge -r 67212:67213 https://my.svn.repository/trunk . I only had 2 files, one of which is a simple ChangeLog. Rather than just merging my ChangeLog changes, it actually pulled mine plus some previous ones that were not in the destination ChangeLog. I noticed there was a conflict when I executed --dry-run, so I updated ChangeLog, and there was STILL a conflict (and I saw the conflict when I did the actual merge). I then later diffed on the file I was merging from: svn diff -r 67212:67213 ChangeLog And I see just the changes I had made, so I know that extra changes didn't get in there somehow. This makes me worried that merge is not actually just taking what I changed, which is what I would have expected. Can anybody explain what happened?
0
4,080
08/06/2008 22:45:27
235
08/03/2008 20:30:43
36
1
What code analysis tools do you use for your Java projects?
What code analysis tools do you use on your Java projects? I am interested in all kinds - static code analysis tools (FindBugs, PMD, and any others) - code coverage tools (Cobertura, Emma, and any others) - any other instrumentation-based tools - anything else, if I'm missing something If applicable, also state what build tools you use and how well these tools integrate with both your IDEs and build tools. If a tool is only available a specific way (as an IDE plugin, or, say, a build tool plugin) that information is also worth nothing.
java
coverage
null
null
null
05/05/2012 13:39:59
not constructive
What code analysis tools do you use for your Java projects? === What code analysis tools do you use on your Java projects? I am interested in all kinds - static code analysis tools (FindBugs, PMD, and any others) - code coverage tools (Cobertura, Emma, and any others) - any other instrumentation-based tools - anything else, if I'm missing something If applicable, also state what build tools you use and how well these tools integrate with both your IDEs and build tools. If a tool is only available a specific way (as an IDE plugin, or, say, a build tool plugin) that information is also worth nothing.
4
4,110
08/06/2008 23:19:50
369
08/05/2008 08:33:43
76
5
What program can I use to generate diagrams of SQL view/table structure?
I've been tasked with redesigning part of a ms-sql database structure which currently involves a lot of views, some of which contain joins to other views. Anyway, I wonder if anyone here could recommend a utility to automatically generate diagrams to help me visualise the whole structure. What's the best program you've used for such problems?
database
sql
mssql
diagram
null
null
open
What program can I use to generate diagrams of SQL view/table structure? === I've been tasked with redesigning part of a ms-sql database structure which currently involves a lot of views, some of which contain joins to other views. Anyway, I wonder if anyone here could recommend a utility to automatically generate diagrams to help me visualise the whole structure. What's the best program you've used for such problems?
0
4,121
08/06/2008 23:32:27
326
08/04/2008 16:59:58
21
3
[Team] Coding Styles
[Assuming you write code on a team] Does your team actually agree on a coding style standard? Independent of what language you are using, I'm curious to know A) do you agree and B) are the styles something you created as a group or did you decide to use a "third party's" style guide? Our team uses C# primarily, and we've taken to using Microsoft's StyleCop. Not because it's necessarily THE way to do it, but because it's something we [generally] agree with and it's easy to enforce. I'm also interested to know of style-compliance tools in other languages.
codingstyle
language-agnostic
null
null
null
05/08/2012 17:51:23
off topic
[Team] Coding Styles === [Assuming you write code on a team] Does your team actually agree on a coding style standard? Independent of what language you are using, I'm curious to know A) do you agree and B) are the styles something you created as a group or did you decide to use a "third party's" style guide? Our team uses C# primarily, and we've taken to using Microsoft's StyleCop. Not because it's necessarily THE way to do it, but because it's something we [generally] agree with and it's easy to enforce. I'm also interested to know of style-compliance tools in other languages.
2
4,138
08/06/2008 23:46:24
83
08/01/2008 16:31:56
467
45
Best SVN Client Ignore Pattern for VB.NET Solutions?
What SVN Ignore Pattern should TortoiseSVN have for a VB.NET solution?
svn
vb.net
subversion
tortoisesvn
vb
null
open
Best SVN Client Ignore Pattern for VB.NET Solutions? === What SVN Ignore Pattern should TortoiseSVN have for a VB.NET solution?
0
4,149
08/06/2008 23:57:10
488
08/06/2008 09:52:47
1
1
How do I use Java to read from a file that is actively being written?
I have an application that writes information to file. This information is used post-execution to determine pass/failure/correctness of the application. I'd like to be able to read the file as it is being written so that I can do these pass/failure/correctness checks in realtime. I assume it is possible to do this, but what are the gotchas involved when using Java. If the reading catches up to the writing, will it just wait for more writes up until the file is closed? or will the read throw an exception at this point and then what do I do? My intuition is currently pushing me towards BufferedStreams. Is this the way to go?
java
file
file-io
null
null
null
open
How do I use Java to read from a file that is actively being written? === I have an application that writes information to file. This information is used post-execution to determine pass/failure/correctness of the application. I'd like to be able to read the file as it is being written so that I can do these pass/failure/correctness checks in realtime. I assume it is possible to do this, but what are the gotchas involved when using Java. If the reading catches up to the writing, will it just wait for more writes up until the file is closed? or will the read throw an exception at this point and then what do I do? My intuition is currently pushing me towards BufferedStreams. Is this the way to go?
0
4,151
08/06/2008 23:58:47
453
08/05/2008 20:59:40
91
4
Best way to cache data in .NET
I am in the process of figuring out a cache strategy for our current setup, currently have multiple web servers and wanted to know what is the best way to cache data in this environment. I have done research about MemCache and the native asp.net caching but wanted to get some feedback first. Should I go with a Linux box if I use MemCache or a win32 port of MemCache. Thanks!
.net
caching
null
null
null
null
open
Best way to cache data in .NET === I am in the process of figuring out a cache strategy for our current setup, currently have multiple web servers and wanted to know what is the best way to cache data in this environment. I have done research about MemCache and the native asp.net caching but wanted to get some feedback first. Should I go with a Linux box if I use MemCache or a win32 port of MemCache. Thanks!
0
4,157
08/07/2008 00:12:55
551
08/06/2008 16:24:59
8
2
ConfigurationManager.AppSettings Performance Concerns
I plan to be storing all my config settings in my application's app.config section (using the ConfigurationManager.AppSettings class). As the user changes settings using the app's UI (clicking checkboxes, choosing radio buttons, etc.), I plan to be writing those changes out to the AppSettings. At the same time, while the program is running I plan to be accessing the AppSettings constantly from a process that will be constantly processing data. Changes to settings via the UI need to affect the data processing in real-time, which is why the process will be accessing the AppSettings constantly. Is this a good idea with regard to performance? Using AppSettings is supposed to be "the right way" to store and access configuration settings when writing .Net apps, but I worry that this method wasn't intended for a constant load (at least in terms of settings being constantly read). If anyone has experience with this, I would greatly appreciate the input.
c#
.net
configuration
performance
null
null
open
ConfigurationManager.AppSettings Performance Concerns === I plan to be storing all my config settings in my application's app.config section (using the ConfigurationManager.AppSettings class). As the user changes settings using the app's UI (clicking checkboxes, choosing radio buttons, etc.), I plan to be writing those changes out to the AppSettings. At the same time, while the program is running I plan to be accessing the AppSettings constantly from a process that will be constantly processing data. Changes to settings via the UI need to affect the data processing in real-time, which is why the process will be accessing the AppSettings constantly. Is this a good idea with regard to performance? Using AppSettings is supposed to be "the right way" to store and access configuration settings when writing .Net apps, but I worry that this method wasn't intended for a constant load (at least in terms of settings being constantly read). If anyone has experience with this, I would greatly appreciate the input.
0
4,164
08/07/2008 00:20:03
50
08/01/2008 13:29:54
233
18
What is a good barebones CMS or framework?
I'm about to start a project for a customer who wants CMS-like functionality. They want users to be able to log in, modify a profile, and a basic forum. They also wish to be able to submit things to a front page. Is there a framework or barebones CMS that I could expand on or tailor to my needs? I don't need anything as feature-rich or fancy as Drupal or Joomla. I would actually prefer a framework as opposed to a pre-packaged CMS. I am confident I could code all this from scratch, but would prefer not to, as something like a framework would significantly cut down on my time spent coding, and more on design and layout.
content-management-system
framework
null
null
null
06/10/2012 15:43:06
not constructive
What is a good barebones CMS or framework? === I'm about to start a project for a customer who wants CMS-like functionality. They want users to be able to log in, modify a profile, and a basic forum. They also wish to be able to submit things to a front page. Is there a framework or barebones CMS that I could expand on or tailor to my needs? I don't need anything as feature-rich or fancy as Drupal or Joomla. I would actually prefer a framework as opposed to a pre-packaged CMS. I am confident I could code all this from scratch, but would prefer not to, as something like a framework would significantly cut down on my time spent coding, and more on design and layout.
4
4,168
08/07/2008 00:22:54
588
08/07/2008 00:22:53
1
0
graph serialization
I'm looking for a simple algorithm to 'serialize' a directed graph. In particular I've got a set of files with interdependencies on their execution order, and I want to find the correct order at compile time. I know it must be a fairly common thing to do - compilers do it all the time - but my google-fu has been weak today. What's the 'go-to' algorithm for this?
algorithm
directedgraph
null
null
null
null
open
graph serialization === I'm looking for a simple algorithm to 'serialize' a directed graph. In particular I've got a set of files with interdependencies on their execution order, and I want to find the correct order at compile time. I know it must be a fairly common thing to do - compilers do it all the time - but my google-fu has been weak today. What's the 'go-to' algorithm for this?
0
4,208
08/07/2008 00:39:17
55
08/01/2008 13:40:09
596
46
Windows Equivalent of 'nice'
Is there a Windows equivalent of the Unix command, *nice*? I'm specifically looking for something I can use at the command line, and **not** the "Set Priority" menu from the task manager. My attempts at finding this on Google have been thwarted by those who can't come up with better adjectives.
windows
unix
null
null
null
null
open
Windows Equivalent of 'nice' === Is there a Windows equivalent of the Unix command, *nice*? I'm specifically looking for something I can use at the command line, and **not** the "Set Priority" menu from the task manager. My attempts at finding this on Google have been thwarted by those who can't come up with better adjectives.
0
4,219
08/07/2008 00:43:33
423
08/05/2008 15:24:44
76
25
Experience with SVN vs. Team Foundation Server?
A few months back my team switched our source control over to [Subversion][1] from [Visual SourceSafe][2], and we haven't been happier. Recently I've been looking at [Team Foundation Server][3], and at least on the surface, it seems very impressive. There is some great integration with Visual Studio, and lots of great tools for DBA's, testers, project managers, etc. The most obvious difference between these two products is price. It's hard to beat Subversion (free). Team Foundation Server is quite expensive, so the extra features would really have to kick Subversion in the pants. My question is: does anyone have practical experience with both? How do they compare, and is Team Foundation Server actually worth all the money? [1]: http://subversion.tigris.org/ [2]: http://msdn.microsoft.com/en-us/vs2005/aa718670.aspx [3]: http://msdn.microsoft.com/en-us/tfs2008/default.aspx
svn
subversion
tfs
teamfoundationserver
sourcecontrol
null
open
Experience with SVN vs. Team Foundation Server? === A few months back my team switched our source control over to [Subversion][1] from [Visual SourceSafe][2], and we haven't been happier. Recently I've been looking at [Team Foundation Server][3], and at least on the surface, it seems very impressive. There is some great integration with Visual Studio, and lots of great tools for DBA's, testers, project managers, etc. The most obvious difference between these two products is price. It's hard to beat Subversion (free). Team Foundation Server is quite expensive, so the extra features would really have to kick Subversion in the pants. My question is: does anyone have practical experience with both? How do they compare, and is Team Foundation Server actually worth all the money? [1]: http://subversion.tigris.org/ [2]: http://msdn.microsoft.com/en-us/vs2005/aa718670.aspx [3]: http://msdn.microsoft.com/en-us/tfs2008/default.aspx
0
4,221
08/07/2008 00:45:51
519
08/06/2008 14:09:46
36
2
LinqDataSource - Can you limit the amount of records returned?
I'd like to use a LinqDataSource control on a page and limit the amount of records returned. I know if I use code behind I could do something like this: IEnumerable<int> values = Enumerable.Range(0, 10); IEnumerable<int> take3 = values.Take(3); Does anyone know if something like this is possible with a LinqDataSource control?
asp.net
c#
linq
linq-to-sql
null
null
open
LinqDataSource - Can you limit the amount of records returned? === I'd like to use a LinqDataSource control on a page and limit the amount of records returned. I know if I use code behind I could do something like this: IEnumerable<int> values = Enumerable.Range(0, 10); IEnumerable<int> take3 = values.Take(3); Does anyone know if something like this is possible with a LinqDataSource control?
0
4,225
08/07/2008 00:48:04
364
08/05/2008 05:33:41
31
5
Territory Map Generation
Is there a trivial, or at least moderately straight-forward way to generate territory maps (e.g. Risk)? I have looked in the past and the best I could find were vague references to Voronoi diagrams. An example of a Voronoi diagram is [here][1]. These hold promise, but I guess i haven't seen any straight-forward ways of rendering these, yet alone holding them in some form of data structure to treat each territory as an object. Another approach that holds promise is flood fill, but again I'm unsure on the best way to start with this approach. Any advice would be much appreciated. [1]: http://www.dma.fi.upm.es/mabellanas/tfcs/fvd/images/voronoi.gif
language-agnostic
maps
null
null
null
null
open
Territory Map Generation === Is there a trivial, or at least moderately straight-forward way to generate territory maps (e.g. Risk)? I have looked in the past and the best I could find were vague references to Voronoi diagrams. An example of a Voronoi diagram is [here][1]. These hold promise, but I guess i haven't seen any straight-forward ways of rendering these, yet alone holding them in some form of data structure to treat each territory as an object. Another approach that holds promise is flood fill, but again I'm unsure on the best way to start with this approach. Any advice would be much appreciated. [1]: http://www.dma.fi.upm.es/mabellanas/tfcs/fvd/images/voronoi.gif
0
4,227
08/07/2008 00:51:21
91
08/01/2008 17:55:22
2,131
174
C#: Accessing a Dictionary.Keys Key through a numeric index
I'm using a Dictionary&lt;string, int&gt; where the int is a count of the key. Now, I need to access the last-inserted Key inside the Dictionary, but i do not know the name of it. The obvious attempt: int LastCount = mydict[mydict.keys[mydict.keys.Count]]; does not work, because Dictionary.Keys does not implement a []-indexer. I just wonder if there is any similar class? I thought about using a Stack, but that only stores a string. I could now create my own struct and then use a Stack&lt;MyStruct&gt;, but I wonder if there is another alternative, essentially a Dictionary that implements an []-indexer on the Keys?
c#
.net
null
null
null
null
open
C#: Accessing a Dictionary.Keys Key through a numeric index === I'm using a Dictionary&lt;string, int&gt; where the int is a count of the key. Now, I need to access the last-inserted Key inside the Dictionary, but i do not know the name of it. The obvious attempt: int LastCount = mydict[mydict.keys[mydict.keys.Count]]; does not work, because Dictionary.Keys does not implement a []-indexer. I just wonder if there is any similar class? I thought about using a Stack, but that only stores a string. I could now create my own struct and then use a Stack&lt;MyStruct&gt;, but I wonder if there is another alternative, essentially a Dictionary that implements an []-indexer on the Keys?
0
4,230
08/07/2008 00:54:31
392
08/05/2008 12:29:07
21
6
The Difference Between a DataGrid and a GridView in ASP.NET?
I've been doing ASP.NET development for a little while now, and I've used both the GridView and the DataGrid controls before for various things, but I never could find a really good reason to use one or the other. I'd like to know: What is the difference between these 2 ASP.NET controls? What are the advantages or disadvantages of both? Is one any faster? Newer? Easier to maintain? The intellisense summary for the controls doesn't seem to describe any difference between the two. They both can view, edit, and sort data and automatically generate columns at runtime.
asp.net
null
null
null
null
null
open
The Difference Between a DataGrid and a GridView in ASP.NET? === I've been doing ASP.NET development for a little while now, and I've used both the GridView and the DataGrid controls before for various things, but I never could find a really good reason to use one or the other. I'd like to know: What is the difference between these 2 ASP.NET controls? What are the advantages or disadvantages of both? Is one any faster? Newer? Easier to maintain? The intellisense summary for the controls doesn't seem to describe any difference between the two. They both can view, edit, and sort data and automatically generate columns at runtime.
0
4,234
08/07/2008 00:56:41
590
08/07/2008 00:24:39
1
4
What to use for Messaging with C#
So my company stores alot of data in a foxpro database and trying to get around the performance hit of touching it directly I was thinking of messaging anything that can be done asynchronously for a snappier user experience. I started looking at [ActiveMQ][1] but don't know how well C# will hook with it. Wanting to hear what all of you guys think. [1]: http://activemq.apache.org/
c#
messaging
null
null
null
null
open
What to use for Messaging with C# === So my company stores alot of data in a foxpro database and trying to get around the performance hit of touching it directly I was thinking of messaging anything that can be done asynchronously for a snappier user experience. I started looking at [ActiveMQ][1] but don't know how well C# will hook with it. Wanting to hear what all of you guys think. [1]: http://activemq.apache.org/
0
4,242
08/07/2008 01:05:15
122
08/02/2008 07:56:07
793
39
Why can't I call toString on a primitive?
I want to convert a primitive to a string, and I tried: myInt.toString(); This fails with the error: int cannot be dereferenced Now, I get that primitives are not reference types (ie, not an Object) and so cannot have methods. However, Java 5 introduced autoboxing and unboxing (a la C#... which I never liked in C#, but that's beside the point). So with autoboxing, I would expect the above to convert myInt to an Integer and then call toString() on that. Furthermore, I believe C# allows such a call, unless I remember incorrectly. Is this just an unfortunate shortcoming of Java's autoboxing/unboxing specification, or is there a good reason for this?
java
primitive
autoboxing
null
null
null
open
Why can't I call toString on a primitive? === I want to convert a primitive to a string, and I tried: myInt.toString(); This fails with the error: int cannot be dereferenced Now, I get that primitives are not reference types (ie, not an Object) and so cannot have methods. However, Java 5 introduced autoboxing and unboxing (a la C#... which I never liked in C#, but that's beside the point). So with autoboxing, I would expect the above to convert myInt to an Integer and then call toString() on that. Furthermore, I believe C# allows such a call, unless I remember incorrectly. Is this just an unfortunate shortcoming of Java's autoboxing/unboxing specification, or is there a good reason for this?
0
4,246
08/07/2008 01:09:04
162
08/02/2008 20:09:15
33
2
What is best practice for FTP from a SQL Server stored procedure?
What is the best method for executing FTP commands from a SQL Server stored procedure? we currently use something like this: EXEC master..xp_cmdshell 'ftp -n -s:d:\ftp\ftpscript.xmt 172.1.1.1' The problem is that the command seems to succeed even if the FTP ended in error. Also, the use of xp_cmdshell requires special permissions and may leave room for security issues.
sql-server
ftp
null
null
null
null
open
What is best practice for FTP from a SQL Server stored procedure? === What is the best method for executing FTP commands from a SQL Server stored procedure? we currently use something like this: EXEC master..xp_cmdshell 'ftp -n -s:d:\ftp\ftpscript.xmt 172.1.1.1' The problem is that the command seems to succeed even if the FTP ended in error. Also, the use of xp_cmdshell requires special permissions and may leave room for security issues.
0
4,269
08/07/2008 01:28:03
357
08/05/2008 01:29:23
218
12
Programmatic SMS
What is the best way to programmatically send an SMS text message? Are there any free Web Service based SMS gateways? I know that if I happen to know the user's carrier (Sprint, AT&T, etc), I can send an [SMS by emailing an address][1] based on phone number + carrier. I would like a good solution that does not require me to know the carrier. Barring that, is there an easy way to lookup carrier given a cell phone number? [1]: http://en.wikipedia.org/wiki/SMS_gateways
mobile
sms
textmessage
null
null
null
open
Programmatic SMS === What is the best way to programmatically send an SMS text message? Are there any free Web Service based SMS gateways? I know that if I happen to know the user's carrier (Sprint, AT&T, etc), I can send an [SMS by emailing an address][1] based on phone number + carrier. I would like a good solution that does not require me to know the carrier. Barring that, is there an easy way to lookup carrier given a cell phone number? [1]: http://en.wikipedia.org/wiki/SMS_gateways
0
4,287
08/07/2008 01:54:12
121
08/02/2008 07:34:46
73
6
How Do You Determine The PID of the Parent of a Process
I have a process in erlang that is supposed to do something immediately after spawn, then send the result back to the parent when it is finished. How do I figure out the PID of the process that spawned it?
erlang
null
null
null
null
null
open
How Do You Determine The PID of the Parent of a Process === I have a process in erlang that is supposed to do something immediately after spawn, then send the result back to the parent when it is finished. How do I figure out the PID of the process that spawned it?
0
4,303
08/07/2008 02:27:03
358
08/05/2008 01:41:40
222
7
Why should I practice Test Driven Development and how should I start?
Lots of people talk about writing tests for their code before they start writing their code. This practice is generally known as Test Driven Development or TDD for short. What benefits do I gain from writing software this way? How do I get started with this practice?
testing
tdd
null
null
null
null
open
Why should I practice Test Driven Development and how should I start? === Lots of people talk about writing tests for their code before they start writing their code. This practice is generally known as Test Driven Development or TDD for short. What benefits do I gain from writing software this way? How do I get started with this practice?
0
4,305
08/07/2008 02:27:58
34
08/01/2008 12:39:52
1,563
85
Grid Hosting for Windows
Are there any **good** grid-hosting companies out there that offer .NET stacks? Something like MediaTemple - which won't host the worlds fastest websites, but for the price is far better than "shared hosting". I've used Rackspace's Mosso, but it sucked - it never felt like a normal .NET stack (caching was odd, site recompilation was odd).
.net
hosting
null
null
null
null
open
Grid Hosting for Windows === Are there any **good** grid-hosting companies out there that offer .NET stacks? Something like MediaTemple - which won't host the worlds fastest websites, but for the price is far better than "shared hosting". I've used Rackspace's Mosso, but it sucked - it never felt like a normal .NET stack (caching was odd, site recompilation was odd).
0
4,306
08/07/2008 02:29:58
522
08/06/2008 14:24:03
11
4
What is the best way to create a sparse array?
I am working on a project that requires the manipulation of enourmous matrices, particularly pyramidal summation for a copula calculation. In short, I need to keep track of a relatively small number of values (usually a value of 1, and in rare cases more than 1) in a sea of zeros in the matrix (multidimensional array). A sparse array allows the user to store a small number of values, and assume all undefined records to be a preset value. Since is is not physically possibly to store all values in memory (greater in number than the number of particles in the universe :p ), I need to store only the few non-zero elements. This could be several million entries. I am currently working on a system that uses a binary search tree (b-tree) to store entries. Does anyone know of a better system? Thanks in advance.
c++
c
data
datastructure
tree
null
open
What is the best way to create a sparse array? === I am working on a project that requires the manipulation of enourmous matrices, particularly pyramidal summation for a copula calculation. In short, I need to keep track of a relatively small number of values (usually a value of 1, and in rare cases more than 1) in a sea of zeros in the matrix (multidimensional array). A sparse array allows the user to store a small number of values, and assume all undefined records to be a preset value. Since is is not physically possibly to store all values in memory (greater in number than the number of particles in the universe :p ), I need to store only the few non-zero elements. This could be several million entries. I am currently working on a system that uses a binary search tree (b-tree) to store entries. Does anyone know of a better system? Thanks in advance.
0
4,314
08/07/2008 02:37:07
358
08/05/2008 01:41:40
222
7
What is Object Mocking and when do I need it?
Many people use Mock Objects when they are writing unit tests. What is a **Mock Object**? Why would I ever need one? Do I need a Mock Object Framework?
testing
mocking
null
null
null
null
open
What is Object Mocking and when do I need it? === Many people use Mock Objects when they are writing unit tests. What is a **Mock Object**? Why would I ever need one? Do I need a Mock Object Framework?
0
4,320
08/07/2008 02:41:24
1,525,924
08/06/2008 22:24:49
100
5
ASP.Net 2.0 Application without Business Logic Layer?
Is it "acceptable" to have an ASP.Net 2.0 application without the BLL (Business Logic Layer) as the following? 1. SQL Server Data Storage & Stored Procedures 2. Data Link Layer (Strongly Typed Table Adapters) connecting to Stored Procs 3. Presentation Layer ASPX Pages with Code behind and ObjectDataSource for connection straight to the DLL Is a BLL always preferable, even if business logic is entirely validatable in the presentation's code behind? What are the potential drawbacks for not using a BLL?
asp.net
asp
applications
businesslogiclayer
datalinklayer
null
open
ASP.Net 2.0 Application without Business Logic Layer? === Is it "acceptable" to have an ASP.Net 2.0 application without the BLL (Business Logic Layer) as the following? 1. SQL Server Data Storage & Stored Procedures 2. Data Link Layer (Strongly Typed Table Adapters) connecting to Stored Procs 3. Presentation Layer ASPX Pages with Code behind and ObjectDataSource for connection straight to the DLL Is a BLL always preferable, even if business logic is entirely validatable in the presentation's code behind? What are the potential drawbacks for not using a BLL?
0
4,335
08/07/2008 02:50:13
20,207
09/22/2008 05:12:48
1
0
WCF - High availability
Is there anyway to configure a WCF service with a failover endpoint if the primary endpoint dies? Kind of like being able to specify a failover server in a SQL cluster... Specifically I am using the TCP/IP binding for speed, but on the rare occurrence that the machine is not available I would like to redirect traffic to the failover server. Not too bothered about losing messages... I'd just prefer not to write the code to handle re-routing! Cheers, Stuart
c#
.net
wcf
soa
null
null
open
WCF - High availability === Is there anyway to configure a WCF service with a failover endpoint if the primary endpoint dies? Kind of like being able to specify a failover server in a SQL cluster... Specifically I am using the TCP/IP binding for speed, but on the rare occurrence that the machine is not available I would like to redirect traffic to the failover server. Not too bothered about losing messages... I'd just prefer not to write the code to handle re-routing! Cheers, Stuart
0
4,347
08/07/2008 03:06:19
522
08/06/2008 14:24:03
26
9
Where is a good place to start programming GUIs for windows?
I have experience writing console and network client/server apps in C and C++, but I know next to nothing about using the win32 visual API, MFC, QT, WxWidgets, etc. Where is a good place to start, and what method should I specialize in, so as to be future ready and robust?
c++
c
mfc
winapi
windows-api
null
open
Where is a good place to start programming GUIs for windows? === I have experience writing console and network client/server apps in C and C++, but I know next to nothing about using the win32 visual API, MFC, QT, WxWidgets, etc. Where is a good place to start, and what method should I specialize in, so as to be future ready and robust?
0
4,363
08/07/2008 03:23:45
396
08/05/2008 12:46:44
58
5
What is the best way to do unit testing for ASP web pages (C#)?
Any suggestions? Using visual studio in C#. Are there any specific tools to use or methods to approach this?
c#
asp.net
visual-studio
asp
test
07/14/2012 14:23:36
not constructive
What is the best way to do unit testing for ASP web pages (C#)? === Any suggestions? Using visual studio in C#. Are there any specific tools to use or methods to approach this?
4
4,369
08/07/2008 03:46:47
264
08/04/2008 09:58:18
489
18
Include files requiring a absolute path
I have a directory structure like the following; >/script.php > >/inc/include1.php<br/> >/inc/include2.php > >/objects/object1.php<br/> >/objects/object2.php > >/soap/soap.php Now, I use those objects in both script.php and /soap/soap.php, I could move them, but I want the directory structure like that for a different reason. When executing script.php the include path is inc/include.php and when executing /soap/soap.php it's ../inc, absolute paths work, /mnt/webdev/[project name]/inc/include1.php... But it's an ugly solution if I ever move the directory to a different location. So is there a way to use relative paths, or a way to programically generate the "/mnt/webdev/[project name]/"?
php
null
null
null
null
null
open
Include files requiring a absolute path === I have a directory structure like the following; >/script.php > >/inc/include1.php<br/> >/inc/include2.php > >/objects/object1.php<br/> >/objects/object2.php > >/soap/soap.php Now, I use those objects in both script.php and /soap/soap.php, I could move them, but I want the directory structure like that for a different reason. When executing script.php the include path is inc/include.php and when executing /soap/soap.php it's ../inc, absolute paths work, /mnt/webdev/[project name]/inc/include1.php... But it's an ugly solution if I ever move the directory to a different location. So is there a way to use relative paths, or a way to programically generate the "/mnt/webdev/[project name]/"?
0
4,371
08/07/2008 03:54:14
131
08/02/2008 08:58:50
41
1
How do I retrieve my MySQL username and password?
I lost my MySQL username and password. How do I retrieve it?
mysql
null
null
null
null
null
open
How do I retrieve my MySQL username and password? === I lost my MySQL username and password. How do I retrieve it?
0
4,387
08/07/2008 04:24:11
525
08/06/2008 14:41:28
36
2
Best Multi-Language Documentation Generator
What is the best documentation generator? I want to something that will easily add templates for documenting functions, classes, etc. I know there are several tools out there -- * which is the best? * are there any documentation tools that could be used for multiple languages (e.g. VB.net and JavaScript) Bonus points if they're free / open source.
documentation
polls
null
null
null
05/05/2012 13:40:05
not constructive
Best Multi-Language Documentation Generator === What is the best documentation generator? I want to something that will easily add templates for documenting functions, classes, etc. I know there are several tools out there -- * which is the best? * are there any documentation tools that could be used for multiple languages (e.g. VB.net and JavaScript) Bonus points if they're free / open source.
4
4,392
08/07/2008 04:41:24
525
08/06/2008 14:41:28
36
2
Best Debbuging Tools for JavaScript Development
In the past few months I began my first serious JavaScript development, as I began developing XUL applications. I use Notepad++ as my editor, but I was pretty appalled to find (as far as I can tell) that Venkman/Javascript Debugger is **the** tool for debugging. It seems like a poor replacement to Visual Studio for .Net languages. Am I missing something? What are the best tools and best practices for JavaScript development? Is there some killer IDE/debugger/editor combination I'm not aware of? It has to be easier than this, though. I've heard some mention of Eclipse - is it a good choice here? I know very little about it.
javascript
tools
debugging
ide
null
null
open
Best Debbuging Tools for JavaScript Development === In the past few months I began my first serious JavaScript development, as I began developing XUL applications. I use Notepad++ as my editor, but I was pretty appalled to find (as far as I can tell) that Venkman/Javascript Debugger is **the** tool for debugging. It seems like a poor replacement to Visual Studio for .Net languages. Am I missing something? What are the best tools and best practices for JavaScript development? Is there some killer IDE/debugger/editor combination I'm not aware of? It has to be easier than this, though. I've heard some mention of Eclipse - is it a good choice here? I know very little about it.
0
4,416
08/07/2008 05:13:31
404
08/05/2008 13:34:59
220
16
Where can I get the Windows Workflow "wca.exe" application?
I am walking through the MS Press Windows Workflow Step-by-Step book and in chapter 8 it mentions a tool with the filename "wca.exe". This is supposed to be able to generate workflow communication helper classes based on an interface you provide it. I can't find that file. I thought it would be in the latest .NET 3.5 SDK, but I just downloaded and fully installed, and it's not there. Also, some MSDN forum posts had links posted that just go to 404s. So, where can I find wca.exe?
windows
workflow
sdk
null
null
null
open
Where can I get the Windows Workflow "wca.exe" application? === I am walking through the MS Press Windows Workflow Step-by-Step book and in chapter 8 it mentions a tool with the filename "wca.exe". This is supposed to be able to generate workflow communication helper classes based on an interface you provide it. I can't find that file. I thought it would be in the latest .NET 3.5 SDK, but I just downloaded and fully installed, and it's not there. Also, some MSDN forum posts had links posted that just go to 404s. So, where can I find wca.exe?
0
4,418
08/07/2008 05:21:16
307
08/04/2008 14:26:05
260
24
How do I update Ruby Gems from behind a Proxy (ISA-NTLM)
Firewall I'm behind is running Microsoft ISA server (NTLM only mode), anyone have success getting their Ruby gems to install/update via Ruby SSPI gem or other method? ... or am I just being lazy? Edit: **rubysspi-1.2.4 does not work**
ruby
hacks
proxy
gem
null
null
open
How do I update Ruby Gems from behind a Proxy (ISA-NTLM) === Firewall I'm behind is running Microsoft ISA server (NTLM only mode), anyone have success getting their Ruby gems to install/update via Ruby SSPI gem or other method? ... or am I just being lazy? Edit: **rubysspi-1.2.4 does not work**
0