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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
29,177 | 08/26/2008 23:23:05 | 2,729 | 08/24/2008 18:30:56 | 78 | 8 | DoDragDrop and MouseUp | Is there an easy way to ensure that after a drag-and-drop fails to complete, the MouseUp event isn't eaten up and ignored by the framework?
I have found a blog post describing [one mechanism][1], but it involves a good deal of manual bookkeeping, including status flags, MouseMove events, manual "mouse leave" checkin... | .net | winforms | events | drag-and-drop | null | null | open | DoDragDrop and MouseUp
===
Is there an easy way to ensure that after a drag-and-drop fails to complete, the MouseUp event isn't eaten up and ignored by the framework?
I have found a blog post describing [one mechanism][1], but it involves a good deal of manual bookkeeping, including status flags, MouseMove events, ... | 0 |
29,242 | 08/27/2008 00:18:19 | 1,175 | 08/13/2008 10:21:54 | 744 | 81 | Off-the-Shelf Hex Dump Code | I work a lot with network and serial communications software, so it is often necessary to display or log hex dumps of data packets.
Every time I do this, I write yet another hex-dump routine from scratch. I'm about to do so again, but figured I'd ask here: Is there any good free hex dump code for C++ out there som... | hexdump | c++ | logging | null | null | null | open | Off-the-Shelf Hex Dump Code
===
I work a lot with network and serial communications software, so it is often necessary to display or log hex dumps of data packets.
Every time I do this, I write yet another hex-dump routine from scratch. I'm about to do so again, but figured I'd ask here: Is there any good free he... | 0 |
29,243 | 08/27/2008 00:21:35 | 1,638 | 08/17/2008 17:58:57 | 246 | 30 | How do I create an xml document in python | It's my first time generating xml with python, and the python documentation, which is generally good, is really lacking for xml creation...here is my sample code:
<pre>
<code>
from xml.dom.minidom import *
def make_xml():
doc = Document();
node = doc.createElement('foo')
node.innerText = 'bar'
d... | python | xml | null | null | null | null | open | How do I create an xml document in python
===
It's my first time generating xml with python, and the python documentation, which is generally good, is really lacking for xml creation...here is my sample code:
<pre>
<code>
from xml.dom.minidom import *
def make_xml():
doc = Document();
node = doc.createEl... | 0 |
29,244 | 08/27/2008 00:23:02 | 234 | 08/03/2008 20:25:38 | 2,355 | 161 | HTML Select Tag with black background - dropdown triangle is invisible in Firefox 3 | I have the following HTML (note the CSS making the background black and text white)
<select id="opts" style="background-color: black; color: white;">
<option>first</option>
<option>second</option>
</select>
Safari is smart enough to make the small triangle that appears to the right of the text the same ... | html | css | firefox | html-select | null | null | open | HTML Select Tag with black background - dropdown triangle is invisible in Firefox 3
===
I have the following HTML (note the CSS making the background black and text white)
<select id="opts" style="background-color: black; color: white;">
<option>first</option>
<option>second</option>
</select>
Safari i... | 0 |
29,247 | 08/27/2008 00:29:30 | 327 | 08/04/2008 17:08:49 | 431 | 25 | What versions of Visual Studio can be installed concurrently? | Are there any conflicts with having any combination of Visual Studio 2003, 2005 and/or 2008 installed? I noticed a related question [here][1] but wanted a more general answer.
[1]: http://stackoverflow.com/questions/9693/visual-studio-2005-macros-stop-working-when-visual-studio-2008-is-installed | windows | visual-studio | microsoft | null | null | null | open | What versions of Visual Studio can be installed concurrently?
===
Are there any conflicts with having any combination of Visual Studio 2003, 2005 and/or 2008 installed? I noticed a related question [here][1] but wanted a more general answer.
[1]: http://stackoverflow.com/questions/9693/visual-studio-2005-macro... | 0 |
29,284 | 08/27/2008 01:03:22 | 2,684 | 08/24/2008 14:38:27 | 138 | 17 | Windows Vista: Unable to load DLL 'x.dll': Invalid access to memory location. (DllNotFoundException) | I was testing on a customer's box this afternoon which has Windows Vista (He had home, but I am testing on a Business Edition with same results).
We make use of a .DLL that gets the Hardware ID of the computer. It's usage is very simple and the sample program I have created works. The Dll is [This from AzSdk][1].
... | windows-vista | .net | dllnotfoundexception | c# | null | null | open | Windows Vista: Unable to load DLL 'x.dll': Invalid access to memory location. (DllNotFoundException)
===
I was testing on a customer's box this afternoon which has Windows Vista (He had home, but I am testing on a Business Edition with same results).
We make use of a .DLL that gets the Hardware ID of the computer. ... | 0 |
29,292 | 08/27/2008 01:11:16 | 1,175 | 08/13/2008 10:21:54 | 752 | 81 | Version Control for Graphics | Say a development team includes (or makes use of) graphic artists who create all the images that go into a product. Such things include icons, bitmaps, screen backgrounds, button images, animations, etc.
Obviously, everything needed to build a piece of software should be under some form of version control. Should ... | version-control | graphics | versioning | null | null | null | open | Version Control for Graphics
===
Say a development team includes (or makes use of) graphic artists who create all the images that go into a product. Such things include icons, bitmaps, screen backgrounds, button images, animations, etc.
Obviously, everything needed to build a piece of software should be under some... | 0 |
29,308 | 08/27/2008 01:20:29 | 2,785 | 08/25/2008 03:48:53 | 21 | 6 | How to Track Queries on a Linq-to-sql DataContext | In the [herding code](http://herdingcode.com/) podcast 14 someone mentions that stackoverflow displayed the queries that were executed during a request at the bottom of the page.
It sounds like an excellent idea to me. Every time a page loads I want to know what sql statements are executed and also a count of the t... | asp.net | linq-to-sql | null | null | null | null | open | How to Track Queries on a Linq-to-sql DataContext
===
In the [herding code](http://herdingcode.com/) podcast 14 someone mentions that stackoverflow displayed the queries that were executed during a request at the bottom of the page.
It sounds like an excellent idea to me. Every time a page loads I want to know wha... | 0 |
29,311 | 08/27/2008 01:23:29 | 1,432 | 08/15/2008 15:33:54 | 953 | 42 | Which 3D cards support full scene antialiasing? | Is there a list of 3D cards available that provide full scene antialiasing as well as which are able to do it in hardware (decent performance)? | opengl | antialasing | fullsceneantialiasing | null | null | null | open | Which 3D cards support full scene antialiasing?
===
Is there a list of 3D cards available that provide full scene antialiasing as well as which are able to do it in hardware (decent performance)? | 0 |
29,323 | 08/27/2008 01:31:06 | 1,588 | 08/17/2008 01:05:22 | 191 | 7 | Is there a "best way" to learn a new framework/library? | You see a lot of issues on TheDailyWorseThanFailure.com that all come down to people reinventing the wheel (poorly). How do you mitigate this? Is there a "best" approach to learning a new library/framework/etcetera? | framework | null | null | null | null | null | open | Is there a "best way" to learn a new framework/library?
===
You see a lot of issues on TheDailyWorseThanFailure.com that all come down to people reinventing the wheel (poorly). How do you mitigate this? Is there a "best" approach to learning a new library/framework/etcetera? | 0 |
29,324 | 08/27/2008 01:32:15 | 145 | 08/02/2008 14:40:17 | 686 | 22 | How Do I Create a Hash Table in Java? | What is the most straightforward way to create a hash table (or associative array...) in Java? My google-fu has turned up a couple examples, but is there a standard way to do this? | java | array | associative-array | hash-table | hash | null | open | How Do I Create a Hash Table in Java?
===
What is the most straightforward way to create a hash table (or associative array...) in Java? My google-fu has turned up a couple examples, but is there a standard way to do this? | 0 |
29,335 | 08/27/2008 01:38:54 | 2,228 | 08/21/2008 02:56:29 | 111 | 4 | Best practices for development environment and API dev? | My current employer uses a 3rd party hosted CRM provider and we have a fairly sophisticated integration tier between the two systems. Amongst the capabilities of the CRM provider is for developers to author business logic in a Java like language and on events such as the user clicking a button or submitting a new ac... | api | development-environment | pipeline | null | null | null | open | Best practices for development environment and API dev?
===
My current employer uses a 3rd party hosted CRM provider and we have a fairly sophisticated integration tier between the two systems. Amongst the capabilities of the CRM provider is for developers to author business logic in a Java like language and on eve... | 0 |
29,346 | 08/27/2008 01:49:30 | 493 | 08/06/2008 10:25:05 | 2,321 | 154 | Access files from network share in c# web app | I have a web application that needs to read (and possibly write) files from a network share. I was wondering what the best way to do this would be?
I can't give the network service or aspnet accounts access to the network share. I could possibly use impersonation.
The network share and the web application are bot... | c# | fileio | security | asp.net | webapp | null | open | Access files from network share in c# web app
===
I have a web application that needs to read (and possibly write) files from a network share. I was wondering what the best way to do this would be?
I can't give the network service or aspnet accounts access to the network share. I could possibly use impersonation.
... | 0 |
29,357 | 08/27/2008 02:09:29 | 657 | 08/07/2008 15:05:02 | 226 | 22 | Security For Voting Application | I have a project to build a voting desktop application for a class in Java. While security isn't the focus of the project, I would like to be as realistic as I can. What are some of the primary tools to integrate security into a Java application. | java | desktop | security | null | null | null | open | Security For Voting Application
===
I have a project to build a voting desktop application for a class in Java. While security isn't the focus of the project, I would like to be as realistic as I can. What are some of the primary tools to integrate security into a Java application. | 0 |
29,360 | 08/27/2008 02:11:10 | 116 | 08/02/2008 05:51:57 | 4,046 | 206 | What are the best progamming book series? | Which series do you really like? Which one, when it releases a new book, are you confident that it will be useful, well-written, etc? | books | null | null | null | null | 11/28/2011 01:36:30 | not constructive | What are the best progamming book series?
===
Which series do you really like? Which one, when it releases a new book, are you confident that it will be useful, well-written, etc? | 4 |
29,370 | 08/27/2008 02:20:39 | 1,432 | 08/15/2008 15:33:54 | 963 | 44 | SQL1159 Initialization error with DB2 .NET Data Provider, reason code 7, tokens 9.5.0.DEF.2, SOFTWARE\IBM\DB2\InstalledCopies | I am trying to get the DB2 data provider from a 32-bit .Net application to connect to DB2 running as a 32-bit application on Vista 64 (is that confusing enough yet)? Unfortunately, I am getting the following error:
> SQL1159 Initialization error with DB2 .NET Data Provider, reason code 7, tokens 9.5.0.DEF.2, SOFTWA... | .net | db2 | vista64 | null | null | null | open | SQL1159 Initialization error with DB2 .NET Data Provider, reason code 7, tokens 9.5.0.DEF.2, SOFTWARE\IBM\DB2\InstalledCopies
===
I am trying to get the DB2 data provider from a 32-bit .Net application to connect to DB2 running as a 32-bit application on Vista 64 (is that confusing enough yet)? Unfortunately, I am ge... | 0 |
29,382 | 08/27/2008 02:32:15 | 2,477 | 08/22/2008 13:21:51 | 134 | 14 | Rails requires RubyGems >= 0.9.4. Please install RubyGems | I'm deploying to Ubuntu slice on slicehost, using Rails 2.1.0 (from gem)
If I try mongrel_rails start or script/server I get error:
> Rails requires RubyGems >= 0.9.4. Please install RubyGems
When I type `gem-v` i have 1.2.0. Any quick tips on what to look at to fix? | ruby-on-rails | deployment | rubygems | null | null | null | open | Rails requires RubyGems >= 0.9.4. Please install RubyGems
===
I'm deploying to Ubuntu slice on slicehost, using Rails 2.1.0 (from gem)
If I try mongrel_rails start or script/server I get error:
> Rails requires RubyGems >= 0.9.4. Please install RubyGems
When I type `gem-v` i have 1.2.0. Any quick tips on what... | 0 |
29,383 | 08/27/2008 02:32:34 | 2,147 | 08/20/2008 15:14:13 | 182 | 28 | Converting bool to text in C++ | Maybe this is a dumb question, but is there any way to convert a boolean value to a string such that 1 turns to "true" and 0 turns to "false"? I could just use an if statement, but it would be nice to know if there is a way to do that with the language or standard libraries. Plus, I'm a pedant. :) | c++ | string | boolean | null | null | null | open | Converting bool to text in C++
===
Maybe this is a dumb question, but is there any way to convert a boolean value to a string such that 1 turns to "true" and 0 turns to "false"? I could just use an if statement, but it would be nice to know if there is a way to do that with the language or standard libraries. Plus, ... | 0 |
29,399 | 08/27/2008 02:44:58 | 2,490 | 08/22/2008 13:52:54 | 21 | 2 | Is obfuscator Javascript enough? | I'm working on building a development tool that is written in Javascript.
This will not be an open source project and will be sold (hopefully) as a commercial product.
I'm evaluating the best way to protect my investment. Is using an obfuscator (code mangler) enough to reasonably secure the code?
Are there oth... | javascript | null | null | null | null | null | open | Is obfuscator Javascript enough?
===
I'm working on building a development tool that is written in Javascript.
This will not be an open source project and will be sold (hopefully) as a commercial product.
I'm evaluating the best way to protect my investment. Is using an obfuscator (code mangler) enough to reason... | 0 |
29,406 | 08/27/2008 02:48:39 | 3,074 | 08/26/2008 14:40:40 | 1 | 1 | Guidelines for writing a framework | I'm faced with writing a framework to simplify working with a large and complex object library ([ArcObjects][1]). What guidelines would you suggest for creating a framework of this kind? Are static methods preferred? How do you handle things like logging? How do you future proof your framework code from changes that a ... | framework | null | null | null | null | null | open | Guidelines for writing a framework
===
I'm faced with writing a framework to simplify working with a large and complex object library ([ArcObjects][1]). What guidelines would you suggest for creating a framework of this kind? Are static methods preferred? How do you handle things like logging? How do you future proof ... | 0 |
29,423 | 08/27/2008 03:02:00 | 1,220 | 08/13/2008 13:44:48 | 842 | 59 | How Automated is too automated when it comes to deployment? | I have ci, so our staging environment builds itself.
Should I have a script that not only builds production but does all the branching for it as well?
When you have 1 code base on 2 different urls with skinning, should they be required to build at once? | build-automation | production | null | null | null | null | open | How Automated is too automated when it comes to deployment?
===
I have ci, so our staging environment builds itself.
Should I have a script that not only builds production but does all the branching for it as well?
When you have 1 code base on 2 different urls with skinning, should they be required to build at o... | 0 |
29,426 | 08/27/2008 03:06:06 | 2,612 | 08/23/2008 15:44:45 | 3 | 0 | Best GUI designer for eclipse? | I'm looking for a good GUI designer for swing in eclipse. My preference is for a free/open-source plugin. | java | eclipse | swing | gui-designer | null | 09/11/2011 17:26:29 | not constructive | Best GUI designer for eclipse?
===
I'm looking for a good GUI designer for swing in eclipse. My preference is for a free/open-source plugin. | 4 |
29,456 | 08/27/2008 03:35:57 | 2,976 | 08/26/2008 09:42:25 | 70 | 6 | Can you recommend a good book on zend framework. | Can anyone recommend a good book on zend framework. I got ZF up and running but I want a more complete reference with maybe something that talks about each module more in depth.
Is there such a book. There seems to be real slim pickings on ZF books | books | zendframework | null | null | null | 09/17/2011 22:45:46 | not constructive | Can you recommend a good book on zend framework.
===
Can anyone recommend a good book on zend framework. I got ZF up and running but I want a more complete reference with maybe something that talks about each module more in depth.
Is there such a book. There seems to be real slim pickings on ZF books | 4 |
29,460 | 08/27/2008 03:38:10 | 493 | 08/06/2008 10:25:05 | 2,346 | 155 | Stop the taskbar flashing | I know I can programatically make the taskbar item for a particular window start flashing when something changes, but is there any way I can stop it from flashing either programatically after a certain period of time or at least is there a keyboard shortcur I can give to my users to somehow stop the flashing? | c# | winforms | taskbar | null | null | null | open | Stop the taskbar flashing
===
I know I can programatically make the taskbar item for a particular window start flashing when something changes, but is there any way I can stop it from flashing either programatically after a certain period of time or at least is there a keyboard shortcur I can give to my users to someh... | 0 |
29,461 | 08/27/2008 03:40:05 | 3,030 | 08/26/2008 12:41:34 | 51 | 3 | What is a MUST COVER in my Groovy presentation? | I'm working on getting an Introduction to Groovy presentation ready for my local Java User's Group and I've pretty much got it together. What I'd like to see is what you all think I just have to cover.
Remember, this is an introductory presentation. Most of the people are experienced Java developers, but I'm pre... | groovy | presentations | java | null | null | 05/05/2012 01:46:27 | off topic | What is a MUST COVER in my Groovy presentation?
===
I'm working on getting an Introduction to Groovy presentation ready for my local Java User's Group and I've pretty much got it together. What I'd like to see is what you all think I just have to cover.
Remember, this is an introductory presentation. Most of th... | 2 |
29,482 | 08/27/2008 03:58:21 | 493 | 08/06/2008 10:25:05 | 2,346 | 155 | Cast int to Enum in C# | What's a quick and easy way to cast an int to an enum in c#? | c# | enums | casting | null | null | null | open | Cast int to Enum in C#
===
What's a quick and easy way to cast an int to an enum in c#? | 0 |
29,496 | 08/27/2008 04:08:39 | 648 | 08/07/2008 13:22:00 | 138 | 17 | Automated script to zip IIS logs? | I'd like to write a script/batch that will bunch up my daily IIS logs and zip them up by month.
ex080801.log which is in the format of ex*yymmdd*.log
ex080801.log - ex080831.log gets zipped up and the log files deleted.
The reason we do this is because on a heavy site a log file for one day could be 500mb to 1... | iis | batch | script | logging | zip | null | open | Automated script to zip IIS logs?
===
I'd like to write a script/batch that will bunch up my daily IIS logs and zip them up by month.
ex080801.log which is in the format of ex*yymmdd*.log
ex080801.log - ex080831.log gets zipped up and the log files deleted.
The reason we do this is because on a heavy site a l... | 0 |
29,499 | 08/27/2008 04:11:18 | 337 | 08/04/2008 18:11:42 | 106 | 5 | How do you troubleshoot character encoding problems? | If all you see is the ugly no-char boxes, what tools or strategies do you use to figure out what went wrong?
(The specific scenario I'm facing is no-char boxes within a <select> when it should be showing Japanese chars.) | encoding | localization | null | null | null | null | open | How do you troubleshoot character encoding problems?
===
If all you see is the ugly no-char boxes, what tools or strategies do you use to figure out what went wrong?
(The specific scenario I'm facing is no-char boxes within a <select> when it should be showing Japanese chars.) | 0 |
29,505 | 08/27/2008 04:18:10 | 3,147 | 08/27/2008 01:00:22 | 11 | 1 | Deserialize in a different language. | The log4j network adapter sends events as a serialised java object. I would like to be able to capture this object and deserialise it in a different language (python). Is this possible?
*NOTE* The network capturing is easy; its just a TCP socket and reading in a stream. The difficulty is the deserialising part | java | serialization | log4j | null | null | null | open | Deserialize in a different language.
===
The log4j network adapter sends events as a serialised java object. I would like to be able to capture this object and deserialise it in a different language (python). Is this possible?
*NOTE* The network capturing is easy; its just a TCP socket and reading in a stream. The ... | 0 |
29,511 | 08/27/2008 04:19:42 | 422 | 08/05/2008 15:11:55 | 383 | 26 | Ruby - Convert Integer to String | I have some Ruby code I'm writing and when I give it the String "0123", I want to be able to print out the individual elements. But when I try to print out these elements, I'm seeing the ASCII values instead:
>> a = "0123"
=> "0123"
>> a[0]
=> 48
I've looked online but can't find any way to get... | ruby | arrays | null | null | null | null | open | Ruby - Convert Integer to String
===
I have some Ruby code I'm writing and when I give it the String "0123", I want to be able to print out the individual elements. But when I try to print out these elements, I'm seeing the ASCII values instead:
>> a = "0123"
=> "0123"
>> a[0]
=> 48
I've looke... | 0 |
29,516 | 08/27/2008 04:29:02 | 1,915 | 08/19/2008 14:11:04 | 43 | 3 | Template Engines for Spring Framework | I've taken quite a shine to the Spring Framework and would like to get into it a bit more. I have noticed that aside from plain vanilla JSPs there are various template engines for use with Spring, such as [Velocity][1] and [Freemarker][2]. Are there others? Which one do you recommend?
[1]: http://velocity.apache... | java | spring-framework | template-engine | velocity | freemarker | null | open | Template Engines for Spring Framework
===
I've taken quite a shine to the Spring Framework and would like to get into it a bit more. I have noticed that aside from plain vanilla JSPs there are various template engines for use with Spring, such as [Velocity][1] and [Freemarker][2]. Are there others? Which one do you re... | 0 |
29,525 | 08/27/2008 04:36:49 | 2,976 | 08/26/2008 09:42:25 | 70 | 7 | Opcode cache impact on memory ussage | Can anyone tell me what is the memory usage overhead associated with PHP opcode cache?
I've seen a lot of reviews of opcode cache but all of them only concentrate on the performance increace. I have a small entry level VPS and memory limits are a concern for me. | php | opcode-cache | null | null | null | null | open | Opcode cache impact on memory ussage
===
Can anyone tell me what is the memory usage overhead associated with PHP opcode cache?
I've seen a lot of reviews of opcode cache but all of them only concentrate on the performance increace. I have a small entry level VPS and memory limits are a concern for me. | 0 |
29,531 | 08/27/2008 04:43:00 | 404 | 08/05/2008 13:34:59 | 582 | 38 | Using .NET CodeDOM to declare and initialize a field in one statement |
I want to use CodeDOM to both declare and initialize my static field in one statement. How can I do this?
// for example
public static int MyField = 5;
I can seem to figure out how to declare a static field, and I can set its value later, but I can't seem to get the above effect. | codedom | .net | null | null | null | null | open | Using .NET CodeDOM to declare and initialize a field in one statement
===
I want to use CodeDOM to both declare and initialize my static field in one statement. How can I do this?
// for example
public static int MyField = 5;
I can seem to figure out how to declare a static field, and I can set its v... | 0 |
29,539 | 08/27/2008 04:48:50 | 422 | 08/05/2008 15:11:55 | 423 | 28 | Ruby - Exit Message | Since I got a quick response on the last Ruby [question][1] I asked, I have another one that's been bothering me. Is there a one line function call that quits the program and displays a message? I know in Perl its as simple as this:
die("Message goes here")
Essentially I'm just tired of typing this:
pu... | ruby | null | null | null | null | null | open | Ruby - Exit Message
===
Since I got a quick response on the last Ruby [question][1] I asked, I have another one that's been bothering me. Is there a one line function call that quits the program and displays a message? I know in Perl its as simple as this:
die("Message goes here")
Essentially I'm just tired ... | 0 |
29,555 | 08/27/2008 04:59:23 | 3,006 | 08/26/2008 11:39:18 | 55 | 0 | GUI toolkit for rapid development? | I want to write the front end to the application written in c/c++.
I use solaris 10 and plan to port app to other architectures also(Windows first). | gui | null | null | null | null | null | open | GUI toolkit for rapid development?
===
I want to write the front end to the application written in c/c++.
I use solaris 10 and plan to port app to other architectures also(Windows first). | 0 |
29,557 | 08/27/2008 05:01:30 | 1,644 | 08/17/2008 18:23:42 | 356 | 23 | How to Ease TDD with MSTest / VS2008 | I've read time and time again that TDD/test first is more difficult with MSTest than it is with other testing frameworks such as nUnit, MBUnit, etc... What are some suggested manual workarounds and/or 3rd party bits that you suggest when MSTest is the only option due to infrastructure policy? I'm mainly wondering about... | vs2008 | tdd | mstest | null | null | null | open | How to Ease TDD with MSTest / VS2008
===
I've read time and time again that TDD/test first is more difficult with MSTest than it is with other testing frameworks such as nUnit, MBUnit, etc... What are some suggested manual workarounds and/or 3rd party bits that you suggest when MSTest is the only option due to infrast... | 0 |
29,558 | 08/27/2008 05:02:33 | 276 | 08/04/2008 10:44:14 | 95 | 9 | Split data access class into reader and writer or combine them? | This might be on the "discussy" side, but I would really like to hear your view on this.
Previously I have often written data access classes that handled both reading and writing, which often led to poor naming, like FooIoHandler etc. The rule of thumb that classes that are hard to name probably are poorly designed ... | oop | reader | writer | classdesign | null | null | open | Split data access class into reader and writer or combine them?
===
This might be on the "discussy" side, but I would really like to hear your view on this.
Previously I have often written data access classes that handled both reading and writing, which often led to poor naming, like FooIoHandler etc. The rule of t... | 0 |
29,562 | 08/27/2008 05:03:07 | 2,908 | 08/25/2008 21:46:25 | 84 | 9 | Python distutils - does anyone know how to use it? | I wrote a quick program in python to add a gtk GUI to a cli program. I was wondering how I can create an installer using distutils. Since it's just a GUI frontend for a command line app it only works in *nix anyway so I'm not worried about it being cross platform.
my main goal is to create a .deb package for debian/... | python | installer | linux | distutils | null | null | open | Python distutils - does anyone know how to use it?
===
I wrote a quick program in python to add a gtk GUI to a cli program. I was wondering how I can create an installer using distutils. Since it's just a GUI frontend for a command line app it only works in *nix anyway so I'm not worried about it being cross platform.... | 0 |
29,578 | 08/27/2008 05:16:26 | 2,908 | 08/25/2008 21:46:25 | 89 | 9 | Python projects to hone your skills | Is there a place with little coding projects you can do to hone your skills? Preferably with answers to compare your code to and/or look at if you can't figure it out.
a good example of such a site is <http://www.hackthissite.org>, which has little web security tutorials to help you learn about vulnerabilities and w... | python | tutorials | development-practice | null | null | 12/10/2011 05:59:42 | not constructive | Python projects to hone your skills
===
Is there a place with little coding projects you can do to hone your skills? Preferably with answers to compare your code to and/or look at if you can't figure it out.
a good example of such a site is <http://www.hackthissite.org>, which has little web security tutorials to h... | 4 |
29,580 | 08/27/2008 05:21:23 | 2,293 | 08/21/2008 14:02:56 | 105 | 8 | Why is pagination so resource-expensive? | It's one of those things that seems to have an odd curve where the more I think about it, the more it makes sense. To a certain extent, of course. And then it doesn't make sense to me at all.
Care to enlighten me? | pagination | null | null | null | null | null | open | Why is pagination so resource-expensive?
===
It's one of those things that seems to have an odd curve where the more I think about it, the more it makes sense. To a certain extent, of course. And then it doesn't make sense to me at all.
Care to enlighten me? | 0 |
29,593 | 08/27/2008 05:35:58 | 2,375 | 08/21/2008 22:37:01 | 1 | 0 | What does ServerVariables["APPL_MD_PATH"] retreives the metabase path for the Application for the ISAPI DLL mean? | I've trying to get an ASP.net (v2) app to work in the debugger and keep running into a problem because the value returned by HttpContext.Current.Request.ServerVariables["APPL_MD_PATH"].ToLower() is an empty string.
I have found out that this "Retrieves the metabase path for the Application for the ISAPI DLL". Can a... | .net | asp.net | .net-2.0 | debugging | visual-studio | null | open | What does ServerVariables["APPL_MD_PATH"] retreives the metabase path for the Application for the ISAPI DLL mean?
===
I've trying to get an ASP.net (v2) app to work in the debugger and keep running into a problem because the value returned by HttpContext.Current.Request.ServerVariables["APPL_MD_PATH"].ToLower() is an ... | 0 |
29,615 | 08/27/2008 06:11:03 | 163 | 08/02/2008 20:40:09 | 369 | 17 | Get current process cpu usage in C | On Windows I can do:
HANDLE hProcess = GetCurrentProcess();
FILETIME ftCreation, ftExit, ftKernel, ftUser;
GetProcessTimes(hProcess, &ftCreation, &ftExit, &ftKernel, &ftUser);
SYSTEMTIME stKernel;
FileTimeToSystemTime(&ftKernel, &stKernel);
SYSTEMTIME stUser;
FileTimeToSyste... | c | crossplatform | process-management | null | null | null | open | Get current process cpu usage in C
===
On Windows I can do:
HANDLE hProcess = GetCurrentProcess();
FILETIME ftCreation, ftExit, ftKernel, ftUser;
GetProcessTimes(hProcess, &ftCreation, &ftExit, &ftKernel, &ftUser);
SYSTEMTIME stKernel;
FileTimeToSystemTime(&ftKernel, &stKernel);
... | 0 |
29,621 | 08/27/2008 06:17:47 | 163 | 08/02/2008 20:40:09 | 369 | 17 | Change own process priority in C | On Windows I can do:
HANDLE hCurrentProcess = GetCurrentProcess();
SetPriorityClass(hCurrentProcess, ABOVE_NORMAL_PRIORITY_CLASS);
How can I do the same thing on *nix? | c | crossplatform | process-management | null | null | null | open | Change own process priority in C
===
On Windows I can do:
HANDLE hCurrentProcess = GetCurrentProcess();
SetPriorityClass(hCurrentProcess, ABOVE_NORMAL_PRIORITY_CLASS);
How can I do the same thing on *nix? | 0 |
29,624 | 08/27/2008 06:27:51 | 1,376 | 08/14/2008 22:26:57 | 1 | 1 | How to Maintain Correct Javascript Event After Using cloneNode(true) | I have a form element that contains multiple lines of inputs. Think of each line as attributes of a new object that I want to create in my web application. And, I want to be able to create multiple new objects in one HTTP POST. I'm using Javascript's built-in cloneNode(true) method to clone each line. The problem is ... | prototype | javascript | clonenode | dom | events | null | open | How to Maintain Correct Javascript Event After Using cloneNode(true)
===
I have a form element that contains multiple lines of inputs. Think of each line as attributes of a new object that I want to create in my web application. And, I want to be able to create multiple new objects in one HTTP POST. I'm using Javas... | 0 |
29,626 | 08/27/2008 06:36:17 | 961 | 08/11/2008 07:02:46 | 123 | 8 | Cannot access a disposed object - How to fix? | In a VB.NET WinForms project I get an exception "Cannot access a disposed object" when closing a form. It occurs very rarely and I cannot recreate it on demand. The stack trace looks like this: <br><br>`Cannot access a disposed object. Object name: 'dbiSchedule'. at System.Windows.Forms.Control.CreateHandle() at Syste... | .net | winforms | vb.net | null | null | null | open | Cannot access a disposed object - How to fix?
===
In a VB.NET WinForms project I get an exception "Cannot access a disposed object" when closing a form. It occurs very rarely and I cannot recreate it on demand. The stack trace looks like this: <br><br>`Cannot access a disposed object. Object name: 'dbiSchedule'. at S... | 0 |
29,630 | 08/27/2008 06:40:13 | 2,665 | 08/24/2008 06:43:24 | 1 | 3 | What is the best way to package and distribute an Excel application. | I've writen an Excel-based, database reporting tool. Currentely, all the VBA code is associated with a single XLS file. The user generates the report by clicking a button on the toolbar. Unfortunately, unless the user has saved the file under another file name, all the reported data gets wiped-out.
When I have creat... | excel | vba | office | 2003 | null | null | open | What is the best way to package and distribute an Excel application.
===
I've writen an Excel-based, database reporting tool. Currentely, all the VBA code is associated with a single XLS file. The user generates the report by clicking a button on the toolbar. Unfortunately, unless the user has saved the file under ano... | 0 |
29,633 | 08/27/2008 06:43:43 | 2,976 | 08/26/2008 09:42:25 | 70 | 8 | What is the important aspect of creating online communities? | What features do you think can help foster creating an online community.
From my own observataion i think what is needed:
1. community involvement
(let people contribute to the community by giving them control on the community, for example able to vote stuff up/down)
2. low entry barrier
(for example, sta... | online-community | null | null | null | null | null | open | What is the important aspect of creating online communities?
===
What features do you think can help foster creating an online community.
From my own observataion i think what is needed:
1. community involvement
(let people contribute to the community by giving them control on the community, for example able ... | 0 |
29,643 | 08/27/2008 06:58:51 | 380 | 08/05/2008 10:39:18 | 1,753 | 173 | Which is a better approach in logging - files or DB? | Okay, here's the scenario. I have a utility that processes tons of records, and enters information to the Database accordingly.
It works on these records in multi-threaded batches. Each such batch writes to the same log file for creating a workflow trace for each record. Potentially, we could be making close to a mi... | multithreading | logging | null | null | null | null | open | Which is a better approach in logging - files or DB?
===
Okay, here's the scenario. I have a utility that processes tons of records, and enters information to the Database accordingly.
It works on these records in multi-threaded batches. Each such batch writes to the same log file for creating a workflow trace for ... | 0 |
29,645 | 08/27/2008 07:00:43 | 51 | 08/01/2008 13:31:13 | 1,703 | 76 | Set up Powershell Script for Automatic Execution | I have a few lines of PowerShell code that I would like to use as an automated script. The way I would like it to be able to work is to be able to call it using one of the following options:
1. One command line that opens PowerShell, executes script and closes PowerShell (this would be used for a global build-rout... | powershell | scripting | command-line | null | null | null | open | Set up Powershell Script for Automatic Execution
===
I have a few lines of PowerShell code that I would like to use as an automated script. The way I would like it to be able to work is to be able to call it using one of the following options:
1. One command line that opens PowerShell, executes script and closes ... | 0 |
29,647 | 08/27/2008 07:05:07 | 432 | 08/05/2008 17:18:46 | 900 | 41 | How do you get the filename of a tempfile to use in Linux? | Let's say I'm creating a program in C that needs to use a tempfile. Creating an ad hoc tempfile in /tmp is probably not a good idea. Is there a function or OS call to supply me with a tempfile name so that I can begin to write and read from it? | tempfile | linux | c | null | null | null | open | How do you get the filename of a tempfile to use in Linux?
===
Let's say I'm creating a program in C that needs to use a tempfile. Creating an ad hoc tempfile in /tmp is probably not a good idea. Is there a function or OS call to supply me with a tempfile name so that I can begin to write and read from it? | 0 |
29,654 | 08/27/2008 07:11:46 | 2,660 | 08/24/2008 02:59:34 | 1 | 0 | WinForms databinding and foreign key relationships | I'm developing a WinForms application (.Net 3.5, no WPF) where I want to be able to display foreign key lookups in a databound datagridview.
An example of the sort of relationship is that I have a table of orderlines. Orderslines have a foreign key relationship to Products and Products in turn have a foreign key r... | c# | .net | winforms | null | null | null | open | WinForms databinding and foreign key relationships
===
I'm developing a WinForms application (.Net 3.5, no WPF) where I want to be able to display foreign key lookups in a databound datagridview.
An example of the sort of relationship is that I have a table of orderlines. Orderslines have a foreign key relationsh... | 0 |
29,664 | 08/27/2008 07:18:54 | 2,231 | 08/21/2008 03:29:46 | 1 | 0 | How to catch SQLServer timeout exceptions | I need to specifically catch SQL server timeout exceptions so that they can be handled differently. I know I could catch the SqlException and then check if the message string Contains "Timeout" but was wondering if there is a better way to do it?
try
{
//some code
}
catch (SqlException e... | c# | .net | sql-server | error-handling | null | null | open | How to catch SQLServer timeout exceptions
===
I need to specifically catch SQL server timeout exceptions so that they can be handled differently. I know I could catch the SqlException and then check if the message string Contains "Timeout" but was wondering if there is a better way to do it?
try
{
... | 0 |
29,665 | 08/27/2008 07:20:38 | 3,175 | 08/27/2008 06:54:20 | 1 | 0 | Free Wavetable Synthesizer? | I need to implement a [wavetable synthesizer][1] in an ARM Cortex-M3 core. I'm looking for any code or tools to help me get started.
I'm aware of [this AVR implementation][2]. I actually converted it to a PIC a while back. Now I am looking for something similar, but a little better sounding.
ANSI C code would be ... | audio | microcontroller | arm | synth | null | null | open | Free Wavetable Synthesizer?
===
I need to implement a [wavetable synthesizer][1] in an ARM Cortex-M3 core. I'm looking for any code or tools to help me get started.
I'm aware of [this AVR implementation][2]. I actually converted it to a PIC a while back. Now I am looking for something similar, but a little better s... | 0 |
29,668 | 08/27/2008 07:21:35 | 501 | 08/06/2008 12:11:33 | 227 | 11 | Remote debugging accross domains | I have two machines in two different domanins. On both I have VS 2005 installed. I want remote debug between them. Without autentication it is possible but I want to debug managed code. I don't want to debug directly since it is really crappy machine.
When I try to attach wiht debugger I get message "The trust relat... | vs2005 | remote | debugging | null | null | null | open | Remote debugging accross domains
===
I have two machines in two different domanins. On both I have VS 2005 installed. I want remote debug between them. Without autentication it is possible but I want to debug managed code. I don't want to debug directly since it is really crappy machine.
When I try to attach wiht d... | 0 |
29,677 | 08/27/2008 07:38:06 | 381 | 08/05/2008 10:39:26 | 1,373 | 26 | How do I make the manifest of a .net assembly private ? | What should I do if I want to release a .net assembly but wish to keep its internals detailed in the manifest private (from a utility such as ildasm.exe) ? | .net | security | null | null | null | null | open | How do I make the manifest of a .net assembly private ?
===
What should I do if I want to release a .net assembly but wish to keep its internals detailed in the manifest private (from a utility such as ildasm.exe) ? | 0 |
29,678 | 08/27/2008 07:38:29 | 298 | 08/04/2008 13:29:28 | 168 | 6 | How to aggregate data from SQL Server 2005 | I have about 150 000 rows of data written to a database everyday. These row represent outgoing articles for example. Now I need to **show a graph using [SSRS][1] that show the average number of articles per day over time**. **I also need to have a information about the actual number of articles from yesterday**.
The... | sql-server | ssas | reporting-services | null | null | null | open | How to aggregate data from SQL Server 2005
===
I have about 150 000 rows of data written to a database everyday. These row represent outgoing articles for example. Now I need to **show a graph using [SSRS][1] that show the average number of articles per day over time**. **I also need to have a information about the ac... | 0 |
29,680 | 08/27/2008 07:40:01 | 830 | 08/09/2008 06:32:11 | 1 | 0 | Suppress NTLM dialog box after unauthorized request | In a recent sharepoint project, I implemented an authentication webpart which should replace the NTLM authentication dialog box. It works fine as long as the user provides valid credentials. Whenever the user provides invalid credentials, the NTLM dialog box pops up in Internet Explorer.
My javscript code which does... | asp.net | javascript | sharepoint | null | null | null | open | Suppress NTLM dialog box after unauthorized request
===
In a recent sharepoint project, I implemented an authentication webpart which should replace the NTLM authentication dialog box. It works fine as long as the user provides valid credentials. Whenever the user provides invalid credentials, the NTLM dialog box pops... | 0 |
29,686 | 08/27/2008 07:50:05 | 91 | 08/01/2008 17:55:22 | 5,385 | 232 | Set ASP.net executionTimeout in code / "refresh" request | i'll have an ASP.net page that creates some Excel Sheets and sends them to the user. The problem is, sometimes I get Http timeouts, presumably because the Request runs longer than executionTimeout (110 Seconds per default).
I just wonder what my options are to prevent this, without wanting to generally increase the ... | c# | asp.net | null | null | null | null | open | Set ASP.net executionTimeout in code / "refresh" request
===
i'll have an ASP.net page that creates some Excel Sheets and sends them to the user. The problem is, sometimes I get Http timeouts, presumably because the Request runs longer than executionTimeout (110 Seconds per default).
I just wonder what my options a... | 0 |
29,689 | 08/27/2008 07:55:06 | 2,937 | 08/26/2008 08:25:36 | 11 | 3 | Javadoc template generator | I have a large codebase without javadoc and I want to run a program to write a skeleton with the basic javadoc information (e.g. for each method's parameter write @param...) so I just have to fill the gaps left.
Somebody knows a good solution for this? | java | javadoc | documentation | generation | null | null | open | Javadoc template generator
===
I have a large codebase without javadoc and I want to run a program to write a skeleton with the basic javadoc information (e.g. for each method's parameter write @param...) so I just have to fill the gaps left.
Somebody knows a good solution for this? | 0 |
29,694 | 08/27/2008 07:57:16 | 2,077 | 08/20/2008 07:26:21 | 148 | 3 | How to work around unsupported unsigned integer field types in MS SQL? | Trying to make a MySQL-based application support MS SQL, I ran into the following issue:
I keep MySQL's auto_increment as unsigned integer fields (of the appropriate size) in order to make use of the full range, as I know there will never be negative values. MS SQL does not support the unsigned attribute on all inte... | db-portability | mssql | null | null | null | null | open | How to work around unsupported unsigned integer field types in MS SQL?
===
Trying to make a MySQL-based application support MS SQL, I ran into the following issue:
I keep MySQL's auto_increment as unsigned integer fields (of the appropriate size) in order to make use of the full range, as I know there will never be... | 0 |
29,696 | 08/27/2008 07:59:21 | 2,253 | 08/21/2008 10:34:11 | 1 | 0 | How do you stop the Designer generating code for public properties on a User Control? | How do you stop the designer from auto generating code that sets the value for public properties on a user control?
| c# | winforms | null | null | null | null | open | How do you stop the Designer generating code for public properties on a User Control?
===
How do you stop the designer from auto generating code that sets the value for public properties on a user control?
| 0 |
29,699 | 08/27/2008 08:01:04 | 445 | 08/05/2008 19:37:25 | 115 | 6 | How do I deal with quotes ' in SQL | I have a database with names in it such as John Doe etc. Unfortunately some of these names contain quotes like Keiran O'Keefe. Now when I try and search for such names as follows:
SELECT * FROM PEOPLE WHERE SURNAME='O'Keefe'
I (understandably) get an error.
How do I prevent this error from occurring. I am using ... | sql | oracle | null | null | null | null | open | How do I deal with quotes ' in SQL
===
I have a database with names in it such as John Doe etc. Unfortunately some of these names contain quotes like Keiran O'Keefe. Now when I try and search for such names as follows:
SELECT * FROM PEOPLE WHERE SURNAME='O'Keefe'
I (understandably) get an error.
How do I preven... | 0 |
29,700 | 08/27/2008 08:01:42 | 2,976 | 08/26/2008 09:42:25 | 70 | 8 | Can someone point me to some guides for WPF | I am having trouble finding good guides for WPF.
I have experience in C# and .NET but I don't know anything about WPF except for the regular marketing-ish description of the technology as a whole.
Can anyone point me to a good beginner's tutorial/guide on WPF. | wpf | tutorials | null | null | null | null | open | Can someone point me to some guides for WPF
===
I am having trouble finding good guides for WPF.
I have experience in C# and .NET but I don't know anything about WPF except for the regular marketing-ish description of the technology as a whole.
Can anyone point me to a good beginner's tutorial/guide on WPF. | 0 |
29,709 | 08/27/2008 08:05:37 | 238 | 08/03/2008 21:42:37 | 1,138 | 48 | How do I get the coordinates of the caret in text boxes? | I am using jQuery and trying to find a cross browser way to get the coordinates of the caret in text areas and input boxes such that I can place an absolutely positioned div around this location ?
Is there some jQuery plugin? or javascript snippet to do just that ? | javascript | cross-browser | null | null | null | null | open | How do I get the coordinates of the caret in text boxes?
===
I am using jQuery and trying to find a cross browser way to get the coordinates of the caret in text areas and input boxes such that I can place an absolutely positioned div around this location ?
Is there some jQuery plugin? or javascript snippet to do j... | 0 |
29,731 | 08/27/2008 08:22:55 | 2,253 | 08/21/2008 10:34:11 | 1 | 1 | What is the best way to sort a data bound combo box? | I have done a bit of research into this and it seems that the only way to sort a data bound combo box is to sort the data source itself (a DataTable in a DataSet in this case).
If that is the case then the question becomes what is the best way to sort a DataTable? | c# | data-binding | null | null | null | null | open | What is the best way to sort a data bound combo box?
===
I have done a bit of research into this and it seems that the only way to sort a data bound combo box is to sort the data source itself (a DataTable in a DataSet in this case).
If that is the case then the question becomes what is the best way to sort a Dat... | 0 |
29,733 | 08/27/2008 08:24:42 | 1,968 | 08/19/2008 15:59:21 | 1,351 | 115 | Trackback/Pingback libraries for Python/Ruby? | I'm considering writing my own blog but I have had some issues deciding for an appropriate software. From my survey so far I have concluded that the easiest, most feature-rich, free software is [Wordpress][wordpress]. However, I would very much like to use several components written in either Python or Ruby, e.g. eithe... | python | ruby | blogs | null | null | null | open | Trackback/Pingback libraries for Python/Ruby?
===
I'm considering writing my own blog but I have had some issues deciding for an appropriate software. From my survey so far I have concluded that the easiest, most feature-rich, free software is [Wordpress][wordpress]. However, I would very much like to use several comp... | 0 |
29,734 | 08/27/2008 08:25:05 | 959 | 08/11/2008 05:23:02 | 33 | 7 | Why stateless session beans are single threaded ? | As per my understanding stateless session beans are used to code the business logic. They can not store data in their instance variables because their instance is shared by multiple requests. So they seem to be more like Singleton classes. However the difference is contain creates (or reuses from pool) the separate ins... | java | ejb | null | null | null | null | open | Why stateless session beans are single threaded ?
===
As per my understanding stateless session beans are used to code the business logic. They can not store data in their instance variables because their instance is shared by multiple requests. So they seem to be more like Singleton classes. However the difference is... | 0 |
29,736 | 08/27/2008 08:26:05 | 116 | 08/02/2008 05:51:57 | 4,189 | 209 | What open source code repository should I use? | Sourceforge, Google Code, etc...
- what else is out there?
- which ones do you use?
- what are their pros and cons?
- how's your experience with them?
- which would you recommend for a new project?
etc... | repositories | open-source | version-control | bug-tracking | null | 02/05/2012 17:06:54 | not constructive | What open source code repository should I use?
===
Sourceforge, Google Code, etc...
- what else is out there?
- which ones do you use?
- what are their pros and cons?
- how's your experience with them?
- which would you recommend for a new project?
etc... | 4 |
29,743 | 08/27/2008 08:33:18 | 116 | 08/02/2008 05:51:57 | 4,194 | 209 | How to select an SQL database? | We're living in a golden age of databases, with numerous high quality commercial and free databases. This is great, but the downside is there's not a simple obvious choice for someone who needs a database for his next project.
- What are the constraints/criteria you use for selecting a database?
- How well do the ... | sql | database | evaluation | null | null | null | open | How to select an SQL database?
===
We're living in a golden age of databases, with numerous high quality commercial and free databases. This is great, but the downside is there's not a simple obvious choice for someone who needs a database for his next project.
- What are the constraints/criteria you use for selec... | 0 |
29,744 | 08/27/2008 08:36:37 | 116 | 08/02/2008 05:51:57 | 4,199 | 209 | How do you manage schema upgrades to a production database? | This seems to be an overlooked area that could really use some insight. What are your best practices for:
- making an upgrade procedure
- backing out in case of errors
- syncing code and database changes
- testing prior to deployment
- mechanics of modifying the table
etc... | database | administration | installation | null | null | null | open | How do you manage schema upgrades to a production database?
===
This seems to be an overlooked area that could really use some insight. What are your best practices for:
- making an upgrade procedure
- backing out in case of errors
- syncing code and database changes
- testing prior to deployment
- mechanics o... | 0 |
29,746 | 08/27/2008 08:40:50 | 115 | 08/02/2008 05:44:40 | 349 | 54 | Directory Sizes on Remote Host | My hosting company does not provide an interface for me to see which folders are consuming the most ammount of space so what I'm looking for is something that will show me the size of each folder within my main folder recursively, I done know of anything on the net, and did a few searches however I came up with no resu... | php | cgi | hosting | directory-size | null | null | open | Directory Sizes on Remote Host
===
My hosting company does not provide an interface for me to see which folders are consuming the most ammount of space so what I'm looking for is something that will show me the size of each folder within my main folder recursively, I done know of anything on the net, and did a few sea... | 0 |
29,751 | 08/27/2008 08:44:24 | 2,138 | 08/20/2008 14:23:45 | 13 | 1 | Problems while submitting a UTF-8 form textarea with JQuery/AJAX | I am having problems submitting forms which contain UTF-8 strings with Ajax. I am developing a Struts web application which runs in a tomcat server. This is the environment i set up to work with UTF-8:
- I have added to tomcat's **conf/server.xml** the attributes **URIEncoding="UTF-8" useBodyEncodingForURI="true"** ... | ajax | jquery | encoding | null | null | null | open | Problems while submitting a UTF-8 form textarea with JQuery/AJAX
===
I am having problems submitting forms which contain UTF-8 strings with Ajax. I am developing a Struts web application which runs in a tomcat server. This is the environment i set up to work with UTF-8:
- I have added to tomcat's **conf/server.xml*... | 0 |
29,760 | 08/27/2008 08:52:35 | 592 | 08/07/2008 00:51:32 | 91 | 6 | stopping MSI from launching an EXE in the SYSTEM context | Ok,
I've got a problem here with an MSI deployment that I'm working on (using Installshield)
we have a program running in the background that needs to run per-user, this needs to start automatically without user intervention.
The problem is with GPO/AD deployment the application is started in the SYSTEM context ... | msi | installer | windows-installer | installshield | installation | null | open | stopping MSI from launching an EXE in the SYSTEM context
===
Ok,
I've got a problem here with an MSI deployment that I'm working on (using Installshield)
we have a program running in the background that needs to run per-user, this needs to start automatically without user intervention.
The problem is with GPO/A... | 0 |
29,761 | 08/27/2008 08:54:50 | 2,954 | 08/26/2008 08:53:06 | 68 | 10 | Good Git repository viewer for Mac | Can anyone recommend a good repository viewer for Git, similar to gitk, that works on Mac OS X Leopard? (I'm not saying gitk doesn't work)
Of course I would like a native Mac application, but as I haven't found any, what are the best options to gitk?
I know about gitview, but I'm looking forward to evaluate as ma... | git | osx | null | null | null | null | open | Good Git repository viewer for Mac
===
Can anyone recommend a good repository viewer for Git, similar to gitk, that works on Mac OS X Leopard? (I'm not saying gitk doesn't work)
Of course I would like a native Mac application, but as I haven't found any, what are the best options to gitk?
I know about gitview, b... | 0 |
29,775 | 08/27/2008 09:20:22 | 2,374 | 08/21/2008 22:14:30 | 88 | 8 | Software Deployment in a Virtual Environment | I'm looking for a way to give out preview or demo versions of our software to our customers as easy as possible.
The software we are currently developing is a pretty big project. It consists of a client environment, an application server, various databases, web services host etc.
The project is developed incrementa... | deployment | configuration | null | null | null | null | open | Software Deployment in a Virtual Environment
===
I'm looking for a way to give out preview or demo versions of our software to our customers as easy as possible.
The software we are currently developing is a pretty big project. It consists of a client environment, an application server, various databases, web serv... | 0 |
29,777 | 08/27/2008 09:21:34 | 1,068 | 08/12/2008 08:44:09 | -9 | 3 | Visual Studio 2005 Project options | I have a solution in Visual Studio 2005(professional Edition) which in turn has 8 projects.I am facing a problem that even after i set the Command Arguments in the Project settings of the relevant project, it doesnt accept those command line arguments and it shows argc = 1, inspite of me giving more than 1 command argu... | visual-studio-2005 | null | null | null | null | null | open | Visual Studio 2005 Project options
===
I have a solution in Visual Studio 2005(professional Edition) which in turn has 8 projects.I am facing a problem that even after i set the Command Arguments in the Project settings of the relevant project, it doesnt accept those command line arguments and it shows argc = 1, inspi... | 0 |
29,782 | 08/27/2008 09:25:45 | 2,758 | 08/24/2008 22:12:45 | 120 | 9 | Default Routes | I use my mobile phone for connection to the internet on my laptop, I also have a wired connection to a LAN which doesn't have internet conectivity, it just has our TFS server on it.
The problem is that I can't use the internet (from the phone) with the LAN cable plugged in. Is there a way to set the default route to... | networking | tcp | null | null | null | null | open | Default Routes
===
I use my mobile phone for connection to the internet on my laptop, I also have a wired connection to a LAN which doesn't have internet conectivity, it just has our TFS server on it.
The problem is that I can't use the internet (from the phone) with the LAN cable plugged in. Is there a way to set ... | 0 |
29,802 | 08/27/2008 09:38:37 | 1,116 | 08/12/2008 13:25:41 | 463 | 38 | How do you do version a Web Application? | What are the strategies for versioning of a web application/ web site? I notice that here in the Beta there is an svn revision number in the footer and thats great for an application that uses svn over one repository. But what if you use externals or a different source control application that versions separate files? ... | versioning | version-control | null | null | null | null | open | How do you do version a Web Application?
===
What are the strategies for versioning of a web application/ web site? I notice that here in the Beta there is an svn revision number in the footer and thats great for an application that uses svn over one repository. But what if you use externals or a different source cont... | 0 |
29,806 | 08/27/2008 09:40:00 | 982 | 08/11/2008 12:08:33 | 88 | 12 | How to change Instantiated Objects Font Colour in Visual Studio | I know the colours are changed in Environment > Fonts and Colors but I haven't found out which Display Item the object is.
Can someone please tell how I can colour the following code:
> lblMessage.Text = "You have successfully answered my question!"
I have the string coloured pink, I would like the lblMessage ... | colours | visual-studio-2005 | environment | null | null | null | open | How to change Instantiated Objects Font Colour in Visual Studio
===
I know the colours are changed in Environment > Fonts and Colors but I haven't found out which Display Item the object is.
Can someone please tell how I can colour the following code:
> lblMessage.Text = "You have successfully answered my questi... | 0 |
29,810 | 08/27/2008 09:42:59 | 1,261 | 08/14/2008 01:09:20 | 19 | 3 | Is version control (ie. Subversion) applicable in document tracking? | I am in charge of about 100+ documents (word document, not source code) that needs revision by different people in my department. Currently all the documents are in a shared folder where they will retrieve, revise and save back into the folder.
What I am doing now is looking up the "date modified" in the shared fol... | version-control | tracking | null | null | null | null | open | Is version control (ie. Subversion) applicable in document tracking?
===
I am in charge of about 100+ documents (word document, not source code) that needs revision by different people in my department. Currently all the documents are in a shared folder where they will retrieve, revise and save back into the folder. ... | 0 |
29,814 | 08/27/2008 09:44:06 | 1,893 | 08/19/2008 07:03:51 | 1 | 1 | How to do crossdomain calls from Silverlight? | What's needed to succesfully make a crossdomain call from Silverlight? | silverlight | null | null | null | null | null | open | How to do crossdomain calls from Silverlight?
===
What's needed to succesfully make a crossdomain call from Silverlight? | 0 |
29,820 | 08/27/2008 09:48:00 | 142 | 08/02/2008 12:41:43 | 128 | 10 | Java return copy | In Java, say you have a class that wraps an ArrayList (or any collection) of objects. How would you return one of those objects such that the caller will not see any future changes to the object made in the ArrayList? i.e. you want to return a deep copy of the object, but you don't know if it is cloneable. | java | null | null | null | null | null | open | Java return copy
===
In Java, say you have a class that wraps an ArrayList (or any collection) of objects. How would you return one of those objects such that the caller will not see any future changes to the object made in the ArrayList? i.e. you want to return a deep copy of the object, but you don't know if it is c... | 0 |
29,821 | 08/27/2008 09:49:08 | 2,594 | 08/23/2008 12:42:57 | 53 | 9 | A Good, Scalable Webhost For PHP | I'm currently in the process of looking for a webhost for PHP that is feature rich (cheap is not a priority here), has excellent technical support and can scale along with the website.
Essentially, is there anything like [Engine Yard][1] for PHP?
[1]: http://www.engineyard.com "Engine Yard" | php | web-hosting | web-host | null | null | 11/10/2011 07:57:03 | off topic | A Good, Scalable Webhost For PHP
===
I'm currently in the process of looking for a webhost for PHP that is feature rich (cheap is not a priority here), has excellent technical support and can scale along with the website.
Essentially, is there anything like [Engine Yard][1] for PHP?
[1]: http://www.engineyar... | 2 |
29,838 | 08/27/2008 10:02:57 | 1,178 | 08/13/2008 11:15:35 | 123 | 13 | Visual Source Safe --> TFS Migration | Around here we're working with a bunch of Visual Source Safe repositories since something like... well, 10 years or so. Yes, yes, I know... we are crazy :-)
Well, actually we did not have any big problem with this situation, but now I want to get rid of sourcesafe and move on to **TFS**.
Have you any hint on th... | version-control | tfs | migration | visual-sourcesafe | null | null | open | Visual Source Safe --> TFS Migration
===
Around here we're working with a bunch of Visual Source Safe repositories since something like... well, 10 years or so. Yes, yes, I know... we are crazy :-)
Well, actually we did not have any big problem with this situation, but now I want to get rid of sourcesafe and move... | 0 |
29,841 | 08/27/2008 10:05:02 | 1,039 | 08/11/2008 17:51:44 | 38 | 2 | Thread not waking up from Thread.Sleep() | We have a Windows Service written in C#. The service spawns a thread that does this:
private void ThreadWorkerFunction()
{
while(false == _stop) // stop flag set by other thread
{
try
{
openConnection();
doStuff();
closeConnection();
... | .net | multithreading | null | null | null | null | open | Thread not waking up from Thread.Sleep()
===
We have a Windows Service written in C#. The service spawns a thread that does this:
private void ThreadWorkerFunction()
{
while(false == _stop) // stop flag set by other thread
{
try
{
openConnection();
d... | 0 |
29,845 | 08/27/2008 10:12:08 | 1,090 | 08/12/2008 11:16:17 | 1 | 0 | Dynamic reference to resource files in C# | I have an application on which I am implementing localization.
I now need to dynamically reference a name in the resouce file.
assume I have a resource file called Login.resx, an a number of strings: foo="hello", bar="cruel" and baz="world"
normally, I will refer as:
String result =Login.foo;
and result=="h... | c# | localization | null | null | null | null | open | Dynamic reference to resource files in C#
===
I have an application on which I am implementing localization.
I now need to dynamically reference a name in the resouce file.
assume I have a resource file called Login.resx, an a number of strings: foo="hello", bar="cruel" and baz="world"
normally, I will refer ... | 0 |
29,847 | 08/27/2008 10:13:16 | 1,075 | 08/12/2008 10:13:30 | 961 | 67 | Get last item in a table - SQL | I have a History Table in SQL Server that basically tracks an item through a process. The item has some fixed fields that don't change throughout the process, but has a few other fields including status and Id which increment as the steps of the process increase.
Basically I want to retrieve the last step for each i... | sql | null | null | null | null | null | open | Get last item in a table - SQL
===
I have a History Table in SQL Server that basically tracks an item through a process. The item has some fixed fields that don't change throughout the process, but has a few other fields including status and Id which increment as the steps of the process increase.
Basically I want... | 0 |
29,855 | 08/27/2008 10:21:16 | 2,183 | 08/20/2008 19:42:13 | 203 | 7 | Is there a wxWidgets framework for C? | My understanding is that [wxWidgets][1] is for a number of programming languages (C++, Python, Perl, and C#/.NET) but that does not include C. Is there a similar framework for the C programming language, or is this not something that C is used for?
[1]: http://www.wxwidgets.org | c | gui | null | null | null | null | open | Is there a wxWidgets framework for C?
===
My understanding is that [wxWidgets][1] is for a number of programming languages (C++, Python, Perl, and C#/.NET) but that does not include C. Is there a similar framework for the C programming language, or is this not something that C is used for?
[1]: http://www.wxwid... | 0 |
29,856 | 08/27/2008 10:22:09 | 3,147 | 08/27/2008 01:00:22 | 16 | 3 | Install Python to match directory layout in OS X 10.5 | The default Python install on OS X 10.5 is 2.5.1 with a fat 32 bit (Intel and PPC) client. I want to setup apache and mysql to run django. In the past I have run apache and mysql to match this install in 32 bit mode (even stripping out the 64 bit stuff from apache to make it work).
I want to upgrade Python to 64 bit... | python | osx | 64bit | null | null | null | open | Install Python to match directory layout in OS X 10.5
===
The default Python install on OS X 10.5 is 2.5.1 with a fat 32 bit (Intel and PPC) client. I want to setup apache and mysql to run django. In the past I have run apache and mysql to match this install in 32 bit mode (even stripping out the 64 bit stuff from ap... | 0 |
29,868 | 08/27/2008 10:41:30 | 572 | 08/06/2008 20:56:54 | 1,761 | 158 | How important is it to choose and stick to a technology stack? | What I mean by that is saying "I'm going to use the Microsoft stack" and then sticking to IIS/MSSQL/ASP.NET/Silverlight. Now, it might not be the Microsoft technology stack. It could be a Linux/Apache/MySQL/PHP/JavaScript/Flash/Flex or Linux/Tomcat/PostgreSQL/Java/JavaScript.
How important is it to make the choice o... | technology-stack | null | null | null | null | null | open | How important is it to choose and stick to a technology stack?
===
What I mean by that is saying "I'm going to use the Microsoft stack" and then sticking to IIS/MSSQL/ASP.NET/Silverlight. Now, it might not be the Microsoft technology stack. It could be a Linux/Apache/MySQL/PHP/JavaScript/Flash/Flex or Linux/Tomcat/Pos... | 0 |
29,869 | 08/27/2008 10:41:44 | 274 | 08/04/2008 10:43:23 | 248 | 16 | Regex to match all HTML tags except <p> and </p> | I need to match and remove all tags using a regular expression in Perl. I have the following:
<\\??(?!p).+?>
But this still matches with the closing `</p>` tag. Any hint on how to match with the closing tag as well? | regex | regexp | perl | null | null | null | open | Regex to match all HTML tags except <p> and </p>
===
I need to match and remove all tags using a regular expression in Perl. I have the following:
<\\??(?!p).+?>
But this still matches with the closing `</p>` tag. Any hint on how to match with the closing tag as well? | 0 |
29,870 | 08/27/2008 10:43:53 | 1,384,652 | 08/01/2008 12:01:23 | 1,386 | 72 | How to bring in a web app | I run a game and the running is done by hand, I have a few scripts that help me but essentially it's me doing the work. I am at the moment working on web app that will allow the users to input directly some of their game actions and thus save me a lot of work.
The problem is that I'm one man working on a moderately ... | web-applications | beta | launching | null | null | null | open | How to bring in a web app
===
I run a game and the running is done by hand, I have a few scripts that help me but essentially it's me doing the work. I am at the moment working on web app that will allow the users to input directly some of their game actions and thus save me a lot of work.
The problem is that I'm o... | 0 |
29,882 | 08/27/2008 10:51:34 | 2,892 | 08/25/2008 19:39:36 | 6 | 0 | What would be a good, windows and iis (http) based distributed version control system | At my job we make & sell websites. Usually we install our .NET C# based site on a customer's server and maintain and support it remotely. However, every once in a while, for bigger development works and just to make things simpler (and faster!), we will copy the site to a local server.
This is great, but has one pai... | http | version-control | distributed | null | null | null | open | What would be a good, windows and iis (http) based distributed version control system
===
At my job we make & sell websites. Usually we install our .NET C# based site on a customer's server and maintain and support it remotely. However, every once in a while, for bigger development works and just to make things simple... | 0 |
29,883 | 08/27/2008 10:51:38 | 383 | 08/05/2008 10:46:37 | 2,046 | 191 | Printing DOM Changes | What I am trying to do is change the background colour of a table cell <td> and then when a user goes to print the page, the changes are now showing.
I am currently using an unobtrusive script to run the following command on a range of cells:
element.style.backgroundColor = "#f00"
This works on scree... | browsers | internetexplorer | firefox | null | null | null | open | Printing DOM Changes
===
What I am trying to do is change the background colour of a table cell <td> and then when a user goes to print the page, the changes are now showing.
I am currently using an unobtrusive script to run the following command on a range of cells:
element.style.backgroundColor = "#f... | 0 |
29,886 | 08/27/2008 10:53:22 | 373 | 08/05/2008 09:37:52 | 215 | 25 | How to keep the browser history in sync when using Ajax? | I'm writing a simple photo album app using ASP.NET Ajax.
The app uses async Ajax calls to pre-load the next photo in the album, without changing the URL in the browser.
The problem is that when the user clicks the **back** button in the browser, the app doesn't go back to the previous photo, instead, it navigates... | asp.net | web | ajax | null | null | null | open | How to keep the browser history in sync when using Ajax?
===
I'm writing a simple photo album app using ASP.NET Ajax.
The app uses async Ajax calls to pre-load the next photo in the album, without changing the URL in the browser.
The problem is that when the user clicks the **back** button in the browser, the ap... | 0 |
29,890 | 08/27/2008 10:54:29 | 3,186 | 08/27/2008 10:39:28 | 1 | 0 | How to get your own (local) IP-Address from an udp-socket (C/C++) |
1. You have multiple network adapters.
2. Bind a UDP socket to an local port, without specifying an address.
3. Receive packets on one of the adapters.
How do you get the ip address from the adapter which received the packet? | socket | c++ | udp | null | null | null | open | How to get your own (local) IP-Address from an udp-socket (C/C++)
===
1. You have multiple network adapters.
2. Bind a UDP socket to an local port, without specifying an address.
3. Receive packets on one of the adapters.
How do you get the ip address from the adapter which received the packet? | 0 |
29,925 | 08/27/2008 11:39:19 | 493 | 08/06/2008 10:25:05 | 2,361 | 156 | Building morale in the dev team | What are some of the day to day things you do in your dev team that help build your team's morale? | management | teamwork | team | null | null | 05/08/2012 17:51:17 | not constructive | Building morale in the dev team
===
What are some of the day to day things you do in your dev team that help build your team's morale? | 4 |
29,927 | 08/27/2008 11:42:05 | 1,755 | 08/18/2008 12:47:06 | 16 | 4 | vmware-cmd causes "perl.exe - Ordinal Not Found" error | My automated script for staring and stopping VMWare Server virtual machines has stopped working. vmware-cmd has started raising the error:
"The ordinal 3288 could not be located in the dynamic link library LIBEAY32.dll."
I am not aware of any specific change or update when this started happening.
I have foun... | vmware | null | null | null | null | null | open | vmware-cmd causes "perl.exe - Ordinal Not Found" error
===
My automated script for staring and stopping VMWare Server virtual machines has stopped working. vmware-cmd has started raising the error:
"The ordinal 3288 could not be located in the dynamic link library LIBEAY32.dll."
I am not aware of any specific ... | 0 |
29,943 | 08/27/2008 11:56:50 | 184 | 08/03/2008 05:34:19 | 890 | 10 | How to submit a form when the return key is pressed? | Can someone please tell me how to submit an HTML form when the return key is pressed and if there are no buttons in the form?
The submit button is not there. I am using a custom div instead of that.
| javascript | html | null | null | null | null | open | How to submit a form when the return key is pressed?
===
Can someone please tell me how to submit an HTML form when the return key is pressed and if there are no buttons in the form?
The submit button is not there. I am using a custom div instead of that.
| 0 |
29,971 | 08/27/2008 12:20:48 | 2,267 | 08/21/2008 12:23:14 | 1 | 1 | How is the best way to setup an integration testing server? | Setting up an integration server, I’m in doubts about the best approach regarding multiple tasks to complete the build. Is the best way set all in just one big-job or make small dependents ones?
| integration-testing | continuous-integration | null | null | null | null | open | How is the best way to setup an integration testing server?
===
Setting up an integration server, I’m in doubts about the best approach regarding multiple tasks to complete the build. Is the best way set all in just one big-job or make small dependents ones?
| 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.