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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
32,550 | 08/28/2008 15:17:00 | 383 | 08/05/2008 10:46:37 | 2,239 | 198 | Does ReadUncommitted imply NoLock | When writing a SQL statement in SQL Server 2005, does the READUNCOMMITTED query hint imply NOLOCK or do I have to specify it manually too?
So is:
With (NoLock, ReadUnCommitted)
the same as:
With (ReadUnCommitted) | sql-2005 | nolock | null | null | null | null | open | Does ReadUncommitted imply NoLock
===
When writing a SQL statement in SQL Server 2005, does the READUNCOMMITTED query hint imply NOLOCK or do I have to specify it manually too?
So is:
With (NoLock, ReadUnCommitted)
the same as:
With (ReadUnCommitted) | 0 |
32,570 | 08/28/2008 15:23:53 | 184 | 08/03/2008 05:34:19 | 1,061 | 16 | How to make 'pretty urls' work in php hosted in IIS? | Is there some way I can use urls like:
> http://www.blog.com/team-spirit/
instead of
> http://www.blog.com/?p=122
in a windows hosted php server?
| php | iis | null | null | null | null | open | How to make 'pretty urls' work in php hosted in IIS?
===
Is there some way I can use urls like:
> http://www.blog.com/team-spirit/
instead of
> http://www.blog.com/?p=122
in a windows hosted php server?
| 0 |
32,586 | 08/28/2008 15:26:46 | 1,471 | 08/15/2008 18:26:14 | 363 | 25 | How to discover a File's creation time with Java? | Is there an easy way to discover a File's creation time with Java? The File class only has a method to get the "last modified" time. According to some resources I found on Google, the File class doesn't provide a getCreationTime() method because not all file systems support the idea of a creation time.
The only wo... | java | file-io | windows | null | null | null | open | How to discover a File's creation time with Java?
===
Is there an easy way to discover a File's creation time with Java? The File class only has a method to get the "last modified" time. According to some resources I found on Google, the File class doesn't provide a getCreationTime() method because not all file syst... | 0 |
32,596 | 08/28/2008 15:30:27 | 1,638 | 08/17/2008 17:58:57 | 350 | 41 | Odd behaviour for rowSpan in Flex | I am experiencing some oddities when working with a Grid component in flex, I have the following form that uses a grid to align the fields, as you can see, each GridRow has a border, my problem is that the border is still visible through GridItems that span multiple rows (observe the TextArea the spans 4 rows, the Grid... | flex | null | null | null | null | null | open | Odd behaviour for rowSpan in Flex
===
I am experiencing some oddities when working with a Grid component in flex, I have the following form that uses a grid to align the fields, as you can see, each GridRow has a border, my problem is that the border is still visible through GridItems that span multiple rows (observe ... | 0 |
32,597 | 08/28/2008 15:30:34 | 224 | 08/03/2008 17:17:37 | 451 | 25 | Installing Team Foundation Server | What are the best practices in setting up a new instance of TFS 2008 Workgroup edition?
Specifically, the constraints are as follows:
- Must install on an existing Windows Server 2008 64 bit
- TFS application layer is 32 bit only
Should I install SQL Server 2008, Sharepoint and the app layer in a virtua... | tfs | version-control | hyper-v | vs2008 | visual-studio | null | open | Installing Team Foundation Server
===
What are the best practices in setting up a new instance of TFS 2008 Workgroup edition?
Specifically, the constraints are as follows:
- Must install on an existing Windows Server 2008 64 bit
- TFS application layer is 32 bit only
Should I install SQL Server 2008, S... | 0 |
32,598 | 08/28/2008 15:30:37 | 1,670 | 08/17/2008 21:56:17 | 18 | 0 | Any disadvantages of accessing Subversion repositories through file:/// for a solo developer? |
If you have Subversion installed on your development machine and you don't work in a team, is there any reason why you should use the _svn_ protocol instead of <em>file</em>? | svn | null | null | null | null | null | open | Any disadvantages of accessing Subversion repositories through file:/// for a solo developer?
===
If you have Subversion installed on your development machine and you don't work in a team, is there any reason why you should use the _svn_ protocol instead of <em>file</em>? | 0 |
32,607 | 08/28/2008 15:33:04 | 1,338 | 08/14/2008 15:10:01 | 211 | 13 | how to Rollback using TFS | I committed a chageset to TFS last night before leaving. This morning I decided my change was badly written, so I wanted to do a rollback on it.
In subversion, this was pretty straightforward. However, it seems to be an incredible headache in TFS.
Am I being dense? Is there a simple way to do this I'm missing?... | vs2008 | tfs | version-control | null | null | null | open | how to Rollback using TFS
===
I committed a chageset to TFS last night before leaving. This morning I decided my change was badly written, so I wanted to do a rollback on it.
In subversion, this was pretty straightforward. However, it seems to be an incredible headache in TFS.
Am I being dense? Is there a sim... | 0 |
32,612 | 08/28/2008 15:34:09 | 1,284 | 08/14/2008 11:34:29 | 5 | 5 | Best way to manage session in NHibernate? | I'm new to NHibernate (my 1st big project with it). I had been using a simple method of data access by creating the ISession object within a using block to do my grab my Object or list of Objects, and in that way the session was destroyed after exiting the code block. This doesn't work in a situation where lazy-loading... | c# | .net | nhibernate | null | null | null | open | Best way to manage session in NHibernate?
===
I'm new to NHibernate (my 1st big project with it). I had been using a simple method of data access by creating the ISession object within a using block to do my grab my Object or list of Objects, and in that way the session was destroyed after exiting the code block. This... | 0 |
32,617 | 08/28/2008 15:37:32 | 863 | 08/09/2008 19:07:26 | 424 | 22 | Is there a way to do "intraWord" text navigation in VS? | On Windows, **Ctrl+Right Arrow** will move the text cursor from one "word" to the next. While working with Xcode on the Mac, they extended that so that **Option+Right Arrow** will move the cursor to the beginning of the next _subword_. For example, if the cursor was at the beginning of the word `myCamelCaseVar` then ... | visual-studio | keyboard | null | null | null | null | open | Is there a way to do "intraWord" text navigation in VS?
===
On Windows, **Ctrl+Right Arrow** will move the text cursor from one "word" to the next. While working with Xcode on the Mac, they extended that so that **Option+Right Arrow** will move the cursor to the beginning of the next _subword_. For example, if the c... | 0 |
32,621 | 08/28/2008 15:38:42 | 3,420 | 08/28/2008 14:19:36 | 1 | 0 | How do I find the the exact lat/lng coordinates of a birdseye scene in Virtual Earth? | I'm trying to find the latitude and longitude of the corners of my map while in birdseye view. I want to be able to plot pins on the map, but I have hundreds of thousands of addresses that I want to be able to limit to the ones that need to show on the map.
In normal view, VEMap.GetMapView().TopLeftLatLong and .Bot... | javascript | virtual-earth | null | null | null | null | open | How do I find the the exact lat/lng coordinates of a birdseye scene in Virtual Earth?
===
I'm trying to find the latitude and longitude of the corners of my map while in birdseye view. I want to be able to plot pins on the map, but I have hundreds of thousands of addresses that I want to be able to limit to the ones ... | 0 |
32,628 | 08/28/2008 15:44:54 | 2,953 | 08/26/2008 08:52:08 | 26 | 1 | Deployment tool for LAMP | Are there any good deployment tools that can be used with LAMP and Subversion?
Ideally it would handle both code updates and database migrations.
| php | svn | deployment | lamp | null | 03/06/2012 16:54:21 | not constructive | Deployment tool for LAMP
===
Are there any good deployment tools that can be used with LAMP and Subversion?
Ideally it would handle both code updates and database migrations.
| 4 |
32,633 | 08/28/2008 15:48:03 | 2,133 | 08/20/2008 13:53:25 | 83 | 3 | How can I set breakpoints in an external JS script in Firebug | I can easily set breakpoints in embedded JS functions, but I don't see any way of accessing extarnal JS scripts via Firebug unless I happen to enter them during a debug session. Is there a way to do this w/o having to 'explore' my way into the script? | javascript | firebug | null | null | null | null | open | How can I set breakpoints in an external JS script in Firebug
===
I can easily set breakpoints in embedded JS functions, but I don't see any way of accessing extarnal JS scripts via Firebug unless I happen to enter them during a debug session. Is there a way to do this w/o having to 'explore' my way into the script? | 0 |
32,637 | 08/28/2008 15:49:32 | 1,218 | 08/13/2008 13:43:14 | -1 | 0 | Easiest way to convert a URL to a hyperlink in a C# string? | I am consuming the Twitter API and want to convert all URLs to hyperlinks.
What is the most effective way you've come up with to do this?
from
string myString = "This is my tweet check it out http://tinyurl.com/blah";
to
This is my tweet check it out <a href="http://tinyurl.com/blah">http://tinyur... | c# | string | null | null | null | null | open | Easiest way to convert a URL to a hyperlink in a C# string?
===
I am consuming the Twitter API and want to convert all URLs to hyperlinks.
What is the most effective way you've come up with to do this?
from
string myString = "This is my tweet check it out http://tinyurl.com/blah";
to
This is my tweet c... | 0 |
32,638 | 08/28/2008 15:49:56 | 2,915 | 08/25/2008 23:15:12 | 341 | 18 | Which CMS or other framework to develop a stackoverflow-like site? | I want to develop a Q/A site with features substantially similar to stackoverflow, but targeted to a different niche (electrical/hardware engineering as opposed to software engineering).
The code that runs stackoverflow is not opensource, and from the last mention of it on the podcast I believe I can assume it never... | stackoverflow | content-management-system | frameworks | website | design | null | open | Which CMS or other framework to develop a stackoverflow-like site?
===
I want to develop a Q/A site with features substantially similar to stackoverflow, but targeted to a different niche (electrical/hardware engineering as opposed to software engineering).
The code that runs stackoverflow is not opensource, and fr... | 0 |
32,640 | 08/28/2008 15:50:35 | 1,946 | 08/19/2008 14:53:06 | 95 | 5 | Mocking Asp.net-mvc Controller Context | So the controller context depends on some asp.net internals. Whats some ways to cleanly mock these up for unit tests? Seems like its very easy to clog up tests with tons of setup when I only need, for example, Request.HttpMethod to return "GET".
I've seen some examples/helpers out on the nets, but some are dated. Fi... | unit-testing | asp.net-mvc | rhino-mocks | mocking | null | null | open | Mocking Asp.net-mvc Controller Context
===
So the controller context depends on some asp.net internals. Whats some ways to cleanly mock these up for unit tests? Seems like its very easy to clog up tests with tons of setup when I only need, for example, Request.HttpMethod to return "GET".
I've seen some examples/hel... | 0 |
32,642 | 08/28/2008 15:50:49 | 3,334 | 08/28/2008 00:32:18 | 6 | 0 | Beginning ASP.NET MVC with VB.net 2008 | Where can I find a good tutorial on learning ASP.NET MVC using VB.net 2008 as the language? All tutorials that I found in searching the web were written in C#. | asp.net | mvc | vb.net | null | null | null | open | Beginning ASP.NET MVC with VB.net 2008
===
Where can I find a good tutorial on learning ASP.NET MVC using VB.net 2008 as the language? All tutorials that I found in searching the web were written in C#. | 0 |
32,643 | 08/28/2008 15:50:57 | 3,269 | 08/27/2008 15:52:44 | 1 | 0 | Automatic image rotation based on a logo | We're looking for a package to help identify and automatically rotate faxed TIFF images based on a watermark or logo.
We use libtiff for rotation currently, but don't know of any other libraries or packages I can use for detecting this logo and determining how to rotate the images.
I have done some basic work ... | c | image-manipulation | tiff | watermark | opencv | null | open | Automatic image rotation based on a logo
===
We're looking for a package to help identify and automatically rotate faxed TIFF images based on a watermark or logo.
We use libtiff for rotation currently, but don't know of any other libraries or packages I can use for detecting this logo and determining how to rota... | 0 |
32,664 | 08/28/2008 16:04:49 | 1,736 | 08/18/2008 11:29:16 | 11 | 1 | C# Generic constraint for only integers | Can anyone tell me if there is a way with c# generics to limit a type T to only
Int16, Int32, Int64, UInt16, UInt32, UInt64
Im aware of the where keyword, but cant find an interface for **only** these types,
Something like:
static bool IntegerFunction<T>(T value) where T : INumeric
Thanks | c# | generics | null | null | null | null | open | C# Generic constraint for only integers
===
Can anyone tell me if there is a way with c# generics to limit a type T to only
Int16, Int32, Int64, UInt16, UInt32, UInt64
Im aware of the where keyword, but cant find an interface for **only** these types,
Something like:
static bool IntegerFunction<T>(T va... | 0 |
32,668 | 08/28/2008 16:06:04 | 3,189 | 08/27/2008 11:59:18 | 21 | 5 | How to remember in CSS that margin is outside the border, and padding inside | I don't edit CSS very often, and almost every time I need to go and google the [CSS box model](http://www.w3.org/TR/REC-CSS2/box.html) to check whether padding is inside the border and margin outside, or vice versa. (Just checked again and padding is inside).
Does anyone have a good way of remembering this? A litt... | css | null | null | null | null | null | open | How to remember in CSS that margin is outside the border, and padding inside
===
I don't edit CSS very often, and almost every time I need to go and google the [CSS box model](http://www.w3.org/TR/REC-CSS2/box.html) to check whether padding is inside the border and margin outside, or vice versa. (Just checked again a... | 0 |
32,679 | 08/28/2008 16:10:07 | 2,535 | 08/22/2008 17:36:15 | 28 | 2 | Looking for News and Podcast CMS | I feel I have outgrown Wordpress for where I want to take my website. I would prefer to start with a CMS core so I don't have to program that all from scratch, but am not having any luck. PHP or .NET are both options for me. Other languages are a possibility, but really depend on how much programing I would have to do.... | content-management-system | php | .net | null | null | null | open | Looking for News and Podcast CMS
===
I feel I have outgrown Wordpress for where I want to take my website. I would prefer to start with a CMS core so I don't have to program that all from scratch, but am not having any luck. PHP or .NET are both options for me. Other languages are a possibility, but really depend on h... | 0 |
32,689 | 08/28/2008 16:12:06 | 978 | 08/11/2008 11:46:05 | 21 | 2 | In MS SQL Server 2005, is there a way to export, the complete maintenance plan of a database as a SQL Script? | Currently, if I want to output a SQL script for a table in my database, in Management Studio, I can right click and output a create script.
Is there an equivalent to output an SQL script for a database's maintenance plan? | sql | sql-server | mssql | sql-server-2005 | null | null | open | In MS SQL Server 2005, is there a way to export, the complete maintenance plan of a database as a SQL Script?
===
Currently, if I want to output a SQL script for a table in my database, in Management Studio, I can right click and output a create script.
Is there an equivalent to output an SQL script for a database... | 0 |
32,694 | 08/28/2008 16:13:19 | 742 | 08/08/2008 13:33:41 | 37 | 1 | "ypcat" and "ypmatch username passwd" don't agree after change on server | I'm trying to use NIS for authentication on a st of machines. I had to change one of the user ID numbers for a user account on the NIS server (I changed the userid for `username` from 500 to 509 to avoid a conflict with a local user account with id 500 on the clients). The problem is that it has not updated properly on... | linux | nis | null | null | null | null | open | "ypcat" and "ypmatch username passwd" don't agree after change on server
===
I'm trying to use NIS for authentication on a st of machines. I had to change one of the user ID numbers for a user account on the NIS server (I changed the userid for `username` from 500 to 509 to avoid a conflict with a local user account w... | 0 |
32,709 | 08/28/2008 16:17:52 | 2,993 | 08/26/2008 10:45:59 | 322 | 12 | Isn't Func<T, bool> and Predicate<T> the same thing after compilation? | Haven't fired up reflector to look at the difference but would one expect to see the exact same compiled code when comparing Func T, bool vs. Predicate T
I would imagine there is no difference as both take a generic parameter and return bool?
sorry about the missing brackets around the type parameters, stackove... | c# | delegates | null | null | null | null | open | Isn't Func<T, bool> and Predicate<T> the same thing after compilation?
===
Haven't fired up reflector to look at the difference but would one expect to see the exact same compiled code when comparing Func T, bool vs. Predicate T
I would imagine there is no difference as both take a generic parameter and return bo... | 0 |
32,710 | 08/28/2008 16:18:24 | 184 | 08/03/2008 05:34:19 | 1,156 | 18 | Is there some way I can validate a user in client side? | Is there some way I can authenticate a user in the client-side (browser) in a web application? | security | null | null | null | null | null | open | Is there some way I can validate a user in client side?
===
Is there some way I can authenticate a user in the client-side (browser) in a web application? | 0 |
32,715 | 08/28/2008 16:20:19 | 820 | 08/09/2008 04:48:45 | 11 | 1 | Is there a way to get images to display with ASP.NET and app_offline.htm? | When using the app_offline.htm feature of ASP.NET, it only allows html, but no images. Is there a way to get images to display without having to point them to a different url on another site? | asp.net | iis6 | null | null | null | null | open | Is there a way to get images to display with ASP.NET and app_offline.htm?
===
When using the app_offline.htm feature of ASP.NET, it only allows html, but no images. Is there a way to get images to display without having to point them to a different url on another site? | 0 |
32,717 | 08/28/2008 16:21:03 | 3,114 | 08/26/2008 18:05:52 | 196 | 14 | Out-of-place builds with C# | I just finished setting up an out-of-place build system for our existing C++ code using inherited property sheets, a feature that seems to be specific to the Visual C++ product. Building out-of-place requires that many of the project settings be changed, and the inherited property sheets allowed me to change all the ne... | c# | build-process | msbuild | null | null | null | open | Out-of-place builds with C#
===
I just finished setting up an out-of-place build system for our existing C++ code using inherited property sheets, a feature that seems to be specific to the Visual C++ product. Building out-of-place requires that many of the project settings be changed, and the inherited property sheet... | 0 |
32,718 | 08/28/2008 16:21:21 | 3,457 | 08/28/2008 16:21:21 | 1 | 0 | Setting time zone remotely in C# | How do you set the Windows time zone on the local machine programmatically in C#? Using an interactive tool is not an option because the remote units have no user interface or users. The remote machine is running .NET 2.0 and Windows XP Embedded and a local app that communicates with a central server (via web service... | c# | .net | windows | null | null | null | open | Setting time zone remotely in C#
===
How do you set the Windows time zone on the local machine programmatically in C#? Using an interactive tool is not an option because the remote units have no user interface or users. The remote machine is running .NET 2.0 and Windows XP Embedded and a local app that communicates ... | 0 |
32,733 | 08/28/2008 16:28:25 | 1,508 | 08/16/2008 02:29:14 | 216 | 18 | .NET : Double-click event in TabControl | I would like to intercept the event in a .NET Windows Forms TabControl when the user has changed tab by double-clicking the tab (instead of just single-clicking it).
Do you have any idea of how I can do that? | c# | .net | winforms | vb.net | tabcontrol | null | open | .NET : Double-click event in TabControl
===
I would like to intercept the event in a .NET Windows Forms TabControl when the user has changed tab by double-clicking the tab (instead of just single-clicking it).
Do you have any idea of how I can do that? | 0 |
32,744 | 08/28/2008 16:35:52 | 1,615 | 08/17/2008 15:19:59 | 43 | 1 | I ALMOST understand how email works, but I'm missing something. | For the past few weeks, I've been trying to learn about just how email works. I understand the process of a client receiving mail from a server using POP pretty well. I also understand how a client computer can use SMTP to ask an SMTP server to send a message. However, I'm still missing something...
The way I und... | email | pop | smtp | null | null | null | open | I ALMOST understand how email works, but I'm missing something.
===
For the past few weeks, I've been trying to learn about just how email works. I understand the process of a client receiving mail from a server using POP pretty well. I also understand how a client computer can use SMTP to ask an SMTP server to send... | 0 |
32,747 | 08/28/2008 16:37:10 | 730 | 08/08/2008 12:40:04 | 109 | 17 | How do i get today's date in C# in 8/28/2008 format? | How do i get today's date in C# in 8/28/2008 format?
I need to set a string variable to today's date (preferably without the year) but there's got to be a better way than building it month-/-day once piece at a time. | c# | null | null | null | null | null | open | How do i get today's date in C# in 8/28/2008 format?
===
How do i get today's date in C# in 8/28/2008 format?
I need to set a string variable to today's date (preferably without the year) but there's got to be a better way than building it month-/-day once piece at a time. | 0 |
32,750 | 08/28/2008 16:38:10 | 2,577 | 08/23/2008 03:18:09 | 15 | 0 | How can I take a byte array of a TIFF image and turn it into a System.Drawing.Image object? | I have a `byte[]` array, the contents of which represent a TIFF file (as in, if I write out these bytes directly to a file using the `BinaryWriter` object, it forms a perfectly valid TIFF file) and I'm trying to turn it into a System.Drawing.Image object so that I can use it for later manipulation (feeding into a multi... | c# | .net | image | tiff | null | null | open | How can I take a byte array of a TIFF image and turn it into a System.Drawing.Image object?
===
I have a `byte[]` array, the contents of which represent a TIFF file (as in, if I write out these bytes directly to a file using the `BinaryWriter` object, it forms a perfectly valid TIFF file) and I'm trying to turn it int... | 0 |
32,757 | 08/28/2008 16:41:09 | 1,122 | 08/12/2008 14:00:43 | 328 | 40 | Where can I get ASP MVC hosting? | I really need some ASP MVC CTP 4 hosing NOW. Is anyone doing this? I can't believe there is no-one willing to take my money just because it's in beta.
This is a customer requirement, so why is each host I ask just saying 'we can't do that'? | asp.net-mvc | web-hosting | hosting | null | null | 02/16/2012 14:13:47 | not constructive | Where can I get ASP MVC hosting?
===
I really need some ASP MVC CTP 4 hosing NOW. Is anyone doing this? I can't believe there is no-one willing to take my money just because it's in beta.
This is a customer requirement, so why is each host I ask just saying 'we can't do that'? | 4 |
32,766 | 08/28/2008 16:42:42 | 3,460 | 08/28/2008 16:28:54 | 1 | 0 | generation of designer file failed | Every few days VS2008 decides to get mad at me and fails to generate a designer file claiming it cannot find the file specified and that it's missing an assembly. Here's the scenario:
The aspx page has a reference to a custom user control (inheriting UserControl) which references another assembly in the backend. T... | visual-studio | visual-studio-2008 | null | null | null | null | open | generation of designer file failed
===
Every few days VS2008 decides to get mad at me and fails to generate a designer file claiming it cannot find the file specified and that it's missing an assembly. Here's the scenario:
The aspx page has a reference to a custom user control (inheriting UserControl) which refere... | 0 |
32,777 | 08/28/2008 16:48:23 | 572 | 08/06/2008 20:56:54 | 1,896 | 167 | What is the best and most complete implementation of Unix system commands? | I've found a few (unfortunately, they are bookmarked at home and I'm at work, so no links), but I was wondering if anyone had any opinions about any of them (love it, hate it, whatever) so I could make a good decision. I think I'm going to use Cygwin for my Unix commands on Windows, but I'm not sure how well that's goi... | unix | command-line | null | null | null | null | open | What is the best and most complete implementation of Unix system commands?
===
I've found a few (unfortunately, they are bookmarked at home and I'm at work, so no links), but I was wondering if anyone had any opinions about any of them (love it, hate it, whatever) so I could make a good decision. I think I'm going to ... | 0 |
32,780 | 08/28/2008 16:48:46 | 1,925 | 08/19/2008 14:23:13 | 59 | 6 | SQL Server 2003 internet connection | Recently we got a new server at the office purely for testing purposes. It is set up so that we can access it from any computer.
However today our ip got blocked from one of our other sites saying that our ip has been suspected of having a virus that sends spam emails. we learned this from the cbl http://cbl.abusea... | sql-server | null | null | null | null | null | open | SQL Server 2003 internet connection
===
Recently we got a new server at the office purely for testing purposes. It is set up so that we can access it from any computer.
However today our ip got blocked from one of our other sites saying that our ip has been suspected of having a virus that sends spam emails. we le... | 0 |
32,790 | 08/28/2008 16:52:44 | 2,443 | 08/22/2008 10:53:30 | 81 | 17 | Alternatives to System.exit(1) | For various reasons calling System.exit is frowned upon when writing Java Applications, so how can I notify the calling process that not everything is going according to plan? | java | process | null | null | null | null | open | Alternatives to System.exit(1)
===
For various reasons calling System.exit is frowned upon when writing Java Applications, so how can I notify the calling process that not everything is going according to plan? | 0 |
32,803 | 08/28/2008 16:56:51 | 2,535 | 08/22/2008 17:36:15 | 30 | 2 | Email Delivery Question | This question comes on the heels of the question asked [here](http://stackoverflow.com/questions/371/how-do-you-make-sure-email-you-send-programmatically-is-not-automatically-marke).
The email that comes from our web server comes from an IP address that is different than that for the Exchange server. Is this okay if... | email | spam | null | null | null | null | open | Email Delivery Question
===
This question comes on the heels of the question asked [here](http://stackoverflow.com/questions/371/how-do-you-make-sure-email-you-send-programmatically-is-not-automatically-marke).
The email that comes from our web server comes from an IP address that is different than that for the Exc... | 0 |
32,809 | 08/28/2008 17:02:23 | 1,806 | 08/18/2008 16:49:30 | 1 | 0 | Javascript Unit-testing? | What's the best way to go about running unit tests for Javascript? I've been playing around with Selenium IDE, but it's Firefox-specific. Selenium RC looks... difficult - but is it the best way to run tests in, say, IE6?
Also, is it worth doing? I haven't seen much about automated tests for Javascript application... | javascript | unit-testing | jquery | null | null | 05/14/2012 17:10:47 | not constructive | Javascript Unit-testing?
===
What's the best way to go about running unit tests for Javascript? I've been playing around with Selenium IDE, but it's Firefox-specific. Selenium RC looks... difficult - but is it the best way to run tests in, say, IE6?
Also, is it worth doing? I haven't seen much about automated te... | 4 |
32,814 | 08/28/2008 17:03:59 | 1,965 | 08/19/2008 15:51:08 | 1,814 | 104 | ASP.NET Validators inside an UpdatePanel | I'm using an older version of ASP.NET AJAX due to runtime limitations, Placing a ASP.NET Validator inside of an update panel does not work. Is there at trick to make these work, or do I need to use the ValidatorCallOut control that comes with the AJAX toolkit?
| asp.net | ajax | updatepanel | null | null | null | open | ASP.NET Validators inside an UpdatePanel
===
I'm using an older version of ASP.NET AJAX due to runtime limitations, Placing a ASP.NET Validator inside of an update panel does not work. Is there at trick to make these work, or do I need to use the ValidatorCallOut control that comes with the AJAX toolkit?
| 0 |
32,824 | 08/28/2008 17:08:58 | 2,114 | 08/20/2008 12:26:57 | 530 | 14 | Why does HttpCacheability.Private suppress ETags? | While writing a custom IHttpHandler I came across a behavior that I didn't expect concerning the HttpCachePolicy object.
My handler calculates and sets an entity-tag (using the SetETag method on the HttpCachePolicy associated with the current response object). If I set the cache-control to public using:
cache... | asp.net | caching | http | null | null | null | open | Why does HttpCacheability.Private suppress ETags?
===
While writing a custom IHttpHandler I came across a behavior that I didn't expect concerning the HttpCachePolicy object.
My handler calculates and sets an entity-tag (using the SetETag method on the HttpCachePolicy associated with the current response object). I... | 0 |
32,835 | 08/28/2008 17:12:57 | 3,433 | 08/28/2008 15:04:27 | 24 | 6 | XNA Unit Testing | So I'm interested in hearing different thoughts about what is the best way to go about unit testing XNA Game/Applications. Astute googlers can probably figure out why I'm asking, but I didn't want to bias the topic :-) | unit-testing | xna | null | null | null | null | open | XNA Unit Testing
===
So I'm interested in hearing different thoughts about what is the best way to go about unit testing XNA Game/Applications. Astute googlers can probably figure out why I'm asking, but I didn't want to bias the topic :-) | 0 |
32,839 | 08/28/2008 17:14:27 | 290 | 08/04/2008 12:57:50 | 857 | 61 | What are generally accepted code formatting guidelines? | According to [McCall's Quality Model][1], **Product Revision** is one of the three main perspectives for describing the quality attributes of a software product. Under the Product Revision perspective, **maintainability**, *the ability to find and fix a defect*, is identified as a key quality factor that impacts the ab... | language-agnostic | sqa | maintainability | formatting | null | null | open | What are generally accepted code formatting guidelines?
===
According to [McCall's Quality Model][1], **Product Revision** is one of the three main perspectives for describing the quality attributes of a software product. Under the Product Revision perspective, **maintainability**, *the ability to find and fix a defec... | 0 |
32,845 | 08/28/2008 17:16:54 | 1,490 | 08/15/2008 21:35:24 | 468 | 52 | Creating System Restore Points - Thoughts? | Is it "taboo" to programatically create system restore points? I would be doing this before I perform a software update. If there is a better method to create a restore point with just my software's files and data, please let me know.
private void CreateRestorePoint(string description)
{
... | ux | system-restore | null | null | null | null | open | Creating System Restore Points - Thoughts?
===
Is it "taboo" to programatically create system restore points? I would be doing this before I perform a software update. If there is a better method to create a restore point with just my software's files and data, please let me know.
private void CreateResto... | 0 |
32,851 | 08/28/2008 17:21:21 | 96 | 08/01/2008 18:33:48 | 561 | 54 | Multicasting, Messaging, ActiveMQ vs. MSMQ? | I'm working on a messaging/notification system for our products. Basic requirements are:
* Fire and forget
* Persistent set of messages, possibly updating, to stay there until the sender says to remove them
The libraries will be written in C#. Spring.NET just released a milestone build with lots of nice me... | messaging | msmq | activemq | null | null | null | open | Multicasting, Messaging, ActiveMQ vs. MSMQ?
===
I'm working on a messaging/notification system for our products. Basic requirements are:
* Fire and forget
* Persistent set of messages, possibly updating, to stay there until the sender says to remove them
The libraries will be written in C#. Spring.NET jus... | 0 |
32,871 | 08/28/2008 17:31:13 | 3,435 | 08/28/2008 15:10:35 | 1 | 0 | How can I resize a swf during runtime to have the browser create html scrollbars? | I have a swf with loads text into a Sprite that resizes based on the content put into - I'd like though for the ones that are longer than the page to have the browser use its native scroll bars rather than handle it in actionscript (very much like [http://www.nike.com/nikeskateboarding/v3/][1]...)
I did have a look ... | actionscript-3 | flash | flex | null | null | null | open | How can I resize a swf during runtime to have the browser create html scrollbars?
===
I have a swf with loads text into a Sprite that resizes based on the content put into - I'd like though for the ones that are longer than the page to have the browser use its native scroll bars rather than handle it in actionscript (... | 0 |
32,875 | 08/28/2008 17:36:29 | 2,118 | 08/20/2008 12:54:09 | 304 | 14 | Browser's Default CSS | Are there any lists of browser CSS defaults? (browser stylsheets in tabular form)
I want to know the default font of textareas across all browsers and also for future reference. | css | javascript | default | fonts | null | null | open | Browser's Default CSS
===
Are there any lists of browser CSS defaults? (browser stylsheets in tabular form)
I want to know the default font of textareas across all browsers and also for future reference. | 0 |
32,877 | 08/28/2008 17:38:07 | 1,683 | 08/18/2008 00:30:32 | 115 | 9 | How to remove "VsDebuggerCausalityData" data from SOAP message? | I've got a problem where incoming SOAP messages from one particular client are being marked as invalid and rejected by our XML firewall device. It appears extra payload data is being inserted by Visual Studio; we're thinking the extra data may be causing a problem b/c we're seeing "VsDebuggerCausalityData" in these mes... | visual-studio | web-services | soap | null | null | null | open | How to remove "VsDebuggerCausalityData" data from SOAP message?
===
I've got a problem where incoming SOAP messages from one particular client are being marked as invalid and rejected by our XML firewall device. It appears extra payload data is being inserted by Visual Studio; we're thinking the extra data may be caus... | 0 |
32,897 | 08/28/2008 17:47:56 | 316 | 08/04/2008 15:40:45 | 174 | 13 | Do Java multi-line comments account for strings? | This question would probably apply equally as well to other languages with C-like multi-line comments. Here's the problem I'm encountering. I'm working with Java code in Eclipse, and I wanted to comment out a block of code. However, there is a string that contains the character sequence "*/", and Eclipse thinks that th... | java | eclipse | comments | null | null | null | open | Do Java multi-line comments account for strings?
===
This question would probably apply equally as well to other languages with C-like multi-line comments. Here's the problem I'm encountering. I'm working with Java code in Eclipse, and I wanted to comment out a block of code. However, there is a string that contains t... | 0 |
32,899 | 08/28/2008 17:49:02 | 720 | 08/08/2008 08:47:12 | 76 | 5 | How to generate dynamic unit tests in python? | I have some kind of test data and want to create an unit test for each item. My first idea was to do it like this:
import unittest
l = [["foo", "a", "a",], ["bar", "a", "b"], ["lee", "b", "b"]]
class TestSequence(unittest.TestCase):
def testsample(self):
for name, a,b ... | python | unit-testing | null | null | null | null | open | How to generate dynamic unit tests in python?
===
I have some kind of test data and want to create an unit test for each item. My first idea was to do it like this:
import unittest
l = [["foo", "a", "a",], ["bar", "a", "b"], ["lee", "b", "b"]]
class TestSequence(unittest.TestCase):
... | 0 |
32,914 | 08/28/2008 17:54:10 | 3,435 | 08/28/2008 15:10:35 | 1 | 0 | Is there a way to render svg data in a swf at runtime? | I'd like to render to svg data in a swf at runtime (not in Flex - not using degrafa) - how would I go about doing that? | flash | actionscript-3 | svg | swf | null | null | open | Is there a way to render svg data in a swf at runtime?
===
I'd like to render to svg data in a swf at runtime (not in Flex - not using degrafa) - how would I go about doing that? | 0 |
9,617,499 | 03/08/2012 12:14:10 | 569,724 | 01/10/2011 11:04:03 | 1 | 0 | Hide Checkbox and Label based on Label text | The label text of a checkbox is dynamically generated in CodeCharge. The label text includes the amount of available articles. When this number is (0), the checkbox and the label text should be hidden, if not both checkbox and label value must be shown.
In this case checkbox and label text hidden:
<input id="... | php | jquery | codecharge | null | null | null | open | Hide Checkbox and Label based on Label text
===
The label text of a checkbox is dynamically generated in CodeCharge. The label text includes the amount of available articles. When this number is (0), the checkbox and the label text should be hidden, if not both checkbox and label value must be shown.
In this case c... | 0 |
9,617,500 | 03/08/2012 12:14:10 | 1,131,905 | 01/05/2012 10:38:01 | 45 | 1 | Building a VS2010 project consumes extra resources | I have many projects I work in normally, but I have one that consumes a max of CPU resources at build time and system (windows server 2008) becomes very slow . and this issue has started last week, I don't remember that I have changed neither project nor VS2010 settings.
What can be the problem ?
Thanks | visual-studio | visual-studio-2010 | build-process | null | null | null | open | Building a VS2010 project consumes extra resources
===
I have many projects I work in normally, but I have one that consumes a max of CPU resources at build time and system (windows server 2008) becomes very slow . and this issue has started last week, I don't remember that I have changed neither project nor VS2010 se... | 0 |
9,617,502 | 03/08/2012 12:14:32 | 106,906 | 05/14/2009 08:42:48 | 620 | 31 | How do I see exactly what characters are in a string? | Check out the weird behavior I'm getting with two strings. I suspect of course, that the space isn't really a space. How do I investigate this?
![enter image description here][1]
[1]: http://i.stack.imgur.com/Trs3o.jpg | ruby-on-rails | ruby | string | null | null | null | open | How do I see exactly what characters are in a string?
===
Check out the weird behavior I'm getting with two strings. I suspect of course, that the space isn't really a space. How do I investigate this?
![enter image description here][1]
[1]: http://i.stack.imgur.com/Trs3o.jpg | 0 |
9,617,503 | 03/08/2012 12:14:33 | 523,507 | 11/29/2010 05:52:04 | 1,028 | 25 | ios MediaPlayer video small window not working | i have a video playing with MediaPlayer , ok on iPad,
but if I touch the button to make the screen go small
![enter image description here][1]
so what do i use here? to make it go small? `MPMovieScalingMode `?
and how to use it?
I touch the minimize icon and the image dissapear,
thanks
[1]: http://i.... | iphone | ios | ipad | mpmovieplayer | null | null | open | ios MediaPlayer video small window not working
===
i have a video playing with MediaPlayer , ok on iPad,
but if I touch the button to make the screen go small
![enter image description here][1]
so what do i use here? to make it go small? `MPMovieScalingMode `?
and how to use it?
I touch the minimize icon an... | 0 |
9,617,510 | 03/08/2012 12:15:01 | 53,136 | 01/08/2009 23:01:40 | 707 | 42 | Topological Sort on Neo4j | I have a graph on neo4j and I would like to run a topological sort, preferably without writing on the graph itself (to allow for multiple clients to run algorithms on the same graph simultaneously).
How should I approach this? Shall I clone the graph and work on the temporary copy, or is there a sort of traversal/it... | ruby | rest | graph-theory | neo4j | topological-sort | null | open | Topological Sort on Neo4j
===
I have a graph on neo4j and I would like to run a topological sort, preferably without writing on the graph itself (to allow for multiple clients to run algorithms on the same graph simultaneously).
How should I approach this? Shall I clone the graph and work on the temporary copy, or ... | 0 |
9,617,511 | 03/08/2012 12:15:01 | 1,186,991 | 02/03/2012 07:46:23 | 18 | 0 | Returning a bool and rethrowing an exception | Is it possible to return a bool and also rethrow an exception within the same method? Ive tried with the following code and it keeps saying that unreachable code is detected or that i cant exit the finally block.
public bool AccessToFile(string filePath)
{
FileStream source = null;
... | c# | c#-4.0 | exception-handling | null | null | null | open | Returning a bool and rethrowing an exception
===
Is it possible to return a bool and also rethrow an exception within the same method? Ive tried with the following code and it keeps saying that unreachable code is detected or that i cant exit the finally block.
public bool AccessToFile(string filePath)
... | 0 |
9,617,515 | 03/08/2012 12:15:17 | 325,519 | 04/25/2010 19:13:48 | 791 | 10 | Single EJB responsible for logic and many clients | I'm new to Java EE and I stuck with problem described below, I'll be very happy if you can help me.
I need to implement some logic (based on finite-state machine) on server. As I understand I should implement it as EJB, right?. The problem is that one client should be able to create such "object" and other clients s... | java-ee | java-ee-6 | null | null | null | null | open | Single EJB responsible for logic and many clients
===
I'm new to Java EE and I stuck with problem described below, I'll be very happy if you can help me.
I need to implement some logic (based on finite-state machine) on server. As I understand I should implement it as EJB, right?. The problem is that one client sho... | 0 |
9,617,522 | 03/08/2012 12:15:36 | 1,230,643 | 02/24/2012 11:23:58 | 8 | 0 | How can I reopen STDIN <> in perl? | How can I open STDIN for the second time?
Let say I have this data
John Smith 25 O ATG 180
Peter Jackson 40 AB GGTA 173
Carl Anderson 32 A GGT 172
And I have this code
while( my $line = <>) {
print $line;
}
while( my $line = <>) {
print $line;
}
I want... | perl | stdin | iterate | null | null | null | open | How can I reopen STDIN <> in perl?
===
How can I open STDIN for the second time?
Let say I have this data
John Smith 25 O ATG 180
Peter Jackson 40 AB GGTA 173
Carl Anderson 32 A GGT 172
And I have this code
while( my $line = <>) {
print $line;
}
while( my $line = <>) ... | 0 |
32,930 | 08/28/2008 17:59:11 | 327 | 08/04/2008 17:08:49 | 507 | 31 | What is a good dvd burning component for Windows or .Net? | I'd like to add dvd burning functionality to my .Net app (running on Windows Server 2003), are there any good components available? I've used the NeroCOM sdk that used to come with Nero but they no longer support the sdk in the latest versions of Nero. I learned that Microsoft has created an IMAPI2 upgrade for Window... | .net | components | windows | microsoft | dvd | null | open | What is a good dvd burning component for Windows or .Net?
===
I'd like to add dvd burning functionality to my .Net app (running on Windows Server 2003), are there any good components available? I've used the NeroCOM sdk that used to come with Nero but they no longer support the sdk in the latest versions of Nero. I ... | 0 |
32,937 | 08/28/2008 18:01:42 | 1,302 | 08/14/2008 13:04:10 | 18 | 3 | Shorthand conditional in C# similar to SQL 'in' keyword | In C# is there a shorthand way to write this:
public static bool IsAllowed(int userID)
{
return (userID == Personnel.JohnDoe || userID == Personnel.JaneDoe ...);
}
Like:
public static bool IsAllowed(int userID)
{
return (userID in Personnel.JohnDoe, Personnel.JaneDoe ..... | c# | lambda | conditional | if-statement | null | null | open | Shorthand conditional in C# similar to SQL 'in' keyword
===
In C# is there a shorthand way to write this:
public static bool IsAllowed(int userID)
{
return (userID == Personnel.JohnDoe || userID == Personnel.JaneDoe ...);
}
Like:
public static bool IsAllowed(int userID)
{
... | 0 |
32,941 | 08/28/2008 18:03:36 | 2,184 | 08/20/2008 20:01:42 | 1 | 0 | SQL Server 2008 Reporting Services Control | Is the Sql Server 2008 control available for download? Does it yet support the 2008 RDL schema? | sql-server | reporting-services | null | null | null | null | open | SQL Server 2008 Reporting Services Control
===
Is the Sql Server 2008 control available for download? Does it yet support the 2008 RDL schema? | 0 |
32,964 | 08/28/2008 18:11:55 | 1,438 | 08/15/2008 15:44:20 | 536 | 34 | Should a wireless network be open? | Obviously there are security reasons to close a wireless network and it's not fun if someone is stealing your bandwidth. But how much of a problem is this?
To address the first concern: Does a device on the same wireless network have any special privileges or access that an other device on the internet has? (Assum... | wireless | networking | security | null | null | 11/08/2011 07:04:55 | off topic | Should a wireless network be open?
===
Obviously there are security reasons to close a wireless network and it's not fun if someone is stealing your bandwidth. But how much of a problem is this?
To address the first concern: Does a device on the same wireless network have any special privileges or access that an o... | 2 |
32,966 | 08/28/2008 18:12:38 | 757 | 08/08/2008 15:38:57 | 21 | 5 | How to program user preferences | I'm using Ruby on Rails for an internal site. Different users of the site have access to a wide variety of data and highly disparate perspectives of the data. Within those different classes of users, there needs to be levels of access. Within the levels of access I need to be able to add features from other classes of ... | ruby | ruby-on-rails | usercontrols | user-interface | null | null | open | How to program user preferences
===
I'm using Ruby on Rails for an internal site. Different users of the site have access to a wide variety of data and highly disparate perspectives of the data. Within those different classes of users, there needs to be levels of access. Within the levels of access I need to be able t... | 0 |
32,986 | 08/28/2008 18:16:54 | 3,484 | 08/28/2008 18:14:05 | 1 | 0 | NSEnumerator performance vs for loop in Cocoa | I know that if you have a loop that modifies the count of the items in the loop, using the NSEnumerator on a set is the best way to make sure your code blows up, however I would like to understand the performance tradeoffs between the NSEnumerator class and just an old school for loop | cocoa | nsenumerator | apple | performance | c | null | open | NSEnumerator performance vs for loop in Cocoa
===
I know that if you have a loop that modifies the count of the items in the loop, using the NSEnumerator on a set is the best way to make sure your code blows up, however I would like to understand the performance tradeoffs between the NSEnumerator class and just an old... | 0 |
32,991 | 08/28/2008 18:18:29 | 1,965 | 08/19/2008 15:51:08 | 1,834 | 105 | Leaving your harddrive shared | The leaving your wireless network open question reminded me of this.
I typically share the root drive on my machines across my network, and tie login authorization to the machines NT ID, so there is at least some form of protection.
My question, how easy is it to gain access to these drives for ill good? Is the a... | security | windows | networking | null | null | null | open | Leaving your harddrive shared
===
The leaving your wireless network open question reminded me of this.
I typically share the root drive on my machines across my network, and tie login authorization to the machines NT ID, so there is at least some form of protection.
My question, how easy is it to gain access to ... | 0 |
33,034 | 08/28/2008 18:37:07 | 3,508 | 08/28/2008 18:37:07 | 1 | 0 | How do banks remember "your computer"? | As many of you probably know, online banks nowadays have a security system whereby you are asked some personal questions before you even enter your password. Once you have answered them, you can choose for the bank to "remember this computer" so that in the future you can login by only entering your password.
How d... | https | onlinebanking | sessiontracking | null | null | null | open | How do banks remember "your computer"?
===
As many of you probably know, online banks nowadays have a security system whereby you are asked some personal questions before you even enter your password. Once you have answered them, you can choose for the bank to "remember this computer" so that in the future you can lo... | 0 |
33,042 | 08/28/2008 18:40:00 | 1,304 | 08/14/2008 13:19:08 | 46 | 9 | how can I measure code coverage of my unit tests automatically? |
I have a very large code base that contains extensive unit tests (using CppUnit). <b>I need to work out what percentage of the code is exercised by these tests</b>, and (ideally) generate some sort of report that tells me on a per-library or per-file basis, how much of the code was exercised.
Here's the kicker: th... | c++ | cppunit | unit-testing | crossplatform | coverage | null | open | how can I measure code coverage of my unit tests automatically?
===
I have a very large code base that contains extensive unit tests (using CppUnit). <b>I need to work out what percentage of the code is exercised by these tests</b>, and (ideally) generate some sort of report that tells me on a per-library or per-fil... | 0 |
33,048 | 08/28/2008 18:41:21 | 2,569 | 08/22/2008 23:10:37 | 1 | 0 | How would you test observers with rSpec | Suppose you have an ActiveRecord::Observer - how do you test this observer with rSpec? | rspec | ruby-on-rails | ruby | testing | activerecordobserver | null | open | How would you test observers with rSpec
===
Suppose you have an ActiveRecord::Observer - how do you test this observer with rSpec? | 0 |
33,055 | 08/28/2008 18:43:59 | 3,396 | 08/28/2008 12:43:15 | 3 | 0 | what is the best way to backup subversion repositories? | I'm new to svn and I'd like to know what are common methods of backing up repositories in a windows environment? | svn | null | null | null | null | null | open | what is the best way to backup subversion repositories?
===
I'm new to svn and I'd like to know what are common methods of backing up repositories in a windows environment? | 0 |
33,061 | 08/28/2008 18:45:55 | 3,493 | 08/28/2008 18:45:54 | 1 | 0 | Best way to export a QTMovie with a fade-in and fade-out in the audio | I want to take a QTMovie that I have and export it with the audio fading in and fading out for a predetermined amount of time. I want to do this within Cocoa as much as possible. The movie will likely only have audio in it. My research has turned up a couple of possibilities:
1. Use the newer Audio Context Insert AP... | osx | cocoa | objective-c | null | null | null | open | Best way to export a QTMovie with a fade-in and fade-out in the audio
===
I want to take a QTMovie that I have and export it with the audio fading in and fading out for a predetermined amount of time. I want to do this within Cocoa as much as possible. The movie will likely only have audio in it. My research has turne... | 0 |
33,063 | 08/28/2008 18:46:24 | 2,187 | 08/20/2008 20:30:43 | 13 | 2 | Looking for Regex to find quoted newlines in a big string (for C#) | I have a big string (let's call it a CSV file, though it isn't actually one, it'll just be easier for now) that I have to parse in C# code. The first step of the parsing process splits the file into individual lines by just using a StreamReader object and calling ReadLine until it's through the file. However, any give... | c# | regex | null | null | null | null | open | Looking for Regex to find quoted newlines in a big string (for C#)
===
I have a big string (let's call it a CSV file, though it isn't actually one, it'll just be easier for now) that I have to parse in C# code. The first step of the parsing process splits the file into individual lines by just using a StreamReader ob... | 0 |
33,073 | 08/28/2008 18:50:31 | 1,412 | 08/15/2008 15:05:57 | 440 | 25 | Ignore Emacs temporary files in a diff | How do I make `diff` ignore temporary files like `foo.c~`? Is there a configuration file that will make ignoring temporaries the default?
More generally: what's the best way to generate a "clean" patch off a tarball? I do this rarely enough (submitting a bug fix to an OSS project by email) that I always struggle wit... | diff | emacs | patchgeneration | patch | null | null | open | Ignore Emacs temporary files in a diff
===
How do I make `diff` ignore temporary files like `foo.c~`? Is there a configuration file that will make ignoring temporaries the default?
More generally: what's the best way to generate a "clean" patch off a tarball? I do this rarely enough (submitting a bug fix to an OSS ... | 0 |
33,076 | 08/28/2008 18:51:32 | 2,695 | 08/24/2008 15:29:59 | 513 | 39 | Pattern recognition algorithms | In the past I had to develop a program which acted as a rule evaluator. You had an antecedent and some consecuents (actions) so if the antecedent evaled to true the actions where performed.
At that time I used a modified version of the [RETE algorithm][1] (there are three versions of RETE only the first being public... | pattern-recognition | algorithm | null | null | null | null | open | Pattern recognition algorithms
===
In the past I had to develop a program which acted as a rule evaluator. You had an antecedent and some consecuents (actions) so if the antecedent evaled to true the actions where performed.
At that time I used a modified version of the [RETE algorithm][1] (there are three versions... | 0 |
33,079 | 08/28/2008 18:52:49 | 2,148 | 08/20/2008 15:20:13 | 188 | 18 | Fighting programmer colors. | <img alt="Kicking the Llama" title="Kicking the Llama" src="http://www.ok-cancel.com/strips/okcancel20031010.gif" width="640"/>
I have a couple of pet projects where I'm the sole designer/programmer and I spend too much time changing the user interface to make it easier to use **by real users** and avoiding **bright... | user-interface | graphic-design | colors | null | null | null | open | Fighting programmer colors.
===
<img alt="Kicking the Llama" title="Kicking the Llama" src="http://www.ok-cancel.com/strips/okcancel20031010.gif" width="640"/>
I have a couple of pet projects where I'm the sole designer/programmer and I spend too much time changing the user interface to make it easier to use **by r... | 0 |
33,080 | 08/28/2008 18:52:53 | 1,226 | 08/13/2008 13:55:55 | 131 | 11 | Setting the height of a DIV dynamically | In a web application I'm working on, I have a page that contains a DIV that has an auto-width depending on the width of the browser window.
However, I need to be able to have an auto-height for the object. The DIV starts about 300px from the top screen, and it's height should make it stretch to the bottom of the br... | html | css | javascript | div | height | null | open | Setting the height of a DIV dynamically
===
In a web application I'm working on, I have a page that contains a DIV that has an auto-width depending on the width of the browser window.
However, I need to be able to have an auto-height for the object. The DIV starts about 300px from the top screen, and it's height s... | 0 |
33,086 | 08/28/2008 18:55:06 | 1,942 | 08/19/2008 14:45:43 | 88 | 10 | ensuring uploaded files are safe | My boss has come to me and asked how to enure a file uploaded through web page is safe. He wants people to be able to upload pdfs and tiff images (and the like) and his real concern is someone embedding a virus in a pdf that is then viewed/altered (and the virus executed). I just read something on a procedure that cou... | security | antivirus | null | null | null | null | open | ensuring uploaded files are safe
===
My boss has come to me and asked how to enure a file uploaded through web page is safe. He wants people to be able to upload pdfs and tiff images (and the like) and his real concern is someone embedding a virus in a pdf that is then viewed/altered (and the virus executed). I just ... | 0 |
33,089 | 08/28/2008 18:55:32 | 83 | 08/01/2008 16:31:56 | 921 | 75 | How do I use ASP.NET Login Controls when my Login.aspx is not at the root of my application? | I'm using the [ASP.NET Login Controls][1] and [Forms Authentication][2] for membership/credentials for an ASP.NET web application. It keeps redirecting to a Login.aspx page at the root of my application that does not exist. My login page is within a folder.
[1]: http://msdn.microsoft.com/en-us/library/ms178329... | asp.net | null | null | null | null | null | open | How do I use ASP.NET Login Controls when my Login.aspx is not at the root of my application?
===
I'm using the [ASP.NET Login Controls][1] and [Forms Authentication][2] for membership/credentials for an ASP.NET web application. It keeps redirecting to a Login.aspx page at the root of my application that does not exis... | 0 |
33,103 | 08/28/2008 18:58:36 | 1,450 | 08/15/2008 16:26:21 | 699 | 39 | How Do Sites Supress Pasting Text? | I've noticed that some sites (usually banks) supress the ability to paste text into text fields. How is this done? I know that JavaScript can be used to swallow the keyboard shortcut for paste, but what about the right-click menu item? | javascript | onlinebanking | web-applications | null | null | null | open | How Do Sites Supress Pasting Text?
===
I've noticed that some sites (usually banks) supress the ability to paste text into text fields. How is this done? I know that JavaScript can be used to swallow the keyboard shortcut for paste, but what about the right-click menu item? | 0 |
33,104 | 08/28/2008 18:58:39 | 1,456 | 08/15/2008 17:03:51 | 15 | 0 | Communicating between websites (using Javascript or ?) | Here's my problem - I'd like to communicate between two websites and I'm looking for a clean solution. The current solution uses Javascript but there are nasty workarounds because of (understandable) cross-site scripting restrictions.
At the moment, **website A** opens a modal window containing **website B** using a... | website | javascript | jquery | xss | hack | null | open | Communicating between websites (using Javascript or ?)
===
Here's my problem - I'd like to communicate between two websites and I'm looking for a clean solution. The current solution uses Javascript but there are nasty workarounds because of (understandable) cross-site scripting restrictions.
At the moment, **websi... | 0 |
33,113 | 08/28/2008 19:00:40 | 327 | 08/04/2008 17:08:49 | 507 | 31 | Is there any way to override the drag and drop behavior of an existing app in Windows? | I would like to extend some existing applications' drag and drop behavior, and I'm wondering if there is any way to hack on drag and drop support or changes to drag and drop behavior by monitoring the app's message loop and injecting my own messages. | windows | null | null | null | null | null | open | Is there any way to override the drag and drop behavior of an existing app in Windows?
===
I would like to extend some existing applications' drag and drop behavior, and I'm wondering if there is any way to hack on drag and drop support or changes to drag and drop behavior by monitoring the app's message loop and inje... | 0 |
33,115 | 08/28/2008 19:00:57 | 1,638 | 08/17/2008 17:58:57 | 350 | 41 | Does C# have the notion of private and protected inheritance? | Does C# have the notion of private / protected inheritance, and if not, why?
**C++**
<pre>
<code>
class Foo : private Bar {
public:
...
};
</code>
</pre>
**C#**
<pre>
<code>
public abstract NServlet class : private System.Web.UI.Page
{
// error "type expected"
}
</code>
</pre>
I am impl... | c# | inheritance | null | null | null | null | open | Does C# have the notion of private and protected inheritance?
===
Does C# have the notion of private / protected inheritance, and if not, why?
**C++**
<pre>
<code>
class Foo : private Bar {
public:
...
};
</code>
</pre>
**C#**
<pre>
<code>
public abstract NServlet class : private System.Web.UI.Pag... | 0 |
33,117 | 08/28/2008 19:01:03 | 1,565 | 08/16/2008 17:35:45 | 41 | 7 | Building a custom Linux Live CD | Can anyone point me to a good tutorial on creating a bootable Linux CD from scratch?
I need help with a fairly specialized problem: my firm sells an expansion card that requires custom firmware. Currently we use an extremely old live CD image of RH7.2 that we update with current firmware. Manufacturing puts the card... | linux | null | null | null | null | null | open | Building a custom Linux Live CD
===
Can anyone point me to a good tutorial on creating a bootable Linux CD from scratch?
I need help with a fairly specialized problem: my firm sells an expansion card that requires custom firmware. Currently we use an extremely old live CD image of RH7.2 that we update with current ... | 0 |
33,144 | 08/28/2008 19:10:51 | 3,494 | 08/28/2008 18:54:48 | 1 | 1 | Windows Mobile Development, alternatives to visual studio? | I am looking to start writing apps for my Windows Mobile 6.1 professional device (Sprint Mogul/HTC Titan).
I use the copy of Visual Studio 2003 that I bought in college for all of my current contracting work, (all of my day job work is done on a company laptop). From what I can tell from MSDN in order to develop us... | windows-mobile | null | null | null | null | null | open | Windows Mobile Development, alternatives to visual studio?
===
I am looking to start writing apps for my Windows Mobile 6.1 professional device (Sprint Mogul/HTC Titan).
I use the copy of Visual Studio 2003 that I bought in college for all of my current contracting work, (all of my day job work is done on a company... | 0 |
33,150 | 08/28/2008 19:11:34 | 2,017 | 08/19/2008 20:01:30 | 91 | 4 | How to pass method name to custom server control in asp.net? | I am working on a Customer Server Control that extends another control. There is no problem with attaching to other controls on the form.
in vb.net: Parent.FindControl(TargetControlName)
I would like to pass a method to the control in the ASPX markup.
for example: <c:MyCustomerControl runat=server Initia... | c# | asp.net | vb.net | custom-server-controls | webcontrols | null | open | How to pass method name to custom server control in asp.net?
===
I am working on a Customer Server Control that extends another control. There is no problem with attaching to other controls on the form.
in vb.net: Parent.FindControl(TargetControlName)
I would like to pass a method to the control in the ASPX ma... | 0 |
33,166 | 08/28/2008 19:18:33 | 83 | 08/01/2008 16:31:56 | 926 | 76 | How do I keep my Login.aspx page's ReturnUrl parameter from overriding my ASP.NET Login control's DestinationPageUrl property? | I'm using the [ASP.NET Login Controls][1] and [Forms Authentication][2] for membership/credentials for an ASP.NET web application. I've got pages such as *PasswordRecovery.aspx* that are accessable to only Anonymous users. When I click my login link from such a page, the login page has a *ReturnUrl* parameter in the ... | asp.net | forms-authentication | null | null | null | null | open | How do I keep my Login.aspx page's ReturnUrl parameter from overriding my ASP.NET Login control's DestinationPageUrl property?
===
I'm using the [ASP.NET Login Controls][1] and [Forms Authentication][2] for membership/credentials for an ASP.NET web application. I've got pages such as *PasswordRecovery.aspx* that are ... | 0 |
33,174 | 08/28/2008 19:20:38 | 757 | 08/08/2008 15:38:57 | 21 | 6 | Accessing Sharepoint from outside the WebUI | Is it possible to access the database backend of a sharepoint server? My company uses Sharepoint to store data and pictures of various assets. Ideally I would be able to access the data and display it in my application to allow users both methods of access.
Before I go talk to the IT department I would like to find ... | sql-server | sharepoint | null | null | null | null | open | Accessing Sharepoint from outside the WebUI
===
Is it possible to access the database backend of a sharepoint server? My company uses Sharepoint to store data and pictures of various assets. Ideally I would be able to access the data and display it in my application to allow users both methods of access.
Before I g... | 0 |
33,175 | 08/28/2008 19:22:17 | 1,302 | 08/14/2008 13:04:10 | 38 | 4 | How to tell the data types after executing a stored procedure? | Is there a way when executing a stored procedure in Management Studio to get the data types of the result sets coming back? I'm looking for something like functionality of when you pass a table name to sp_help | sql-server | mssql | tsql | management-studio | null | null | open | How to tell the data types after executing a stored procedure?
===
Is there a way when executing a stored procedure in Management Studio to get the data types of the result sets coming back? I'm looking for something like functionality of when you pass a table name to sp_help | 0 |
33,204 | 08/28/2008 19:40:55 | 238 | 08/03/2008 21:42:37 | 1,262 | 57 | When to commit changes? | Using oracle 10g , acced via perl DBI , I have a table with a few tens of million rows being updated a few times per second while being read from much more frequently form another process.
Soon the update frequency will increase by an order of magnitude (maybe two).
Someone suggested that committing every N updates... | oracle | sql | null | null | null | null | open | When to commit changes?
===
Using oracle 10g , acced via perl DBI , I have a table with a few tens of million rows being updated a few times per second while being read from much more frequently form another process.
Soon the update frequency will increase by an order of magnitude (maybe two).
Someone suggested th... | 0 |
33,207 | 08/28/2008 19:41:30 | 2,339 | 08/21/2008 17:27:28 | 1 | 0 | What is the best way to unit test Objective-C code | What frameworks exists to unit test Objective-C code. I would like a framework that integrates nicely with Xcode. | objectivec | cocoa | null | null | null | null | open | What is the best way to unit test Objective-C code
===
What frameworks exists to unit test Objective-C code. I would like a framework that integrates nicely with Xcode. | 0 |
33,217 | 08/28/2008 19:45:03 | 337 | 08/04/2008 18:11:42 | 111 | 5 | How can you implement trackbacks on a custom-coded blog (written in C#)? | Title says it all. | blogs | c# | null | null | null | null | open | How can you implement trackbacks on a custom-coded blog (written in C#)?
===
Title says it all. | 0 |
33,222 | 08/28/2008 19:47:24 | 1,143 | 08/12/2008 18:58:24 | 569 | 41 | Compact Framework - Lightweight GUI Framework? | Winform is a bit heavy.... a bit slow and you can't control the paint event so during processor intensive operations the UI might leave the user staring at a half rendered screen. Nice!
To alleviate this issue I would seek a lightweight control framework, is there one kicking about already or would one have to homeb... | compactframework | gdi+ | windows-ce | null | null | null | open | Compact Framework - Lightweight GUI Framework?
===
Winform is a bit heavy.... a bit slow and you can't control the paint event so during processor intensive operations the UI might leave the user staring at a half rendered screen. Nice!
To alleviate this issue I would seek a lightweight control framework, is there ... | 0 |
33,223 | 08/28/2008 19:47:58 | 2,640 | 08/23/2008 20:40:36 | 1 | 1 | Is elegant, semantic CSS with ASP.Net still a pipe dream? | I know Microsoft has made efforts in the direction of semantic and cross-browser compliant XHTML and CSS, but it still seems like a PitA to pull off elegant markup. I've downloaded and tweaked the CSS Friendly Adapters and all that. But I still find myself frustrated with bloated and unattractive code.
Is elegant, s... | asp.net | css | friendly | adapters | xhtml | null | open | Is elegant, semantic CSS with ASP.Net still a pipe dream?
===
I know Microsoft has made efforts in the direction of semantic and cross-browser compliant XHTML and CSS, but it still seems like a PitA to pull off elegant markup. I've downloaded and tweaked the CSS Friendly Adapters and all that. But I still find myself ... | 0 |
33,226 | 08/28/2008 19:48:49 | 3,475 | 08/28/2008 17:53:18 | 1 | 0 | In SQL Server 2000, is there a sysobjects query that will retrieve user views and not system views? | Assuming such a query exists, I would greatly appreciate the help.
I'm trying to develop a permissions script that will grant "select" and "references" permissions on the user tables and views in a database. My hope is that executing the "grant" commands on each element in such a set will make it easier to keep per... | sqlserver | sysobjects | null | null | null | null | open | In SQL Server 2000, is there a sysobjects query that will retrieve user views and not system views?
===
Assuming such a query exists, I would greatly appreciate the help.
I'm trying to develop a permissions script that will grant "select" and "references" permissions on the user tables and views in a database. My ... | 0 |
33,233 | 08/28/2008 19:51:37 | 1,143 | 08/12/2008 18:58:24 | 569 | 41 | Integrating a custom gui framework with the VS designer | Imagine you homebrew a custom gui framework that _doesn't_ use windows handles (compact framework, so please don't argue with "whys"). One of the main disadvantages of developing such a framework is that you lose compatability with the winform designer.
So my question is to all of you who know a lot about VS customi... | visual-studio | gui-designer | null | null | null | null | open | Integrating a custom gui framework with the VS designer
===
Imagine you homebrew a custom gui framework that _doesn't_ use windows handles (compact framework, so please don't argue with "whys"). One of the main disadvantages of developing such a framework is that you lose compatability with the winform designer.
So... | 0 |
33,242 | 08/28/2008 19:54:02 | 5 | 07/31/2008 14:22:31 | 2,261 | 94 | How can I find unused images and CSS styles in a website? | Is there a tool or methodology (other than trial and error) I can use to find unused image files? How about CSS declarations for ID's and Classes that don't even exist in the site?
It seems like there might be a way to just spider the site, profile it, and see which images and styles are never loaded. | html | css | null | null | null | null | open | How can I find unused images and CSS styles in a website?
===
Is there a tool or methodology (other than trial and error) I can use to find unused image files? How about CSS declarations for ID's and Classes that don't even exist in the site?
It seems like there might be a way to just spider the site, profile it, a... | 0 |
33,250 | 08/28/2008 19:58:10 | 91 | 08/01/2008 17:55:22 | 4,923 | 231 | Caching Active Directory Data | In one of my applications, I am querying active directory to get a list of all users below a given user (using the "Direct Reports" thing). So basically, given the name of the person, it is looked up in AD, then the Direct Reports are read. But then for every direct report, the tool needs to check the direct reports of... | c# | asp.net | activedirectory | null | null | null | open | Caching Active Directory Data
===
In one of my applications, I am querying active directory to get a list of all users below a given user (using the "Direct Reports" thing). So basically, given the name of the person, it is looked up in AD, then the Direct Reports are read. But then for every direct report, the tool n... | 0 |
33,252 | 08/28/2008 19:58:58 | 1,143 | 08/12/2008 18:58:24 | 569 | 41 | Getting files and their version numbers from sharepoint | As a temporary stopgap until all the designers are in place we are currently hand-cranking a whole bunch of xml configuration files at work. One of the issues with this is file-versioning because people forget to update version numbers when updating the files (which is to be expected as humans generally suck at perfect... | sharepoint | versioning | null | null | null | null | open | Getting files and their version numbers from sharepoint
===
As a temporary stopgap until all the designers are in place we are currently hand-cranking a whole bunch of xml configuration files at work. One of the issues with this is file-versioning because people forget to update version numbers when updating the files... | 0 |
33,262 | 08/28/2008 20:03:19 | 338 | 08/04/2008 18:34:44 | 567 | 46 | How do I load an org.w3c.dom.Document from XML in a string? | I have a complete XML document in a string and would like a `Document` object. Google turns up all sorts of garbage. What is the simplest solution? (In Java 1.5) | java | xml | w3c | document | null | null | open | How do I load an org.w3c.dom.Document from XML in a string?
===
I have a complete XML document in a string and would like a `Document` object. Google turns up all sorts of garbage. What is the simplest solution? (In Java 1.5) | 0 |
33,263 | 08/28/2008 20:05:19 | 83 | 08/01/2008 16:31:56 | 941 | 77 | How do I best handle role based permissions using Forms Authentication on my ASP.NET web application? | I'm using the [ASP.NET Login Controls][1] and [Forms Authentication][2] for membership/credentials for an ASP.NET web application.
I've got two roles:
- Users
- Administrators
I want pages to be viewable by four different groups:
- Everyone *(Default, Help)*
- Anonymous *(CreateUser, Login, Passwo... | asp.net | forms-authentication | null | null | null | null | open | How do I best handle role based permissions using Forms Authentication on my ASP.NET web application?
===
I'm using the [ASP.NET Login Controls][1] and [Forms Authentication][2] for membership/credentials for an ASP.NET web application.
I've got two roles:
- Users
- Administrators
I want pages to be view... | 0 |
33,264 | 08/28/2008 20:05:23 | 2,644 | 08/23/2008 21:56:47 | 319 | 32 | Book recommendation for Haskell? | I would like to start Haskell, just out of curiosity.
What books do you recommend? | books | haskell | null | null | null | 09/17/2011 21:59:41 | not constructive | Book recommendation for Haskell?
===
I would like to start Haskell, just out of curiosity.
What books do you recommend? | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.